Skip to content
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

Ubuntu 20.04 + RTX 4090 (rented container) - Unlucky or bug? #6

Closed
Sayrix opened this issue May 19, 2024 · 9 comments
Closed

Ubuntu 20.04 + RTX 4090 (rented container) - Unlucky or bug? #6

Sayrix opened this issue May 19, 2024 · 9 comments

Comments

@Sayrix
Copy link

Sayrix commented May 19, 2024

Hi, i've rented a docker container with Ubuntu 20.04 and a RTX 4090 and it works pretty well! 66 MH/s is HUGE but, i think that it's useless with what i want. I tried for more than 20 minutes to find an address that starts with 6 letter, so 586 and at 66 MH/s it should take about 576 seconds so ~11 minutes. So after 20 minutes i where thinking if it's me that is unlucky or a bug. So what i did is trying with 5 letters which should take about 9 seconds, but after easily 1 minute nothing found. I tried with 4 letters and it found it instantly, is it me that is unlucky or a bug ?

@Sayrix Sayrix changed the title Ubuntu 20.04 + RTX 4090 (Runpod.io) - Unlucky or bug? Ubuntu 20.04 + RTX 4090 (rented container) - Unlucky or bug? May 19, 2024
@Sayrix
Copy link
Author

Sayrix commented May 19, 2024

By the way, i've rented multiple instances to try multiple GPU hashrate, here is my result:

GPU Hashrate
RTX 3080 23 MH/s
RTX 3090 27 MH/s
RTX 3080 Ti 28 MH/s
RTX 4070 Ti 31 MH/s
RTX 4090 66 MH/s

@WincerChan
Copy link
Owner

Actually, the number of attempts required to find a Solana address with a specific 6-letter prefix is not simply 58^6. Solana uses ed25519 for private and public key generation.

In ed25519, all inputs are processed by a SHA-512 operation, which introduces high randomness. This causes the input to the elliptic curve to be discontinuous, making the output discontinuous as well.

@Sayrix
Copy link
Author

Sayrix commented May 19, 2024

Oh okay, i will try to run it for 2 hours @ 23 MH/s i don't know if it will be enough

@Sayrix
Copy link
Author

Sayrix commented May 19, 2024

Okay so 2 hours later still nothing found. I don't know if it's me that is unlucky or if it's a bug 😔

@Sayrix
Copy link
Author

Sayrix commented May 19, 2024

Hi i think there is a CPU bottleneck because the program is single threaded and uses 100% of 1 core, so here is a feature request: multithread the program maybe it will make the program more faster

@WincerChan
Copy link
Owner

Okay so 2 hours later still nothing found. I don't know if it's me that is unlucky or if it's a bug 😔

screenshot

I ran it for 2 hours at 30 MH/s and it found an address with a 6-letter prefix.

@WincerChan
Copy link
Owner

Hi i think there is a CPU bottleneck because the program is single threaded and uses 100% of 1 core, so here is a feature request: multithread the program maybe it will make the program more faster

Actually, this is a known issue when running OpenCL on Nvidia GPUs. You can check the details here: openwall/john#4781.
However, if you use an AMD GPU or an ARM64 Darwin system, the CPU usage is fine. The CPU will not be a bottleneck here.

@Sayrix
Copy link
Author

Sayrix commented May 20, 2024

Oh ok, so there is no solution to it, you can't multi-thread the task ? And by the way, i found 2x 6 letter address but after easily 5-6 hours at 66 MH/s

@WincerChan
Copy link
Owner

Oh ok, so there is no solution to it, you can't multi-thread the task ? And by the way, i found 2x 6 letter address but after easily 5-6 hours at 66 MH/s

I am planning to add support for multiple GPUs. Only in multi-GPU setups does supporting CPU multiprocessing make sense, because in the case of Nvidia GPUs, each GPU fully utilizes one CPU core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants