snarkOS
snarkOS copied to clipboard
[Bug] Low CPU utilization when running miner node
🐛 Bug Report
Most time miner node is just in 'Syncing' or 'Peering' state. And some times it become 'Mining' but not so long. Just for a couple seconds.
Steps to Reproduce
Just compile latest testnet2 source
- run-miner.sh
Expected Behavior
Because Aleo is POSW most of the time it must mine new blocks and utilize 100% CPU
Your Environment
- snarkOS Version 2.0.0
- Rust Version 1.56.1
- Computer OS Ubuntu 20.04
I also encountered this difficulty. waiting for solve.
How many cores is your machine? 16-cores is the minimum requirement for testnet2.
How many cores is your machine? 16-cores is the minimum requirement for testnet2.
Sure, I have server with 24 core/48 threads and it almost inactive... like 8 threads of 48 sometime is busy and even not always:

Same problem here; the miner uses only 1 CPU...
I see this picture. Only One or two core is loaded about 50% of the time. Other 50% of the time is loaded all cores. The situation alternates every 5-10 seconds
This should have improved with the recent changes, but there is probably still room for improvement here.
Not applicable to testnet3.