btcrecover icon indicating copy to clipboard operation
btcrecover copied to clipboard

Just 20 kP/s with 4x1080 Ti

Open kys86468 opened this issue 7 years ago • 10 comments

Hello.

Initial data: Bitcoin core wallet btcrecover.py --wallet wallet.dat --performance --enable-gpu --global-ws 131072 --local-ws 1024 Starting btcrecover 0.17.8 on Python 2.7.14 64-bit, 16-bit unicodes, 32-bit ints btcrecover.py: warning: --performance without --no-dupchecks will eventually cause an out-of-memory error Wallet difficulty: 211,554 SHA-512 iterations Using 4 OpenCL devices: GPU GeForce GTX 1080 Ti GPU GeForce GTX 1080 Ti GPU GeForce GTX 1080 Ti GPU GeForce GTX 1080 Ti / 2621440 elapsed: 0:02:15 rate: 19.41 kP/s

I read that it's possible to have about 25 kP/s from each GPU. What I do wrong?

kys86468 avatar Oct 21 '17 12:10 kys86468

211,554 SHA-512 iterations

That is a lot if memory serves me correct.. try with local 256 aswell though.

Could be your CPU bottlenecking.

kost123 avatar Oct 21 '17 18:10 kost123

That's considerable better than the 1.85 kP/s I can get on my single R9 390 with the same iteration count (and as @kost123 said, the iteration count is a bit on the high side - it means the wallet was created on a reasonably fast PC, and will be slower to try passwords against).

If you use only one GPU, is the speed reduced to about one quarter (add the --gpu-names 1080 option to limit btcrecover to just one)? If so, then everything is probably working as intended.

gurnec avatar Oct 24 '17 16:10 gurnec

Didn't see this post, by the way this is my my config, been try --global-ws 262144 and some other lower setting but only get around 13.3 kP/s, --global-ws 200704 --local-ws 1024 is the best setting I found so far.

19.41 kP/s with 4 cards seem way too low.

C:\Python27>python btcrecover.py --wallet wallet.dat --enable-gpu --global-ws 200704 --local-ws 1024 --tokenlist tokens.txt --no-dupchecks --no-eta --max-tokens 12 --autosave savefile Starting btcrecover 0.17.9 on Python 2.7.14 64-bit, 16-bit unicodes, 32-bit ints Using autosave file 'savefile' Wallet difficulty: 78,362 SHA-512 iterations Using OpenCL GPU GeForce GTX 1080 Ti | 944914432 elapsed: 18:01:44 rate: 14.56 kP/s

Chococat avatar Oct 29 '17 16:10 Chococat

Tried your settings. Now it's 1kP/s passwords more - 20.6 But I think it's because I have wallet difficulty: 211,554 SHA-512 iterations, and you just 78,362 SHA-512 iterations

kys86468 avatar Oct 30 '17 18:10 kys86468

More 1kp still nice anyway, and ya, my wallet made long time ago, since 2014 - by the way with that wallet and two 1080 Ti:

python btcrecover.py --wallet wallet.dat --enable-gpu --gpu-names 1 2 --global-ws 200704 199680 --local-ws 1024 1024 --tokenlist tokens.txt --no-dupchecks --no-eta --max-tokens 12 --autosave savefile Starting btcrecover 0.17.9 on Python 2.7.14 64-bit, 16-bit unicodes, 32-bit ints Using autosave file 'savefile' Wallet difficulty: 78,362 SHA-512 iterations Using 2 OpenCL devices: GPU GeForce GTX 1080 Ti GPU GeForce GTX 1080 Ti | 1376026624 elapsed: 16:33:51 rate: 24.41 kP/s

Chococat avatar Oct 31 '17 07:10 Chococat

@Chococat Can you try a btc core wallet with ~55k SHA512 for a speed comparison? ...thinking of snagging some 1080s for a job. If possible speeds for 1 and both. If your bored, a 105k SHA512 wallet too =) Thanks!

rterwedo avatar Nov 17 '17 06:11 rterwedo

FYI an easy way to "create" a wallet for testing different iteration counts is to grab the bitcoincore-pywallet-dumpwallet.txt wallet file from this directory and change this line to whatever you'd like to test.

gurnec avatar Nov 17 '17 14:11 gurnec

In case someone is reading this later... with 2 overclocked 1080 Ti SC2s, on a wallet of 55k SHA256 iterations. Its ~37k (pypy)-42k / sec (pregen pwd list).

rterwedo avatar Dec 12 '17 14:12 rterwedo

what about running it on a 16core 32 thread..what speed will i get?

marfalz avatar Jul 15 '20 09:07 marfalz

was there a fix for this as with 4x3090s im getting rate: 12.41 kP/s

Wallet Type: btcrpass.WalletBitcoinCore Wallet difficulty: 25,000 SHA-512 iterations 2022-10-29 03:20:20 : Using 4 OpenCL devices: ALL | GPU NVIDIA GeForce RTX 3090 ALL | GPU NVIDIA GeForce RTX 3090 ALL | GPU NVIDIA GeForce RTX 3090 ALL | GPU NVIDIA GeForce RTX 3090 \ 3129344 elapsed: 0:03:48 rate: 13.72 kP/s python btcrecover.py --wallet doge.dat --enable-gpu --global-ws 4096 --local-ws 256 --tokenlist tokens.txt --no-dupchecks --no-eta --enable-opencl

mikejnpc avatar Oct 29 '22 10:10 mikejnpc