Configuring a process affinity
Step
1.
Enter system view.
2.
Enter placement process view.
3.
Configure
another process.
Configuring a self affinity
Perform this task to configure the preference for one instance of a process to run on the same node as any
other instance of the process. The self affinity setting does not take effect for a process that has only one
instance.
To configure a self affinity:
Step
1.
Enter system view.
2.
Enter placement process view.
3.
Configure a self affinity.
Optimizing process placement
Step
1.
Enter system view.
Command
system-view
•
Enter
process
placement program default
•
Enter placement process view:
placement
{ program-name [ instance
instance-name ]
affinity program program-name
the
affinity
to
{ attract strength | repulse strength
| default | none }
Command
system-view
•
Enter default placement
process view:
placement program default
•
Enter placement process view:
placement program
{ program-name [ instance
instance-name ]
affinity self { attract strength |
repulse strength | default | none }
Command
system-view
default
placement
view:
program
158
Remarks
N/A
Use either command.
Settings in default placement
process view take effect for all
processes. Settings in placement
process view take effect for the
specified process only.
By default, no process affinity is
set.
Remarks
N/A
Use either command.
Settings in default placement
process view take effect for all
processes. Settings in placement
process view take effect for the
specified process only.
By default, no self affinity is set.
Remarks
N/A