Question & Answer
Question
How to calculate capture ratio (CR) in z/OS using RMF.
Answer
Capture ratio (CR) is the ratio of captured CPU time to total CPU time for an LPAR.
Captured CPU time is CPU time that is charged to address spaces and enclaves.
Total CPU time includes captured and uncaptured CPU time.
Uncaptured CPU time is CPU time the LPAR consumed but which is not charged back to any address space or enclave.
A healthy CR is generally over 88%.
You can calculate CR using either SMF data or RMF III data.
To calculate capture ratio using post processor job against SMF data:
- To get captured CPU time run the WLMGL report for that LPAR using post processor input :
SYSRPTS(WLMGL(POLICY,SYSNAM(nnnnn))) where nnnnn is the system name .
In this WLMGL report check column APPL %. Field CP is the percentage of one standard CP consumed by address spaces and enclaves.
- To get total CPU time run the CPU report for that LPAR using post processor input statements:
REPORTS(CPU)
SYSID(zzzz) where zzzz is the SMF system id
In this CPU report find column LPAR BUSY.
Use the LPAR BUSY value from row 'Total/Average' for standard CPs.
This is the % of the LPAR's logical CPs that the LPAR consumed in total.
For #CP use the count of standard CPs shown in the LPAR BUSY column for standard CPs.
Note that the CPs are numbered 0 through x, so the count will be x+1.
- Calculation:

- EXAMPLE:
From WLMGL report : 
From CPU ACTIVITY report: 
Calculation:

To calculate capture ratio using RMF III data:
Get into an RMF III reporter session : TSO RMF MON3
Go to SYSINFO report : Type SYSINFO on the command line to jump to that report, or select from the RMF III menu ( (1 OVERVIEW , then 2 SYSINFO).
On the SYSINFO report:
EAPPL% is percentage of the LPAR's logical CPs consumed by address spaces and enclaves (captured cpu).
'Avg CPU UTIL %' is percentage of the LPAR's logical CPs consumed by the LPAR (total cpu)
- Calculation:

- Example:
From RMF III SYSINFO report: 
Calculation:

Was this topic helpful?
Document Information
Modified date:
03 September 2021
UID
isg3T1024112