-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speed on Laptop RTX 2060 #16
Comments
I tried the original profanity tool and it runs at around 200 MH/s |
@stevealexrs : it seems he is using 32 bits integers for his multiprecision arithmetics. And in a naïve alghoritmic way (compared to ɢᴍᴘ on ᴄᴘᴜ). |
After troubleshooting for a while, the speed doesn't even appear anymore. The fan is running but the progress bar isn't there. I removed all files and clone the repo again but the problem persists. I am using Windows and it requires to 2 changes to compile. The unsigned int and removing the whole CL_DEVICE_TOPOLOGY_AMD block in getUniqueDeviceIdentifier. It doesn't work in my dual boot ubuntu linux too. Someone With Linux |
@stevealexrs : Windows is a different ᴀʙɪ even compared to Linux vs Osx. I think ints are 16‑bits… I have a running Linux binary that detects nothing : even with the command line of the Readme. We don’t even know the OpenCl version being used as it needs to be declared outside Apple. A compiler warning is generated for OpenCl version 3 but it states that it should be declared. |
This progress bar is shown on Windows on my first run. My laptop has a mux switch that let me choose between dGPU or both iGPU and dGPU (hybrid mode). The original setting was hybrid mode. Later I switched to dGPU only mode to see if the performance is different. Then I switched back to hybrid mode but the progress bar disappeared. It reappeared after I switched to dGPU only mode again. Weird bug. |
No. you ll just switch to a gpu where memory wasn t initialized (initialization step). |
I use --skip arg when there are 2 gpu.
while this brute force tool prints the same thing minus last line Total: 195.446 MH/s - GPU1: 195.446 MH/s and stops. Maybe skip arg is somehow broken under certain condition. |
I figure out the cause of this bug, the author changed the printSpeed() code quite a bit and it skips GPU with m_index = 0(why??). Initially my nvidia GPU was index 0, intel GPU was index 1, that's why the speed is shown, then at some point intel becomes GPU0 and nvidia becomes GPU1. Not sure the exact flow but it works after I remove the skip code. |
Please submit a pull request. |
Not sure if there is any side effect, I will wait until I successfully run the whole thing. It will take me around 80 hours to run all 8 batches with default options. I don't understand why rtx 2060(mobile) is so slow compared to apple m1 pro. The author says it took him 26 mins to brute force his friend key. |
Apple silicon mac gpu uses unified memory while Nvidia dGPU uses external memory (dedicated is 6GB only). Is it possible this slow it down? |
Not sure it uses Unified Memory. For those type of devices, while the memory is shared physically it s partitionned at the firmware level (on Intel you can even configure the split). |
Back to the original issue, I may found why or an additional problem. Doesn’t this profanity-brute-force/profanity.cpp Line 20 in b4e9356
No idea on how to fix it though… |
Is it normal that it runs at around 2 MH/s on RTX 2060 Laptop? I use the default option on README.
The text was updated successfully, but these errors were encountered: