Reduce CPU power mining XMR with XMRig(new)

Hi,
I have running a XMRig(new) miner for XMR (Monero).

My CPU (AMD Ryzen 5 3600) seems to run with full power and is getting
very hot (approx. 94°C).

In the XMRig(new) CPU configuration window I tried the keyword “threads” but it’s not working:
“cpu”: {
“huge-pages”: true,
“hw-aes”: null,
“priority”: null,
“memory-pool”: false,
“asm”: true,
“threads”: 4
}

I also tried “cpu-max-threads-hint” but it’s also not working.
“cpu”: {
“huge-pages”: true,
“hw-aes”: null,
“priority”: null,
“memory-pool”: false,
“asm”: true,
“cpu-max-threads-hint”: 80
}

Is there a possibility to reduce the CPU power or the used cores for mining ?

Found the solution,

“max-threads-hint”: 50

sets the used cores to 50% of the available cores.
But it has to set before the first start of the miner.
If the miner was already running, make the changes and restart the worker.

“cpu”: {
“huge-pages”: true,
“hw-aes”: null,
“priority”: null,
“memory-pool”: false,
“max-threads-hint”: 50,
“asm”: true
}

1 Like

What temperature do you have now with that config?

By mining Monero my CPU is running very hot, please look here:

Could also try “priority”: 0, with all or more threads.

With “priority”: 0 the Monero miner is not starting

“cpu”: {
“huge-pages”: true,
“hw-aes”: null,
“priority”: null,
“memory-pool”: false,
“priority”: 0,
“asm”: true
}

With “max-threads-hint”: 50 the CPU (Ryzen 5 3600) is using 6 threads.
CPU Temerature 70°C, see attached image.

“cpu”: {
“huge-pages”: true,
“hw-aes”: null,
“priority”: null,
“memory-pool”: false,
“max-threads-hint”: 50,
“asm”: true
}

1 Like

You have priority in there twice?

Or maybe it is cpu-priority:

You are right.
I have set priority two times, that is wrong.

“priority”: null OR using “priority”: 0, makes no difference.

I’ve tried these commands, but it ain’t working.
Does anyone knows if I’m doing something wrong?

I dont think you can reduce power cost without it costing equal hashrate loss. You can reduce the cores you mine on though, which would reduce power. But of course reduces your hashrate, I have a 6-core amd, and I mine on 3 of the cores, to me its a nice medium for heat in my rig. Since my cpu fan is right below one of my 3070’s. Mining on all 6 cores while doesnt affect my cpu much, does increase the temp of my one 3070 by as much as 5 degrees and that causes the fans to stay on none stop, even when the other cards are at 50c-55c.

Below is my CPU config override box for the hiveos config of xmrstak-randomx. And looking at it, it does have a low power mode, but I have never noticed or tried it. If you try it out post the setup and result, Im curious as well.

If you want to modify it remember to always count by 2’s, so 0,2,4,6,8,10…etc OR 1,3,5,7,9,11…etc. Because each core has 2 basically “logical” cores. Which is just a fancy way for you computer to do multiple things faster if they are simple tasks. But doesnt help with mining, and can actually hurt overal performance.

“cpu_threads_conf” :
[
{ “low_power_mode” : false, “no_prefetch” : true, “asm” : “auto”, “affine_to_cpu” : 4},
{ “low_power_mode” : false, “no_prefetch” : true, “asm” : “auto”, “affine_to_cpu” : 6},
{ “low_power_mode” : false, “no_prefetch” : true, “asm” : “auto”, “affine_to_cpu” : 8},
],