I decided to play around with xmr-stak-cpu-dev, and something very odd is going on.
Output of the older version I normally run just to show you what the normal performance is.
@LinuxBeast:~/xmr-stak-cpu-master$ bin/xmr-stak-cpu
-------------------------------------------------------------------
XMR-Stak-CPU mining software, CPU Version.
Based on CPU mining code by wolf9466 (heavily optimized by myself).
Brought to you by fireice_uk under GPLv3.
Configurable dev donation level is set to 0.0 %
You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection
-------------------------------------------------------------------
[2017-06-12 22:25:02] : Starting single thread, affinity: 2.
[2017-06-12 22:25:02] : Starting single thread, affinity: 3.
[2017-06-12 22:25:02] : Starting single thread, affinity: 4.
[2017-06-12 22:25:02] : Starting single thread, affinity: 5.
[2017-06-12 22:25:02] : Starting single thread, affinity: 6.
[2017-06-12 22:25:02] : Starting single thread, affinity: 7.
[2017-06-12 22:25:02] : Starting single thread, affinity: 8.
[2017-06-12 22:25:02] : Starting single thread, affinity: 9.
[2017-06-12 22:25:02] : Starting single thread, affinity: 10.
[2017-06-12 22:25:02] : Starting single thread, affinity: 11.
[2017-06-12 22:25:02] : Starting single thread, affinity: 12.
[2017-06-12 22:25:02] : Starting single thread, affinity: 13.
[2017-06-12 22:25:02] : Starting single thread, affinity: 14.
[2017-06-12 22:25:02] : Starting single thread, affinity: 15.
[2017-06-12 22:25:02] : Starting single thread, affinity: 16.
[2017-06-12 22:25:02] : Starting single thread, affinity: 17.
[2017-06-12 22:25:02] : Starting single thread, affinity: 18.
[2017-06-12 22:25:02] : Starting single thread, affinity: 19.
[2017-06-12 22:25:02] : Starting single thread, affinity: 20.
[2017-06-12 22:25:02] : Starting single thread, affinity: 21.
[2017-06-12 22:25:02] : Starting single thread, affinity: 22.
[2017-06-12 22:25:02] : Starting single thread, affinity: 23.
[2017-06-12 22:25:02] : Starting single thread, affinity: 24.
[2017-06-12 22:25:02] : Starting single thread, affinity: 25.
[2017-06-12 22:25:02] : Starting single thread, affinity: 26.
[2017-06-12 22:25:02] : Starting single thread, affinity: 27.
[2017-06-12 22:25:02] : Starting single thread, affinity: 28.
[2017-06-12 22:25:02] : Starting single thread, affinity: 29.
[2017-06-12 22:25:02] : Starting single thread, affinity: 30.
[2017-06-12 22:25:02] : Starting single thread, affinity: 31.
[2017-06-12 22:25:02] : Connecting to pool pool.minexmr.com:3333 ...
[2017-06-12 22:25:02] : Connected. Logging in...
[2017-06-12 22:25:02] : Difficulty changed. Now: 200007.
[2017-06-12 22:25:02] : New block detected.
HASHRATE REPORT
| ID | 2.5s | 60s | 15m | ID | 2.5s | 60s | 15m |
| 0 | 40.2 | (na) | (na) | 1 | 39.0 | (na) | (na) |
| 2 | 39.4 | (na) | (na) | 3 | 40.0 | (na) | (na) |
| 4 | 35.9 | (na) | (na) | 5 | 35.7 | (na) | (na) |
| 6 | 36.0 | (na) | (na) | 7 | 35.6 | (na) | (na) |
| 8 | 30.3 | (na) | (na) | 9 | 37.9 | (na) | (na) |
| 10 | 38.3 | (na) | (na) | 11 | 23.4 | (na) | (na) |
| 12 | 34.3 | (na) | (na) | 13 | 34.7 | (na) | (na) |
| 14 | 39.2 | (na) | (na) | 15 | 38.3 | (na) | (na) |
| 16 | 40.2 | (na) | (na) | 17 | 39.3 | (na) | (na) |
| 18 | 39.3 | (na) | (na) | 19 | 40.0 | (na) | (na) |
| 20 | 34.9 | (na) | (na) | 21 | 35.7 | (na) | (na) |
| 22 | 36.5 | (na) | (na) | 23 | 35.6 | (na) | (na) |
| 24 | 36.6 | (na) | (na) | 25 | 37.8 | (na) | (na) |
| 26 | 38.7 | (na) | (na) | 27 | 25.1 | (na) | (na) |
| 28 | 34.7 | (na) | (na) | 29 | 34.1 | (na) | (na) |
-----------------------------------------------------
Totals: 1086.8 (na) (na) H/s
Highest: 1086.2 H/s
HASHRATE REPORT
| ID | 2.5s | 60s | 15m | ID | 2.5s | 60s | 15m |
| 0 | 40.2 | (na) | (na) | 1 | 39.3 | (na) | (na) |
| 2 | 39.6 | (na) | (na) | 3 | 40.0 | (na) | (na) |
| 4 | 35.7 | (na) | (na) | 5 | 35.7 | (na) | (na) |
| 6 | 35.7 | (na) | (na) | 7 | 35.5 | (na) | (na) |
| 8 | 37.8 | (na) | (na) | 9 | 37.8 | (na) | (na) |
| 10 | 38.2 | (na) | (na) | 11 | 25.1 | (na) | (na) |
| 12 | 34.2 | (na) | (na) | 13 | 34.7 | (na) | (na) |
| 14 | 36.8 | (na) | (na) | 15 | 39.7 | (na) | (na) |
| 16 | 40.2 | (na) | (na) | 17 | 39.2 | (na) | (na) |
| 18 | 39.6 | (na) | (na) | 19 | 40.0 | (na) | (na) |
| 20 | 33.9 | (na) | (na) | 21 | 35.7 | (na) | (na) |
| 22 | 36.5 | (na) | (na) | 23 | 35.6 | (na) | (na) |
| 24 | 30.0 | (na) | (na) | 25 | 37.8 | (na) | (na) |
| 26 | 38.7 | (na) | (na) | 27 | 36.1 | (na) | (na) |
| 28 | 34.7 | (na) | (na) | 29 | 34.0 | (na) | (na) |
-----------------------------------------------------
Totals: 1097.8 (na) (na) H/s
Highest: 1092.6 H/s
This is with my dual E5-2667 V3 ES pc that has 35MB L3 cache per cpu so I can run all 32 threads mining but I usually only run 30 to keep my desktop responsive.
The important part of the config.txt from the older xmr-stak-cpu:
"cpu_threads_conf" : [
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 2 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 3 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 4 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 5 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 6 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 7 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 8 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 9 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 10 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 11 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 12 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 13 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 14 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 15 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 16 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 17 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 18 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 19 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 20 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 21 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 22 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 23 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 24 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 25 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 26 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 27 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 28 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 29 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 30 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 31 },
],
Now I installed the latest developer version of xmr-stak-cpu.
It installed fine and when I ran it for the first time it did the auto config deal where it decides what the config.txt settings for the cpu_thread_config.
It recommended this:
"cpu_threads_conf" :
[
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 0 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 1 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 2 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 3 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 4 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 5 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 6 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 7 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 8 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 9 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 10 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 11 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 12 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 13 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 14 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 15 },
],
I have a dual Xeon motherboard so I assumed it choked on that so I changed it and added the usual 30 threads.
Output of xmr-stak-cpu-dev:
You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection
-------------------------------------------------------------------
[2017-06-12 22:16:11] : Starting double thread, affinity: 2.
[2017-06-12 22:16:11] : Starting double thread, affinity: 3.
[2017-06-12 22:16:11] : Starting double thread, affinity: 4.
[2017-06-12 22:16:11] : Starting double thread, affinity: 5.
[2017-06-12 22:16:11] : Starting double thread, affinity: 6.
[2017-06-12 22:16:11] : Starting double thread, affinity: 7.
[2017-06-12 22:16:11] : Starting double thread, affinity: 8.
[2017-06-12 22:16:11] : Starting double thread, affinity: 9.
[2017-06-12 22:16:11] : Starting double thread, affinity: 10.
[2017-06-12 22:16:11] : Starting double thread, affinity: 11.
[2017-06-12 22:16:11] : Starting double thread, affinity: 12.
[2017-06-12 22:16:11] : Starting double thread, affinity: 13.
[2017-06-12 22:16:11] : Starting double thread, affinity: 14.
[2017-06-12 22:16:11] : Starting double thread, affinity: 15.
[2017-06-12 22:16:11] : Starting double thread, affinity: 16.
[2017-06-12 22:16:11] : Starting double thread, affinity: 17.
[2017-06-12 22:16:11] : Starting double thread, affinity: 18.
[2017-06-12 22:16:11] : Starting double thread, affinity: 19.
[2017-06-12 22:16:11] : Starting double thread, affinity: 20.
[2017-06-12 22:16:11] : Starting double thread, affinity: 21.
[2017-06-12 22:16:11] : Starting double thread, affinity: 22.
[2017-06-12 22:16:11] : Starting double thread, affinity: 23.
[2017-06-12 22:16:11] : Starting double thread, affinity: 24.
[2017-06-12 22:16:11] : Starting double thread, affinity: 25.
[2017-06-12 22:16:11] : Starting double thread, affinity: 26.
[2017-06-12 22:16:11] : Starting double thread, affinity: 27.
[2017-06-12 22:16:11] : Starting double thread, affinity: 28.
[2017-06-12 22:16:11] : Starting double thread, affinity: 29.
[2017-06-12 22:16:11] : Starting double thread, affinity: 30.
[2017-06-12 22:16:11] : Starting double thread, affinity: 31.
[2017-06-12 22:16:11] : Connecting to pool pool.minexmr.com:3333 ...
[2017-06-12 22:16:11] : Connected. Logging in...
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : Difficulty changed. Now: 200007.
[2017-06-12 22:16:12] : New block detected.
RESULT REPORT
You haven't found any results yet.
HASHRATE REPORT
| ID | 2.5s | 60s | 15m | ID | 2.5s | 60s | 15m |
| 0 | 26.7 | (na) | (na) | 1 | 26.7 | (na) | (na) |
| 2 | 27.0 | (na) | (na) | 3 | 26.8 | (na) | (na) |
| 4 | 24.7 | (na) | (na) | 5 | 25.2 | (na) | (na) |
| 6 | 23.0 | (na) | (na) | 7 | 22.6 | (na) | (na) |
| 8 | 23.4 | (na) | (na) | 9 | 23.5 | (na) | (na) |
| 10 | 23.8 | (na) | (na) | 11 | 23.6 | (na) | (na) |
| 12 | 22.1 | (na) | (na) | 13 | 22.4 | (na) | (na) |
| 14 | 33.2 | (na) | (na) | 15 | 32.8 | (na) | (na) |
| 16 | 26.4 | (na) | (na) | 17 | 25.8 | (na) | (na) |
| 18 | 26.6 | (na) | (na) | 19 | 26.6 | (na) | (na) |
| 20 | 23.8 | (na) | (na) | 21 | 25.1 | (na) | (na) |
| 22 | 22.9 | (na) | (na) | 23 | 22.3 | (na) | (na) |
| 24 | 23.4 | (na) | (na) | 25 | 23.1 | (na) | (na) |
| 26 | 23.1 | (na) | (na) | 27 | 23.0 | (na) | (na) |
| 28 | 21.9 | (na) | (na) | 29 | 22.1 | (na) | (na) |
-----------------------------------------------------
Totals: 743.6 (na) (na) H/s
Highest: 743.9 H/s
[2017-06-12 22:16:37] : Result accepted by the pool.
743.9 H/s WTH???
So I changed it to what the autoconfig told me to copy and paste to config.txt:
"cpu_threads_conf" :
[
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 0 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 1 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 2 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 3 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 4 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 5 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 6 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 7 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 8 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 9 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 10 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 11 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 12 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 13 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 14 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 15 },
],
Then ran it:
-------------------------------------------------------------------
[2017-06-12 22:49:48] : Starting double thread, affinity: 0.
[2017-06-12 22:49:48] : Starting double thread, affinity: 1.
[2017-06-12 22:49:48] : Starting double thread, affinity: 2.
[2017-06-12 22:49:48] : Starting double thread, affinity: 3.
[2017-06-12 22:49:48] : Starting double thread, affinity: 4.
[2017-06-12 22:49:48] : Starting double thread, affinity: 5.
[2017-06-12 22:49:48] : Starting double thread, affinity: 6.
[2017-06-12 22:49:48] : Starting double thread, affinity: 7.
[2017-06-12 22:49:48] : Starting double thread, affinity: 8.
[2017-06-12 22:49:48] : Starting double thread, affinity: 9.
[2017-06-12 22:49:48] : Starting double thread, affinity: 10.
[2017-06-12 22:49:48] : Starting double thread, affinity: 11.
[2017-06-12 22:49:48] : Starting double thread, affinity: 12.
[2017-06-12 22:49:48] : Starting double thread, affinity: 13.
[2017-06-12 22:49:48] : Starting double thread, affinity: 14.
[2017-06-12 22:49:48] : Starting double thread, affinity: 15.
[2017-06-12 22:49:48] : Connecting to pool pool.minexmr.com:3333 ...
[2017-06-12 22:49:48] : Connected. Logging in...
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : Difficulty changed. Now: 200007.
[2017-06-12 22:49:48] : New block detected.
HASHRATE REPORT
| ID | 2.5s | 60s | 15m | ID | 2.5s | 60s | 15m |
| 0 | 71.2 | (na) | (na) | 1 | 71.8 | (na) | (na) |
| 2 | 77.7 | (na) | (na) | 3 | 77.4 | (na) | (na) |
| 4 | 78.2 | (na) | (na) | 5 | 79.3 | (na) | (na) |
| 6 | 69.0 | (na) | (na) | 7 | 69.7 | (na) | (na) |
| 8 | 71.0 | (na) | (na) | 9 | 62.6 | (na) | (na) |
| 10 | 75.8 | (na) | (na) | 11 | 74.4 | (na) | (na) |
| 12 | 74.8 | (na) | (na) | 13 | 75.8 | (na) | (na) |
| 14 | 67.1 | (na) | (na) | 15 | 66.4 | (na) | (na) |
-----------------------------------------------------
Totals: 1162.3 (na) (na) H/s
Highest: 1162.6 H/s
1162.6 H/s running 16 threads!!!
Look at the per thread increase!!
From mid 30's H/s per core to almost double that?
WTH!!???
I do not understand this.......
I'm thinking of trying to run two instances of xmr-stak-cpu-dev one on cores 0-15 on one and 16-32 on another. LOL
Output of the older version I normally run just to show you what the normal performance is.
@LinuxBeast:~/xmr-stak-cpu-master$ bin/xmr-stak-cpu
-------------------------------------------------------------------
XMR-Stak-CPU mining software, CPU Version.
Based on CPU mining code by wolf9466 (heavily optimized by myself).
Brought to you by fireice_uk under GPLv3.
Configurable dev donation level is set to 0.0 %
You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection
-------------------------------------------------------------------
[2017-06-12 22:25:02] : Starting single thread, affinity: 2.
[2017-06-12 22:25:02] : Starting single thread, affinity: 3.
[2017-06-12 22:25:02] : Starting single thread, affinity: 4.
[2017-06-12 22:25:02] : Starting single thread, affinity: 5.
[2017-06-12 22:25:02] : Starting single thread, affinity: 6.
[2017-06-12 22:25:02] : Starting single thread, affinity: 7.
[2017-06-12 22:25:02] : Starting single thread, affinity: 8.
[2017-06-12 22:25:02] : Starting single thread, affinity: 9.
[2017-06-12 22:25:02] : Starting single thread, affinity: 10.
[2017-06-12 22:25:02] : Starting single thread, affinity: 11.
[2017-06-12 22:25:02] : Starting single thread, affinity: 12.
[2017-06-12 22:25:02] : Starting single thread, affinity: 13.
[2017-06-12 22:25:02] : Starting single thread, affinity: 14.
[2017-06-12 22:25:02] : Starting single thread, affinity: 15.
[2017-06-12 22:25:02] : Starting single thread, affinity: 16.
[2017-06-12 22:25:02] : Starting single thread, affinity: 17.
[2017-06-12 22:25:02] : Starting single thread, affinity: 18.
[2017-06-12 22:25:02] : Starting single thread, affinity: 19.
[2017-06-12 22:25:02] : Starting single thread, affinity: 20.
[2017-06-12 22:25:02] : Starting single thread, affinity: 21.
[2017-06-12 22:25:02] : Starting single thread, affinity: 22.
[2017-06-12 22:25:02] : Starting single thread, affinity: 23.
[2017-06-12 22:25:02] : Starting single thread, affinity: 24.
[2017-06-12 22:25:02] : Starting single thread, affinity: 25.
[2017-06-12 22:25:02] : Starting single thread, affinity: 26.
[2017-06-12 22:25:02] : Starting single thread, affinity: 27.
[2017-06-12 22:25:02] : Starting single thread, affinity: 28.
[2017-06-12 22:25:02] : Starting single thread, affinity: 29.
[2017-06-12 22:25:02] : Starting single thread, affinity: 30.
[2017-06-12 22:25:02] : Starting single thread, affinity: 31.
[2017-06-12 22:25:02] : Connecting to pool pool.minexmr.com:3333 ...
[2017-06-12 22:25:02] : Connected. Logging in...
[2017-06-12 22:25:02] : Difficulty changed. Now: 200007.
[2017-06-12 22:25:02] : New block detected.
HASHRATE REPORT
| ID | 2.5s | 60s | 15m | ID | 2.5s | 60s | 15m |
| 0 | 40.2 | (na) | (na) | 1 | 39.0 | (na) | (na) |
| 2 | 39.4 | (na) | (na) | 3 | 40.0 | (na) | (na) |
| 4 | 35.9 | (na) | (na) | 5 | 35.7 | (na) | (na) |
| 6 | 36.0 | (na) | (na) | 7 | 35.6 | (na) | (na) |
| 8 | 30.3 | (na) | (na) | 9 | 37.9 | (na) | (na) |
| 10 | 38.3 | (na) | (na) | 11 | 23.4 | (na) | (na) |
| 12 | 34.3 | (na) | (na) | 13 | 34.7 | (na) | (na) |
| 14 | 39.2 | (na) | (na) | 15 | 38.3 | (na) | (na) |
| 16 | 40.2 | (na) | (na) | 17 | 39.3 | (na) | (na) |
| 18 | 39.3 | (na) | (na) | 19 | 40.0 | (na) | (na) |
| 20 | 34.9 | (na) | (na) | 21 | 35.7 | (na) | (na) |
| 22 | 36.5 | (na) | (na) | 23 | 35.6 | (na) | (na) |
| 24 | 36.6 | (na) | (na) | 25 | 37.8 | (na) | (na) |
| 26 | 38.7 | (na) | (na) | 27 | 25.1 | (na) | (na) |
| 28 | 34.7 | (na) | (na) | 29 | 34.1 | (na) | (na) |
-----------------------------------------------------
Totals: 1086.8 (na) (na) H/s
Highest: 1086.2 H/s
HASHRATE REPORT
| ID | 2.5s | 60s | 15m | ID | 2.5s | 60s | 15m |
| 0 | 40.2 | (na) | (na) | 1 | 39.3 | (na) | (na) |
| 2 | 39.6 | (na) | (na) | 3 | 40.0 | (na) | (na) |
| 4 | 35.7 | (na) | (na) | 5 | 35.7 | (na) | (na) |
| 6 | 35.7 | (na) | (na) | 7 | 35.5 | (na) | (na) |
| 8 | 37.8 | (na) | (na) | 9 | 37.8 | (na) | (na) |
| 10 | 38.2 | (na) | (na) | 11 | 25.1 | (na) | (na) |
| 12 | 34.2 | (na) | (na) | 13 | 34.7 | (na) | (na) |
| 14 | 36.8 | (na) | (na) | 15 | 39.7 | (na) | (na) |
| 16 | 40.2 | (na) | (na) | 17 | 39.2 | (na) | (na) |
| 18 | 39.6 | (na) | (na) | 19 | 40.0 | (na) | (na) |
| 20 | 33.9 | (na) | (na) | 21 | 35.7 | (na) | (na) |
| 22 | 36.5 | (na) | (na) | 23 | 35.6 | (na) | (na) |
| 24 | 30.0 | (na) | (na) | 25 | 37.8 | (na) | (na) |
| 26 | 38.7 | (na) | (na) | 27 | 36.1 | (na) | (na) |
| 28 | 34.7 | (na) | (na) | 29 | 34.0 | (na) | (na) |
-----------------------------------------------------
Totals: 1097.8 (na) (na) H/s
Highest: 1092.6 H/s
This is with my dual E5-2667 V3 ES pc that has 35MB L3 cache per cpu so I can run all 32 threads mining but I usually only run 30 to keep my desktop responsive.
The important part of the config.txt from the older xmr-stak-cpu:
"cpu_threads_conf" : [
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 2 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 3 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 4 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 5 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 6 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 7 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 8 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 9 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 10 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 11 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 12 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 13 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 14 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 15 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 16 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 17 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 18 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 19 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 20 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 21 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 22 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 23 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 24 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 25 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 26 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 27 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 28 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 29 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 30 },
{ "low_power_mode" : false, "no_prefetch" : false, "affine_to_cpu" : 31 },
],
Now I installed the latest developer version of xmr-stak-cpu.
It installed fine and when I ran it for the first time it did the auto config deal where it decides what the config.txt settings for the cpu_thread_config.
It recommended this:
"cpu_threads_conf" :
[
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 0 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 1 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 2 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 3 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 4 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 5 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 6 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 7 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 8 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 9 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 10 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 11 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 12 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 13 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 14 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 15 },
],
I have a dual Xeon motherboard so I assumed it choked on that so I changed it and added the usual 30 threads.
Output of xmr-stak-cpu-dev:
You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection
-------------------------------------------------------------------
[2017-06-12 22:16:11] : Starting double thread, affinity: 2.
[2017-06-12 22:16:11] : Starting double thread, affinity: 3.
[2017-06-12 22:16:11] : Starting double thread, affinity: 4.
[2017-06-12 22:16:11] : Starting double thread, affinity: 5.
[2017-06-12 22:16:11] : Starting double thread, affinity: 6.
[2017-06-12 22:16:11] : Starting double thread, affinity: 7.
[2017-06-12 22:16:11] : Starting double thread, affinity: 8.
[2017-06-12 22:16:11] : Starting double thread, affinity: 9.
[2017-06-12 22:16:11] : Starting double thread, affinity: 10.
[2017-06-12 22:16:11] : Starting double thread, affinity: 11.
[2017-06-12 22:16:11] : Starting double thread, affinity: 12.
[2017-06-12 22:16:11] : Starting double thread, affinity: 13.
[2017-06-12 22:16:11] : Starting double thread, affinity: 14.
[2017-06-12 22:16:11] : Starting double thread, affinity: 15.
[2017-06-12 22:16:11] : Starting double thread, affinity: 16.
[2017-06-12 22:16:11] : Starting double thread, affinity: 17.
[2017-06-12 22:16:11] : Starting double thread, affinity: 18.
[2017-06-12 22:16:11] : Starting double thread, affinity: 19.
[2017-06-12 22:16:11] : Starting double thread, affinity: 20.
[2017-06-12 22:16:11] : Starting double thread, affinity: 21.
[2017-06-12 22:16:11] : Starting double thread, affinity: 22.
[2017-06-12 22:16:11] : Starting double thread, affinity: 23.
[2017-06-12 22:16:11] : Starting double thread, affinity: 24.
[2017-06-12 22:16:11] : Starting double thread, affinity: 25.
[2017-06-12 22:16:11] : Starting double thread, affinity: 26.
[2017-06-12 22:16:11] : Starting double thread, affinity: 27.
[2017-06-12 22:16:11] : Starting double thread, affinity: 28.
[2017-06-12 22:16:11] : Starting double thread, affinity: 29.
[2017-06-12 22:16:11] : Starting double thread, affinity: 30.
[2017-06-12 22:16:11] : Starting double thread, affinity: 31.
[2017-06-12 22:16:11] : Connecting to pool pool.minexmr.com:3333 ...
[2017-06-12 22:16:11] : Connected. Logging in...
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : hwloc: memory pinned
[2017-06-12 22:16:12] : Difficulty changed. Now: 200007.
[2017-06-12 22:16:12] : New block detected.
RESULT REPORT
You haven't found any results yet.
HASHRATE REPORT
| ID | 2.5s | 60s | 15m | ID | 2.5s | 60s | 15m |
| 0 | 26.7 | (na) | (na) | 1 | 26.7 | (na) | (na) |
| 2 | 27.0 | (na) | (na) | 3 | 26.8 | (na) | (na) |
| 4 | 24.7 | (na) | (na) | 5 | 25.2 | (na) | (na) |
| 6 | 23.0 | (na) | (na) | 7 | 22.6 | (na) | (na) |
| 8 | 23.4 | (na) | (na) | 9 | 23.5 | (na) | (na) |
| 10 | 23.8 | (na) | (na) | 11 | 23.6 | (na) | (na) |
| 12 | 22.1 | (na) | (na) | 13 | 22.4 | (na) | (na) |
| 14 | 33.2 | (na) | (na) | 15 | 32.8 | (na) | (na) |
| 16 | 26.4 | (na) | (na) | 17 | 25.8 | (na) | (na) |
| 18 | 26.6 | (na) | (na) | 19 | 26.6 | (na) | (na) |
| 20 | 23.8 | (na) | (na) | 21 | 25.1 | (na) | (na) |
| 22 | 22.9 | (na) | (na) | 23 | 22.3 | (na) | (na) |
| 24 | 23.4 | (na) | (na) | 25 | 23.1 | (na) | (na) |
| 26 | 23.1 | (na) | (na) | 27 | 23.0 | (na) | (na) |
| 28 | 21.9 | (na) | (na) | 29 | 22.1 | (na) | (na) |
-----------------------------------------------------
Totals: 743.6 (na) (na) H/s
Highest: 743.9 H/s
[2017-06-12 22:16:37] : Result accepted by the pool.
743.9 H/s WTH???
So I changed it to what the autoconfig told me to copy and paste to config.txt:
"cpu_threads_conf" :
[
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 0 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 1 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 2 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 3 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 4 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 5 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 6 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 7 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 8 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 9 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 10 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 11 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 12 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 13 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 14 },
{ "low_power_mode" : true, "no_prefetch" : true, "affine_to_cpu" : 15 },
],
Then ran it:
-------------------------------------------------------------------
[2017-06-12 22:49:48] : Starting double thread, affinity: 0.
[2017-06-12 22:49:48] : Starting double thread, affinity: 1.
[2017-06-12 22:49:48] : Starting double thread, affinity: 2.
[2017-06-12 22:49:48] : Starting double thread, affinity: 3.
[2017-06-12 22:49:48] : Starting double thread, affinity: 4.
[2017-06-12 22:49:48] : Starting double thread, affinity: 5.
[2017-06-12 22:49:48] : Starting double thread, affinity: 6.
[2017-06-12 22:49:48] : Starting double thread, affinity: 7.
[2017-06-12 22:49:48] : Starting double thread, affinity: 8.
[2017-06-12 22:49:48] : Starting double thread, affinity: 9.
[2017-06-12 22:49:48] : Starting double thread, affinity: 10.
[2017-06-12 22:49:48] : Starting double thread, affinity: 11.
[2017-06-12 22:49:48] : Starting double thread, affinity: 12.
[2017-06-12 22:49:48] : Starting double thread, affinity: 13.
[2017-06-12 22:49:48] : Starting double thread, affinity: 14.
[2017-06-12 22:49:48] : Starting double thread, affinity: 15.
[2017-06-12 22:49:48] : Connecting to pool pool.minexmr.com:3333 ...
[2017-06-12 22:49:48] : Connected. Logging in...
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : hwloc: memory pinned
[2017-06-12 22:49:48] : Difficulty changed. Now: 200007.
[2017-06-12 22:49:48] : New block detected.
HASHRATE REPORT
| ID | 2.5s | 60s | 15m | ID | 2.5s | 60s | 15m |
| 0 | 71.2 | (na) | (na) | 1 | 71.8 | (na) | (na) |
| 2 | 77.7 | (na) | (na) | 3 | 77.4 | (na) | (na) |
| 4 | 78.2 | (na) | (na) | 5 | 79.3 | (na) | (na) |
| 6 | 69.0 | (na) | (na) | 7 | 69.7 | (na) | (na) |
| 8 | 71.0 | (na) | (na) | 9 | 62.6 | (na) | (na) |
| 10 | 75.8 | (na) | (na) | 11 | 74.4 | (na) | (na) |
| 12 | 74.8 | (na) | (na) | 13 | 75.8 | (na) | (na) |
| 14 | 67.1 | (na) | (na) | 15 | 66.4 | (na) | (na) |
-----------------------------------------------------
Totals: 1162.3 (na) (na) H/s
Highest: 1162.6 H/s
1162.6 H/s running 16 threads!!!
Look at the per thread increase!!
From mid 30's H/s per core to almost double that?
WTH!!???
I do not understand this.......
I'm thinking of trying to run two instances of xmr-stak-cpu-dev one on cores 0-15 on one and 16-32 on another. LOL
Last edited: