![IBM Power System POWER7 Series Скачать руководство пользователя страница 32](http://html2.mh-extra.com/html/ibm/power-system-power7-series/power-system-power7-series_optimization-and-tuning-manual_3363642032.webp)
16
POWER7 and Optimization and Tuning Guide
–
execrset -c 32-47 -m 0 -e
<command to start third WebSphere Application
Server instance>
–
execrset -c 48-63 -m 0 -e
<command to start fourth WebSphere Application
Server instance>
Some important items to understand in this example are:
For a particular number of instances and available cores, the most important consideration
is that each instance of an application runs only on the cores of one POWER7 processor
chip.
Memory and logical processor binding is not done independently because doing so can
negatively affect performance.
The workload must be evenly distributed over WebSphere Application Server processes
for the binding to be effective.
There is an assumed mapping of logical processors to cores and chips, which is always
established at boot time. This mapping can be altered if the SMT mode of the system is
changed by running
smtctl -w now
. It is always best to reboot to change the SMT mode of
a partition to ensure that the assumed mapping is in place.
Along with the operating system facilities for manually establishing cache and memory affinity,
the AIX Active System Optimizer (ASO) can be enabled to autonomously establish
enhanced affinity.
For more information about ASO, the
MEMORY_AFFINITY
environment variable, the
execrset
command, and related environment variables and commands, see Chapter 4, “AIX” on
page 67.
The same forced affinity can be established on Linux by running
taskset
or
numactl
.
For example:
numactl -C 0-15 -l
<command to start first WebSphere Application Server
instance>
numactl -C 16-31 -l
<command to start second WebSphere Application Server
instance>
numactl -C 32-47 -l
<command to start third WebSphere Application Server
instance>
numactl -C 48-63 -l
<command to start fourth WebSphere Application Server
instance>
The
-l
option on these
numactl
commands is the equivalent of the AIX
MEMORY_AFFINITY=MCM
environment variable setting.
Even for partitions of eight cores or less, better cache affinity can be established with multiple
application instances by using logical processor binding commands. With eight cores or less,
the performance effects typically range up to about 10% improvement with binding. For
partitions of more than eight cores that span more than one POWER7 processor chip, using
manual affinity results in significantly higher performance.
Shared resource environments
Virtualized deployments that share cores among a set of partitions also can use logical
processor binding to ensure good affinity within the guest operating system (AIX). However,
the real dispatching of physical cores is handled by the underlying host operating system
(POWER Hypervisor).
Содержание Power System POWER7 Series
Страница 2: ......
Страница 36: ...20 POWER7 and POWER7 Optimization and Tuning Guide...
Страница 70: ...54 POWER7 and POWER7 Optimization and Tuning Guide...
Страница 112: ...96 POWER7 and POWER7 Optimization and Tuning Guide...
Страница 140: ...124 POWER7 and POWER7 Optimization and Tuning Guide...
Страница 162: ...146 POWER7 and POWER7 Optimization and Tuning Guide...
Страница 170: ...154 POWER7 and POWER7 Optimization and Tuning Guide...
Страница 222: ...POWER7 and POWER7 Optimization and Tuning Guide POWER7 and POWER7 Optimization and Tuning Guide...
Страница 223: ......