With affinity = 1 it only loads the CPU with 0.x to 3.x% instead of the expected 4.16% on my 5900X.
Setting it to affinity = 2 = Core 0 CPU 1 (the second thread on the first core) works fine.
A similar problem appears if we're using 2 threads and both are set to core 0, the actual CPU usage is lower than the expected usage.
Not sure there is a real fix for this, besides switching to thread 2 / skipping the core if Hyperthreading is disabled.
With affinity = 1 it only loads the CPU with 0.x to 3.x% instead of the expected 4.16% on my 5900X. Setting it to affinity = 2 = Core 0 CPU 1 (the second thread on the first core) works fine.
A similar problem appears if we're using 2 threads and both are set to core 0, the actual CPU usage is lower than the expected usage.
Not sure there is a real fix for this, besides switching to thread 2 / skipping the core if Hyperthreading is disabled.