Configuring process placement policy, Configuring a location affinity, Configuring a location type affinity – H3C Technologies H3C MSR 5600 User Manual
Page 95
87
Tasks at a glance
•
(Optional.)
Configuring a process affinity
•
(Optional.)
Configuring process placement policy
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 ]
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.
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.
Configuring a location type affinity
The following location types are available:
•
current—Current location of the active process, which can be displayed with the display placement
program command.
•
paired—Locations of standby processes.
•
primary—Active MPU. (MSR 5600)
To configure a location type 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 ]
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.