Show TOC

Processor AffinityLocate this document in the navigation structure

Set processor affinities in the CCR file to specify which processors a project can run on.

To set processor affinities through the CCR Project Configuration editor:
  1. Select the Advanced tab and click Add Processor Affinity. This creates an entry for the instance under Project Runtime.
  2. Select this entry and set the Processor Affinity parameter.
  3. (Optional) When deploying a project in HA (active-active) mode, click Add Processor Affinity again to set affinities for an additional instance.

To set processor affinities in the CCR file through the text editor, add and set the <ProcessorAffinity> tag in the <Runtime> section:

<ProcessorAffinity instance="0">1-5</ProcessorAffinity>

In this example, instance refers to the order of the instances as they appear in the <Deployment><Instances> section of the CCR file, beginning with 0. When deploying a project in HA (active-active) mode, add another <ProcessorAffinity> tag with the corresponding order number for instance.

When using the processor affinity option, ensure that when the project is deployed to the cluster it can find the specified processors. Adding a strong positive controller node affinity to the instance helps. If the nodes in a cluster for ESP have the same processors, or you would like to use a subset of processors across machines, this node affinity is not necessary.

Note

On Windows systems with more than 64 processors, the affinity mask must specify processors in a single processor group. The 64-bit versions of Windows 7, Windows Server 2008 R2, and later versions of Windows, support more than 64 logical processors on a single computer. Processor groups are not available on 32-bit versions of Windows.

On Solaris, only one processor needs to be specified. If more than one is specified, the first processor is used.