Optimizing process placement, Configuration restrictions and guidelines, Process placement configuration task list – H3C Technologies H3C MSR 5600 User Manual
Page 94
86
•
The addition of a new node does not impact current active processes. A new active process selects
one node with sufficient CPU and memory resources. (You can use the display cpu-usage and
display memory commands to view CPU and memory usage information.)
Optimizing process placement
You can configure the following settings for a process placement policy to optimize process placement:
•
affinity location-set—Location affinity, the preference for the process to run on a specific node.
•
affinity location-type—Location type affinity, the preference for the process to run on a particular
type of node. For more information about node types, see "
Configuring a location type affinity
•
affinity program—Process affinity, the preference for the process to run on the same node as a
particular process.
•
affinity self—Self affinity, the preference for one instance of the process to run on the same node as
any other instance of the process.
Affinities include positive affinities (attract) and negative affinities (repulse), all represented by integers
in the range of 1 to 100000.
•
The higher the attract value, the stronger the preference.
•
The higher the repulse value, the weaker the preference.
After you apply new placement policies, the system makes placement decisions based on the new
policies, node resources, and topology status. If the new location for an active process is different from
the current node, the system changes the state of the process to standby, and uses the standby process on
the preferred location as the new active process.
Configuration restrictions and guidelines
•
Configuring process placement on a device with only one CPU does not change the location of
processes.
•
Configuring process placement on a device with multiple CPUs places specific active processes to
specific CPUs. In case of multiple CPUs, the system performs 1:N process redundancy, where N
must be less than the number of CPUs. The number of standby processes and their CPU locations
depend on the function module. The system by default automatically determines the location for
each active process, and there is no need to optimize process placement. If optimization is needed,
work with H3C/HP engineers to avoid service interruption.
•
Process placement applies to MPUs only. The configuration does not take effect on an interface card
even if it has a CPU and is configured as location affinity for a process.
•
The main and auxiliary CPUs on an MPU, if any, are equal for process placement. You can place
an active process either on a main CPU or an auxiliary CPU. You can view the final result by using
the placement reoptimize command.
Process placement configuration task list
Tasks at a glance
Configuring process placement policy
:
•
(Optional.)
Configuring a location affinity
•
(Optional.)
Configuring a location type affinity