iceland2k14 / bsgs

Find PrivateKey of corresponding Pubkey(s) using BSGS algo
MIT License
109 stars 59 forks source link

Bllom filter creates so slow ? #34

Closed Manosuper closed 2 years ago

Manosuper commented 3 years ago

Good day Iceland !!!

Thank you for you soft !!!

Iceland, the I use /python v5_secp256k1_bloom_dll/bPfile_2_bloom_dll_batch.py bpfile.bin bloomfile.bin blomfilters creates with speed only 1 thread, so for 22000 chunks for 22000000000 bpeliments, speed is only 3000 chunks in 6 hours !!!! This is normal ?

Then I use a https://github.com/iceland2k14/bsgs/tree/main/v6_dll_bsgs he work in 1 thread too, and make a bPfile size downgrade from 320Gbit to 3,2Gb only this is normal ?

How to spped up creatind of bloom filter ?

p.s. I'm work in linux ubuntu. I windows is I have no succes of run scrypts unfortunately.

Regard

iceland2k14 commented 3 years ago

Upto v5 the bloom creation is 1 thread only and it is slow than v6. v6 does bpfile and bloomfile together. So we don't need big bPfiles after the full bloom. it is multicpu but the effect of changing the bits for each hash in each loop on the same big array of bytes, it still appears just 1 cpu, currently. So use v6 only, it is better.

Manosuper commented 3 years ago

Iceland v6 for me work only on 1 cpu from 8 and more. This is normal ?

Screen of work hybrid realise with 256 pubkeys - https://ibb.co/sPM0YDD only 1 cpu is loaded !!!

Can you modify code for load all cores and cpu please ?