If you want
to check for
possible ...
CPU
constraints
Unwanted
resource
consumption
You are done.
Steps for using CP commands to improve performance
You can use certain CP commands to aid the performance of Linux guest operating
systems. Remember that improving the performance of one machine can impair
the performance of others.
Before you begin: You need be able to log on as MAINT.
Perform these steps to use CP commands to enhance performance:
1.
2.
Then check these
screens ...
For the whole system:
1. CPU load and trans.
For Linux guests:
1. CPU load and trans.
29. Linux systems
21. User resource usage
1. CPU load and trans.
Note
Do these activities only from a user ID for which QUICKDSP is set on. You
can determine whether you have QUICKDSP on by issuing %CP QUERY
QUICKDSP userid; look for the QUICKDSP setting in the response. To set
QUICKDSP on, issue the %CP SET QUICKDSP userid ON command.
Log on as MAINT.
Base your action on the choices in the table:
Notes
Check the line:
PROC %CPU %CP %EMU %WT %SYS %SP %SIC %LOGLD
v "%LOGLD" is the best way to identify CPU
bottlenecks.
v "%CPU" through "%SP" are calculated on
elapsed time and are a meaningful source for
capacity planning.
Check "User Extremes:" (in the lower right of the
panel) to identify heavy users or malfunctions of
Linux guests (for example, looping).
Check the Linux CPU utilization by entering
"Linux userid" (userid is the virtual machine user
ID).
Linux tools like top report CPU consumption as if
Linux owned the processors and do not consider
that Linux is running under z/VM, so consumption
figures differ with Performance Toolkit for VM.
v On Linux, use ps -ef to show the running tasks.
Remove those tasks you do not need.
v Install the on-demand timer patch, which
disables the Linux wake-up function and allows
z/VM to determine when a Linux guest is truly
idle.
Chapter 11. Monitoring performance and capacity
135
Need help?
Do you have a question about the ZVM - FOR LINUX V6 RELEASE 1 and is the answer not in the manual?
Questions and answers