More
referral
Increase your income with Hive. Invite your friends and earn real cryptocurrency!

Xmrig - just 4 of 12 CPU cores

Hello,
XMRig/6.4.0 is mining just on 4 of 12 CPU cores on AMD Ryzen 5 series 4400.
On older 3xxx it was all cores 12/12.

After some digging I found that at:
/hive/miners/xmrig-new/xmrig/6.4.0/config.json
there is:

"rx": [0, 1, 3, 4],

Therefor (even with ./xmrig --threads 12)
it gets downscaled to 4

[2020-10-29 14:02:57.058]  randomx  init dataset algo rx/0 (12 threads) seed 0d053f64821ce740...
[2020-10-29 14:02:57.476]  randomx  allocated 2336 MB (2080+256) huge pages 100% 1168/1168 +JIT (418 ms)
[2020-10-29 14:03:00.714]  randomx  dataset ready (3238 ms)
[2020-10-29 14:03:00.714]  cpu      use profile  rx  (4 threads) scratchpad 2048 KB
[2020-10-29 14:03:00.777]  cpu      READY threads 4/4 (4) huge pages 100% 4/4 memory 8192 KB (63 ms)

Any tip or support of generating this config file by HiveOS to get there full 12/12 cores?
It should looks like this:
"rx": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],

Note also please add priority switch to lower:

  "cpu": {
         ...
        "priority": 1,

It will still use 100% of cpu, but HiveOS agent, and other tools would have higher priority. Thanks.

EDIT: Ok, 12 cores is getting 1 000 H/s, 4 cores 2 300 H/s.
Maybe this would be better to ask XMRig team.

I can help if you want

This topic was automatically closed 416 days after the last reply. New replies are no longer allowed.