peter-lawrey/Java-Thread-Affinity — Issue #23: CPU 0 should be used
Author: akerbos
Created: 2012-03-02 16:01:53+00:00
State: open

Currently, the cpu with id 0 is not used with the rationale being that this one is often reserved for OS processes.

However, there is a basic scenario for which this assumption is void, namely if the whole Java process is restricted to some otherweise unused cores. Java will only see those it can use, so the library prevents me from using a perfectly usable CPU.

The easiest solution is, of course, to just use CPU 0. It is the last one considered, anyway, so I think this should not cause problems in most situations.