Repository navigation
Conversation
`scratchpad_prefetch_mode` can have 4 values: 0: off 1: use `prefetcht0` instruction (default, same as previous XMRig versions) 2: use `prefetchnta` instruction (faster on Coffee Lake and a few other CPUs) 3: use `mov` instruction
|
Can you please explane for non-programmers what the different parameters do and where the advantages and disadvantages might be? Is there an advantage on systems, that are not dedicated for mining but are used for daily work when prefetch is set to 0, so that inner core traffic is reduced? Why is prefetchnta faster on Coffee Lake than prefetcht0? Might mov be an advantage on CPUs, that have bad built-in prefetchers and if, what CPUs are that for example? :) |
|
I don't have answers to some of these questions. I only observed that mode 2 is a tiny bit faster on some Intel CPUs, but didn't find a clear pattern. There should be no difference for other programs running together with miner. |
|
I observe a small hashrate increase on some Intel Xeon Westmere CPUs when switching prefetch modes. 2x xeon X5650 w/ 24gb in tri-channel (6x 4gb sticks) prefetch mode 1 prefetch mode 2 |
scratchpad_prefetch_modecan have 4 values:0: off
1: use
prefetcht0instruction (default, same as previous XMRig versions)2: use
prefetchntainstruction (faster on Coffee Lake and a few other CPUs)3: use
movinstruction