A program running under FireDaemon Pro can be bound to specific CPUs or cores. 

CPU Binding settings control which CPU or core or combination of CPUs or cores a program can run on. This is particularly useful on multi-processor multi-core machines where a program consumes many CPU cycles, and it must be prevented from overwhelming the system, or its workload must be explicitly directed onto a particular CPU.

On Windows, CPU Binding is implemented by way of an affinity mask. The mask is a bitmap (represented as the integer in the first column below) that determines the processors available to the program.  The table below provides examples of valid CPU affinity mask values in a FireDaemon Pro service definition. 

Note: FireDaemon Pro service definition XML only supports decimal values (Base 10). 

The affinity mask specifies the specific core(s) on which the program runs and not the overall number of cores. Further, the x86 CPU architecture is little-endian, which means that the bits in the affinity mask are read from right to left. For example, in the Binary Mask column, the bit value on the far right represents the first core.

For more information about CPU bindings and affinity masks, see this article in the Windows Documentation Library.

Similarly, for information about CPU processor groups, see Processor Groups. 

Decimal Mask
 (Base 10 - 0..9)
Binary Mask
 (Base 2 - 0..1)
Hex Mask
 (Base 16 - 0..F)
CPU Cores Selected
510153, 1
101010A4, 2
151111F4, 3, 2, 1
1001100100647, 6, 3
100011111010003E810, 9, 8, 7, 6, 4
1000010011100010000271014, 11, 10, 9, 5
327691000000000000001800116, 1