The short answer
After choosing a worker count, read CPU readiness and speed output to separate startup from sustained performance.
XMRig does not need to mine on every logical processor to use the CPU well. RandomX performance depends on each mining thread getting enough CPU cache and memory bandwidth. If cache is the limiting resource, adding threads can leave the total hashrate unchanged or make it lower.
Three different counts
- Cores are physical processing units in the CPU.
- Logical processors are the execution contexts the operating system schedules. Simultaneous multithreading can expose more than one per core.
- Mining threads are XMRig workers doing RandomX work. A worker may be pinned to a logical processor, but the numbers do not have to match.
The operating system’s 100% CPU reading and XMRig’s mining-thread count therefore answer different questions. A miner can intentionally leave capacity unused to preserve responsiveness or avoid competing for cache.
Why cache limits the useful count
RandomX keeps working data close to the CPU. XMRig’s guide lists general requirements of 256 KB L2 and 2 MB L3 cache per mining thread for the Monero RandomX profile. Those are algorithm guidance figures, not a guarantee that every processor exposes cache in the same way or will reach a particular speed. Cache may be shared among cores, and other processes can use it too.
That is why XMRig’s automatic thread configuration can select fewer workers than Windows reports logical processors. Read its selected profile and compare the resulting benchmark before forcing additional threads. The RandomX memory and cache explainer covers the dataset, cache and NUMA terms.
How to test a different thread count
Use XMRig’s CPU configuration options rather than editing CPU affinity or firmware at random. Keep a copy of the known-good configuration. Test one alternative profile at a time with the same XMRig version, algorithm and benchmark conditions. Record hashrate and whether the machine stays responsive; restore the original profile if the change makes either worse.
Do not add threads solely to make Task Manager reach 100%. A useful profile is the one that performs consistently under your intended workload, not the one that occupies every scheduler slot.
If XMRig reports fewer workers than expected and hashrate is also low, check the low-hashrate checklist for Huge Pages, MSR, memory pressure and thermal conditions. A lower worker count alone is not proof of a configuration error.
Before comparing profiles, complete the A/B performance record. To compare throughput per watt, use average whole-PC power over a matching interval; a CPU model, TDP or package reading cannot stand in for that measurement.
With matched sustained hashrates and wall watts, use the mining efficiency comparison to examine the throughput and energy trade-off between two thread profiles. A higher efficiency ratio alone does not establish profitability or the right worker count for your goals.
Logical processors are not a thread target
16 visible logical processors ≠ 16 useful RandomX threads
Cache limits how many workers can stay productive
The processor dots are illustrative, not a hardware profile. XMRig's selected worker count depends on the CPU and algorithm configuration.
Sources
- XMRig: RandomX Optimization Guide Accessed
- XMRig: CPU configuration Accessed