Kangaroo vs keyhunt BSGS showdown

10 replies 79 views
lonevectorFull Member
Posts: 72 · Reputation: 409
#1Sep 24, 2023, 12:10 AM
Hey everyone, how do we actually stack up the performance and hit rates of these two tools? What does it all mean in practice? For instance: - we fire up Kangaroo in multi-GPU mode using several modern graphics cards, and we’re hitting a speed of about 15 GKey/s - we run keyhunt in BSGS mode on 8 CPU threads with around 16GB RAM and are seeing around 80 PKey/s. So, is using Kangaroo with multiple GPUs really a better choice? Is it more likely to give us a hit, despite keyhunt on CPU cranking out 80 PKey/s? With those numbers, you might assume keyhunt is way better at 80 PKey/s, right? But is that really the case, or can we not even compare these two setups and the speeds don’t really help us much?
6 Reply Quote Share
Posts: 4 · Reputation: 90
#2Sep 24, 2023, 12:52 AM
These are completely different algorithms and it is incorrect to compare them by the numbers shown. A properly tuned kangaroo will always run faster than BSGS. However, the main difference is that if the BSGS did not find the key and finished work, then you can be sure that the key is not in the given interval. Kangaroo is a probabilistic algorithm, and you cannot be sure that there is no key in interval, even if the kangaroo has completed the estimated number of operations.
2 Reply Quote Share
gw3i1337Full Member
Posts: 148 · Reputation: 495
#3Sep 26, 2023, 10:43 AM
That's true, but: 1) I would rather say the biggest difference is in resources needed, as BSGS requires much more memory 2) Kangaroo is "probabilistic", but with a big enough amount of work done, the chances for a final result are very close to 100%. That's well described on JLP program's page.
6 Reply Quote Share
lonevectorFull Member
Posts: 72 · Reputation: 409
#4Sep 26, 2023, 08:43 PM
Thanks for your replies so far. So, as already suspected, no direct comparison is possible. If you could only use one of these two rigs, would you decide for the long-term use of Kangaroo or rather Keyhunt/BSGS ? Both examples are running on the same puzzle Kangaroo: Keyhunt/BSGS: ? how would you decide, which way to go ?
1 Reply Quote Share
LuckyCoinLegendary
Posts: 832 · Reputation: 4795
#5Sep 26, 2023, 11:10 PM
With that kind of speed, people would've solved a ton of puzzles with keyhunt by now, but my suspicion is that it searches in too many wrong ranges, and that could be why its hit rate is not so successful.
3 Reply Quote Share
lonevectorFull Member
Posts: 72 · Reputation: 409
#6Sep 28, 2023, 12:18 PM
is there anything I can do to mitigate this? AlbertoBSD (author of keyhunt) explains the details about speed rate measurement HERE.
6 Reply Quote Share
LuckyCoinLegendary
Posts: 832 · Reputation: 4795
#7Sep 28, 2023, 01:50 PM
Considering that in most other brute-force types, even a couple MKey/s can break small ranges, I have a feeling that the speed needs to be deflated by 100,000x in order to make a fair comparison with the other algos. Show me a CPU capable of 10 Petahertz/second and I will show you a ton of hacked websites with broken TLS ciphers.
4 Reply Quote Share
lonevectorFull Member
Posts: 72 · Reputation: 409
#8Sep 28, 2023, 06:18 PM
absolutely agree!!
4 Reply Quote Share
nova07Member
Posts: 1 · Reputation: 115
#9Sep 28, 2023, 09:20 PM
Hi, I know this is an old thread but I was wondering what GPU you are getting 15.6 GK/s with? Is there a current list of GPUs w/ associated Kangaroo key speeds somewhere? Thanks!
5 Reply Quote Share
Posts: 2 · Reputation: 102
#10Sep 28, 2023, 10:20 PM
How much RAM needed for BSGS algorithm to solve 130-bit puzzle?
5 Reply Quote Share
GigaCoinMember
Posts: 40 · Reputation: 227
#11Sep 29, 2023, 01:57 AM
First of all, luck, but it requires 1000s of terabytes, yes, you heard right, thousands of terabytes. 1.5 terabytes= 60 Exakeys =very low Understand Me!
2 Reply Quote Share

Related topics