Configuring a location affinity

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter placement process view.

  • Enter default placement process view:
    placement program default

  • Enter placement process view:
    placement program
    { program-name [ instance instance-name ]

Settings in default placement process view take effect for all processes. Settings in placement process view take effect only for the specified process.

3. Set the location affinity.

affinity location-set { slot slot-number [ cpu cpu-number ] }&<1-5> { attract strength | default | none | repulse strength }

By default, no location affinity is set.