nomachine
|
 |
March 24, 2025, 09:35:00 AM |
|
I will release an optimized version of the program during the day. After that, I will optimize sha256_avx2.cpp and ripemd160_avx2.cpp as well. Then, I will optimize SECP256K1. This is just the beginning. It will never run as fast as a GPU, but on a 128-core CPU with AVX-512 and Clang, it will come very close. 
|
BTC: bc1qdwnxr7s08xwelpjy3cc52rrxg63xsmagv50fa8
|
|
|
Akito S. M. Hosana
Jr. Member
Offline
Activity: 392
Merit: 8
|
 |
March 24, 2025, 09:51:21 AM |
|
This is just the beginning.
Can you make a GPU version right away, or is it pointless? I don't have a 128-core CPU—that's science fiction to me.
|
|
|
|
nomachine
|
 |
March 24, 2025, 10:10:47 AM Last edit: March 24, 2025, 10:24:37 AM by nomachine |
|
This is just the beginning.
Can you make a GPU version right away, or is it pointless? I don't have a 128-core CPU—that's science fiction to me. Who knows how long this will take, maybe months, depending on my available time. For now, I’ve kept the scalar implementation because the ModSub operation is non-trivial to vectorize, and the primary bottleneck is likely elsewhere (probably in the hash computations). My plan is to modify the Int class to support SIMD operations and then carefully implement modular arithmetic for SECP256K1 using SIMD.
|
BTC: bc1qdwnxr7s08xwelpjy3cc52rrxg63xsmagv50fa8
|
|
|
kTimesG
|
 |
March 24, 2025, 10:12:15 AM |
|
I will release an optimized version of the program during the day. After that, I will optimize sha256_avx2.cpp and ripemd160_avx2.cpp as well. Then, I will optimize SECP256K1. This is just the beginning. It will never run as fast as a GPU, but on a 128-core CPU with AVX-512 and Clang, it will come very close.  RTX 4090: 7000 MH/s @ 450 W (no overclocking) "Very close":  @  W
|
Off the grid, training pigeons to broadcast signed messages.
|
|
|
E36cat
Newbie
Offline
Activity: 45
Merit: 0
|
 |
March 24, 2025, 10:17:01 AM |
|
Prefix length : 6 bytes Private Key : 00000000000000000000000000000000000000000000000C04673D8F26342B51 Public Key : 03D85C9727B7190872DF6869ED1D570A4489E3DB67D4E3B5817E1DD34B14CA936C Found Hash160 : e0b8a2baee1b7496fe8a738563b458763bccbb5e Target Hash160: e0b8a2baee1b77fc703455f39d51477451fc8cfc Matched bytes : e0b8a2baee1b
|
|
|
|
Akito S. M. Hosana
Jr. Member
Offline
Activity: 392
Merit: 8
|
 |
March 24, 2025, 10:32:09 AM |
|
RTX 4090
Keep your fantasies for your wallet. An RTX 4090 feels like science fiction to me too. We need a budget-friendly script—something optimized for a more affordable setup. It shouldn't require a 128-core CPU, but it also shouldn't be tailored specifically for an RTX 4090 GPU.
|
|
|
|
nomachine
|
 |
March 24, 2025, 10:37:58 AM |
|
budget-friendly script—something optimized for a more affordable setup.
And if possible, don’t move from your comfortable chair and have everything served on a plate. I know. 
|
BTC: bc1qdwnxr7s08xwelpjy3cc52rrxg63xsmagv50fa8
|
|
|
kTimesG
|
 |
March 24, 2025, 11:43:16 AM |
|
RTX 4090
Keep your fantasies for your wallet. An RTX 4090 feels like science fiction to me too. We need a budget-friendly script—something optimized for a more affordable setup. It shouldn't require a 128-core CPU, but it also shouldn't be tailored specifically for an RTX 4090 GPU. So it costs you less to compute same amount of hashes using more power (like, 6 to 7 times more)? You're basically saying that electricity is less expensive if it powers a CPU. Or that it's more expensive if it powers a GPU. I wonder what your power provider has to say about that. You can find the science-fiction movie on vast.ai, if you actually want more bangs for a buck, no need to empty your wallet on buying an expensive device and etc. I don't even own a desktop computer anymore. The wallet will empty anyway once your home's energy bill comes out.
|
Off the grid, training pigeons to broadcast signed messages.
|
|
|
gians82
Newbie
Offline
Activity: 22
Merit: 0
|
 |
March 24, 2025, 12:25:27 PM |
|
Prefix length : 6 bytes Private Key : 00000000000000000000000000000000000000000000000C04673D8F26342B51 Public Key : 03D85C9727B7190872DF6869ED1D570A4489E3DB67D4E3B5817E1DD34B14CA936C Found Hash160 : e0b8a2baee1b7496fe8a738563b458763bccbb5e Target Hash160: e0b8a2baee1b77fc703455f39d51477451fc8cfc Matched bytes : e0b8a2baee1b
pure coincidence, for me the key is in the E range
|
|
|
|
|
|
E36cat
Newbie
Offline
Activity: 45
Merit: 0
|
 |
March 24, 2025, 02:22:26 PM |
|
Prefix length : 6 bytes Private Key : 00000000000000000000000000000000000000000000000C04673D8F26342B51 Public Key : 03D85C9727B7190872DF6869ED1D570A4489E3DB67D4E3B5817E1DD34B14CA936C Found Hash160 : e0b8a2baee1b7496fe8a738563b458763bccbb5e Target Hash160: e0b8a2baee1b77fc703455f39d51477451fc8cfc Matched bytes : e0b8a2baee1b
pure coincidence, for me the key is in the E range Prefix length : 6 bytes Private Key : 00000000000000000000000000000000000000000000000D025D44ECC6F72944 Public Key : 033035F97FE40FD9EFD02DF1D535936F2AE8E3D2C7710A49A5A24DA53BDB5474CC Found Hash160 : e0b8a2baee1b2c593aad750d6a310372b0bbc2be Target Hash160: e0b8a2baee1b77fc703455f39d51477451fc8cfc Matched bytes : e0b8a2baee1b
|
|
|
|
Denevron
Newbie
Offline
Activity: 115
Merit: 0
|
 |
March 24, 2025, 02:42:05 PM |
|
Can I write you a private message? I wanted to ask something
|
|
|
|
mcdouglasx
|
 |
March 24, 2025, 03:24:47 PM |
|
You can find the science-fiction movie on vast.ai, if you actually want more bangs for a buck, no need to empty your wallet on buying an expensive device and etc. I don't even own a desktop computer anymore. The wallet will empty anyway once your home's energy bill comes out.
Again with your biased opinions, you always assume too much. There are many countries with abundant resources where electricity hovers around $0.05 per kWh, so generalizing and assuming that everyone here is from a country where electricity is a problem is a huge bias, considering there are people from all over the world here.
|
▄▄█████████████████▄▄ ▄█████████████████████▄ ███▀▀█████▀▀░░▀▀███████ ███▄░░▀▀░░▄▄██▄░░██████ █████░░░████████░░█████ ████▌░▄░░█████▀░░██████ ███▌░▐█▌░░▀▀▀▀░░▄██████ ███░░▌██░░▄░░▄█████████ ███▌░▀▄▀░░█▄░░█████████ ████▄░░░▄███▄░░▀▀█▀▀███ ██████████████▄▄░░░▄███ ▀█████████████████████▀ ▀▀█████████████████▀▀ | Rainbet.com CRYPTO CASINO & SPORTSBOOK | | | █▄█▄█▄███████▄█▄█▄█ ███████████████████ ███████████████████ ███████████████████ █████▀█▀▀▄▄▄▀██████ █████▀▄▀████░██████ █████░██░█▀▄███████ ████▄▀▀▄▄▀███████ █████████▄▀▄███ █████████████████ ███████████████████ ███████████████████ ███████████████████ | | | |
▄█████████▄ █████████ ██ ▄▄█░▄░▄█▄░▄░█▄▄ ▀██░▐█████▌░██▀ ▄█▄░▀▀▀▀▀░▄█▄ ▀▀▀█▄▄░▄▄█▀▀▀ ▀█▀░▀█▀
| 10K WEEKLY RACE | | 100K MONTHLY RACE | | | ██
█████
| ███████▄█ ██████████▄ ████████████▄▄ ████▄███████████▄ ██████████████████▄ ░▄█████████████████▄ ▄███████████████████▄ █████████████████▀████ ██████████▀███████████ ▀█████████████████████ ░████████████████████▀ ░░▀█████████████████▀ ████▀▀██████████▀▀ | ████████ ██████████████ |
|
|
|
AndrewWeb
Jr. Member
Offline
Activity: 77
Merit: 3
|
 |
March 24, 2025, 03:51:56 PM |
|
|
|
|
|
kTimesG
|
 |
March 24, 2025, 03:52:28 PM |
|
You can find the science-fiction movie on vast.ai, if you actually want more bangs for a buck, no need to empty your wallet on buying an expensive device and etc. I don't even own a desktop computer anymore. The wallet will empty anyway once your home's energy bill comes out.
Again with your biased opinions, you always assume too much. There are many countries with abundant resources where electricity hovers around $0.05 per kWh, so generalizing and assuming that everyone here is from a country where electricity is a problem is a huge bias, considering there are people from all over the world here. That's not what I said. The fact that a GPU computes a magnitude of order more hashes/s than an equivalent amount of CPUs, for the same power consumption on both options, is not a personal opinion, or bias as you call it. The price/kWH is irrelevant for this comparison. It's the same reason why no one mines BTC using a GPU anymore, because ASICs are tons more efficient than a GPU, just like a GPU is tons more efficient than a CPU. No one says you can't mine BTC with a CPU, GPU, or even on a napkin if you're fast enough, though good luck with all of those.
|
Off the grid, training pigeons to broadcast signed messages.
|
|
|
mjojo
Newbie
Offline
Activity: 77
Merit: 0
|
 |
March 24, 2025, 04:01:10 PM |
|
Jan 2016 - Jan 2024 = 200 pages Jan 2024 - March 2025 = 213 pages Total 413 pages Imagine if BTC reach above USD 150K 
|
|
|
|
mcdouglasx
|
 |
March 24, 2025, 04:05:29 PM |
|
You can find the science-fiction movie on vast.ai, if you actually want more bangs for a buck, no need to empty your wallet on buying an expensive device and etc. I don't even own a desktop computer anymore. The wallet will empty anyway once your home's energy bill comes out.
Again with your biased opinions, you always assume too much. There are many countries with abundant resources where electricity hovers around $0.05 per kWh, so generalizing and assuming that everyone here is from a country where electricity is a problem is a huge bias, considering there are people from all over the world here. That's not what I said. The fact that a GPU computes a magnitude of order more hashes/s than an equivalent amount of CPUs, for the same power consumption on both options, is not a personal opinion, or bias as you call it. The price/kWH is irrelevant for this comparison. It's the same reason why no one mines BTC using a GPU anymore, because ASICs are tons more efficient than a GPU, just like a GPU is tons more efficient than a CPU. No one says you can't mine BTC with a CPU, GPU, or even on a napkin if you're fast enough, though good luck with all of those. I talked about this because I've often seen you bringing up electricity costs as an issue, generalizing. The wallet will empty anyway once your home's energy bill comes out.
Regarding the other thing, you're absolutely right.
|
▄▄█████████████████▄▄ ▄█████████████████████▄ ███▀▀█████▀▀░░▀▀███████ ███▄░░▀▀░░▄▄██▄░░██████ █████░░░████████░░█████ ████▌░▄░░█████▀░░██████ ███▌░▐█▌░░▀▀▀▀░░▄██████ ███░░▌██░░▄░░▄█████████ ███▌░▀▄▀░░█▄░░█████████ ████▄░░░▄███▄░░▀▀█▀▀███ ██████████████▄▄░░░▄███ ▀█████████████████████▀ ▀▀█████████████████▀▀ | Rainbet.com CRYPTO CASINO & SPORTSBOOK | | | █▄█▄█▄███████▄█▄█▄█ ███████████████████ ███████████████████ ███████████████████ █████▀█▀▀▄▄▄▀██████ █████▀▄▀████░██████ █████░██░█▀▄███████ ████▄▀▀▄▄▀███████ █████████▄▀▄███ █████████████████ ███████████████████ ███████████████████ ███████████████████ | | | |
▄█████████▄ █████████ ██ ▄▄█░▄░▄█▄░▄░█▄▄ ▀██░▐█████▌░██▀ ▄█▄░▀▀▀▀▀░▄█▄ ▀▀▀█▄▄░▄▄█▀▀▀ ▀█▀░▀█▀
| 10K WEEKLY RACE | | 100K MONTHLY RACE | | | ██
█████
| ███████▄█ ██████████▄ ████████████▄▄ ████▄███████████▄ ██████████████████▄ ░▄█████████████████▄ ▄███████████████████▄ █████████████████▀████ ██████████▀███████████ ▀█████████████████████ ░████████████████████▀ ░░▀█████████████████▀ ████▀▀██████████▀▀ | ████████ ██████████████ |
|
|
|
pbies
|
 |
March 24, 2025, 05:48:38 PM |
|
@nomachine
For my local 9950X and 16 threads I am getting ~100 Mkeys/s.
For vast.ai server with AMD EPYC 7642 48-Core 186 threads (up to 192) I am getting 222 Mkeys/s.
Seems like for greater number of threads it is not working properly.
I would expect much more keys/s.
|
BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k
|
|
|
nomachine
|
 |
March 24, 2025, 06:41:14 PM |
|
@nomachine
For my local 9950X and 16 threads I am getting ~100 Mkeys/s.
For vast.ai server with AMD EPYC 7642 48-Core 186 threads (up to 192) I am getting 222 Mkeys/s.
Seems like for greater number of threads it is not working properly.
I would expect much more keys/s.
I am currently using and testing AVX-256, and it is slower than AVX-512 by half. The AVX-256 workload here can cause the CPU to downclock significantly, which might negate the performance gains from vectorization. The CPU is throttling as a result.
You should switch to AVX-512 with EPYC. Uploaded optimized ripemd160_avx2.cpp (AVX-256) to Git.
|
BTC: bc1qdwnxr7s08xwelpjy3cc52rrxg63xsmagv50fa8
|
|
|
|