Java-Thread-Affinity
Java-Thread-Affinity copied to clipboard
Bind a java thread to a given core
We use this Library in JDK 8 on one dedicated server whose CPU is Intel i5-13500 and this CPU uses big.LITTLE architecture. It has 6 Performance cores(which implements HyperThread Technology...
e.g. ``` $ cat /proc/cpuinfo processor : 0 ... core id : 0 ... ... processor : 2 ... core id : 1 ... ... ```
On win 11 got warning: "Tried to set affinity to {7} but was {0,1,2,3,4,5,6,7} you may have insufficient access rights" and nohing heppend - thread remain affined to all cores....
Hi , i have asked how to implement it on C++ how to set affinity cores for performance cores or others :1 Here is the response : https://chatgpt.com/share/6752f5fd-eb48-8001-9b09-79ef8894312b It wont...