|
January 15, 2018, 09:42:47 PM |
|
Each miner thread needs 2Mb of L3 cpu cache.
On my rig, I have 4x E7-8837 cpu's, which are 8 cores each, no hypherthreading, so 32 physical cores total. Each cpu has 24Mb cache, so 24Mb/2Mb=12 threads for mining on each cpu. To get 12 total threads running on the 8 cores, I run two threads on 4 of the cores, and one thread each on the other 4 cores = 8 total cores of the cpu.. To run two threads I set 'low_power_mode=true', and to run one thread I set 'low_power_mode=false'. So for each cpu, this is what I do on my E7-8837:
{ "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" : false, "no_prefetch" : true, "affine_to_cpu" : 4 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 7 },
Then I duplicate that configuration four times for the other 4 cores.
This is also the suggested configuration from xmr-stak-cpu.
|