keyhunt icon indicating copy to clipboard operation
keyhunt copied to clipboard

Server Functionality

Open yoyodapro opened this issue 4 years ago • 8 comments

Hey Luis, has there been any progress towards including a server for Keyhunt?

yoyodapro avatar Aug 02 '21 19:08 yoyodapro

Do you want the server to record progress? If you have bsgs search installed in random mode, then recording progress is pointless, since the server will have to save all the generated keys. Can you imagine how many terabytes the database will be in a day of work if one full key takes about 64 bytes ? 1,000,000,000,000,000 keys x64bytes=64,000,000,000,000,000 bytes.Even if you take one 120 range key without leading zeros, the key will take about 30 bytes.

dem10 avatar Aug 03 '21 09:08 dem10

I want it to distribute work and record baby steps completed in sequential mode. if a key is found by one of the clients then it will be reported to the server. every individual key does not need to be recorded.

yoyodapro avatar Aug 03 '21 14:08 yoyodapro

if the server keeps track of the ranges issued to the workers and records completed ranges only that would be better.

yoyodapro avatar Aug 03 '21 14:08 yoyodapro

There are 664613997892457936451903530140172287 keys in the 120 range.There will be too many subranges. 664,613,997,892,457,936,451,903,530,140,172,287 keys 120bit range 1,000,000,000,000,000,000 keys/s(1 ExaKeys) For example, the speed of your pool. You need 664,613,997,892,457,936 seconds to scan the full 120 range. People hope for luck in a random search.A pool is not needed for a random search.

dem10 avatar Aug 03 '21 17:08 dem10

im currently getting in the range of ~900 Exakeys/s across my threadrippers using 90% of all their cores, wanted to link them together somehow.

yoyodapro avatar Aug 03 '21 19:08 yoyodapro

The speed is great, but it won't make much of a difference in time, and it will take you ~21074771 years to get through the full 120 range.Even if you divide the 120 range into 7 parts, you will not be able to complete 1 sub-range.Divide the range yourself into 7 parts and let each machine search randomly in its own sub-range.There is nothing difficult about this, you have 8 symbols and 7 sub-ranges.Symbols-8, 9, А, B, C, D, E, F.So the sub-ranges look like this ...

  1. 800000000000000000000000000000:8FFFFFFFFFFFFFFFFFFFFFFFFFFFFF
  2. 900000000000000000000000000000:9FFFFFFFFFFFFFFFFFFFFFFFFFFFFF And so on until F00000000000000000000000000000:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF just use the -r(range) flag instead of the -b 120 flag. Example -r 800000000000000000000000000000:8FFFFFFFFFFFFFFFFFFFFFFFFFFFFF

dem10 avatar Aug 04 '21 05:08 dem10

im currently getting in the range of ~900 Exakeys/s across my threadrippers using 90% of all their cores, wanted to link them together somehow.

Nice speed, how much memory are you using, and what version of keyhunt are you using?

The speed is great, but it won't make much of a difference in time, and it will take you ~21074771 years to get through the full 120 range.

Yes, that is right here are the times to solve the puzzle 120:

Puzzle 120 @ 1 Megakeys/s  (10^6):      21074771622667996462833 years
Puzzle 120 @ 1 Gigakeys/s  (10^9):      21074771622667996462 years
Puzzle 120 @ 1 Terakeys/s  (10^12):     21074771622667996 years
Puzzle 120 @ 1 Petakeys/s  (10^15):     21074771622667 years
Puzzle 120 @ 1 Exakeys/s  (10^18):      21074771622 years
Puzzle 120 @ 1 Zettakeys/s  (10^21):    21074771 years
Puzzle 120 @ 1 Yottakeys/s  (10^24):    21074 years

Hey Luis, has there been any progress towards including a server for Keyhunt? I'm still working on it, but it some slow, first i need to solve some bugs, implement the range tracking, and also implement a new update to the BSGS algorithm to get 10x more speed.

But this is a hobby for me and i don't want to get stress by this.

albertobsd avatar Oct 04 '21 15:10 albertobsd

im currently getting in the range of ~900 Exakeys/s across my threadrippers using 90% of all their cores, wanted to link them together somehow.

it cant be , as you must be using wrong K , i have experienced it and first try to do test with 120 known key , you will never find it in define range as speed is wrong and missing hits as well.

i did test and after 1 month i come to know speed is false and later i fix it by using optimal k and n value.

thanks me later

edit : i believe you will have 256gb as cpu and board can only support 256 unless you are using server one which can support 2tb. perhaps with server TP you can achieve that speed but must do the test before.

nft30001 avatar Oct 19 '21 14:10 nft30001

I am about to finish some BSGS server that work on demand.

Check my dashboard or pendings

https://trello.com/b/GXBPiBCM/keyhunt

albertobsd avatar May 19 '23 00:05 albertobsd

Sounds good! if you need any testing done let me know

yoyodapro avatar May 19 '23 00:05 yoyodapro

test if you want

https://github.com/albertobsd/keyhunt/blob/main/BSGSD.md

albertobsd avatar May 30 '23 05:05 albertobsd