1

I am mining from a Remote Node using monero-wallet-cli and using the start_mining command.

  1. How do I find out the hash rate?
  2. How do I maximise the mining to use as much of the CPU as possible?
1
  • If you have two questions, post twice. There are many answers about maximizing hash rate already.
    – user36303
    Jul 29, 2018 at 16:47

2 Answers 2

1

The wallet does not report on the daemon mining hash rate, you will have to run status in the deamon, or use RPC directly, eg:

curl -v -X POST http://NODEIP:NOTEPORT/mining_status -d '{}' -H 'Content-Type: application/json'

Then replace NODEIP and NODEPORT with the IP and port of your remote daemon.

Note that this RPC will only work if you did not set your daemon to use restricted RPC mode (which is recommended if strangers have access to your daemon's RPC).

0
  1. Use the command show_hr.
  2. Find out the total cache size of your CPU (in MB) and divide by 2MB, find out the total number of cores your CPU has, whichever is lower, use that as the thread count when you run start_mining.
4
  • are you saying that the thread count equals the lower of the number of CPU cores or the total cache size of CPU divided by 2 ? Won't CPU cores always be lower?
    – James
    Jun 29, 2018 at 11:33
  • No, definitely not. CPU cores will not always be lower. I have some machines with way more cores than CPU cache / 2.
    – jtgrassie
    Jun 29, 2018 at 11:57
  • Which bash command do you use out CPU cache?
    – Spencer
    Jul 3, 2018 at 10:16
  • On Linux, cat /proc/cpuinfo | grep 'cache size'
    – jtgrassie
    Jul 5, 2018 at 1:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.