Advertising


ET-Mod: No Quarter 1.2.5 with CPU Affinity

24.08.2009 : 23:57
The NQ Development Team made a new option for Windows & Linux servers/clients:

Set The CPU Affinity

This is an option for people with multi-core processors. They can set the CPU-affinity of the game to a single core. By doing so, the game will not have so many cache-misses caused by the constant switching of cores that the game runs on. This will most likely make the game run faster on these multi-core processors.

The new cvar is called cpu_Affinity

The cvar uses a binary bitmask to choose the processor(s). Meaning values 0, 1, 2, 4, 8, 16, 32 etc...
Assigning a value 0 to it, disables affinity, so the game runs on all cores (again).
To set affinity to the 1st core, set cpu_Affinity to 1.
The 2nd core uses a value 2. The 3rd core is marked by a value 4 in the cvar.
You can also, if you really want to, set the affinity to a combination of processors: If you want to put the game on the 1st & 4th core, assign a value 9 (1+8).
SplashDamage