
The RMFWGT query shows the relative dispatch hierarchy for the shared LPARs defined to a CPC, based on the system programmer specified weights for each LPAR. LPAR weights are designated for each logical processor engine type assigned to each LPAR.
In the example, the fourth LPAR from the left, "CA31" has three logical processor engine types assigned—CPs, zIIPs, and zAAPs. Relative to the other LPARs defined to the CPC, the weights assigned to "CA31" tell PR/SM that when there is contention for the physical engines, "CA31" dispatches physical engines to handle its workloads about 30 percent of the time (for CPs) and 33 percent of the time (for zIIPs and zAAPs). For the two LPARs that use IFL engines (green vertical bars), "SYSC" and "VMZ", when there is contention for the IFL engines, VMZ gets about 60 percent of the dispatches and "SYSC" gets about 40 percent.
This query provides a useful overview of how PR/SM reports the various LPARs when there is contention for the physical engines in the shared engine pools. The dispatch priority hierarchy, defined by these relative weight values, should be in agreement with the importance of the business critical applications dispatched on the various LPARs. If the shared engine pool for a particular processor type is heavily used, an LPAR that primarily runs discretionary workloads should not receive as large a percentage of engine dispatches as an LPAR that executes business critical workloads.
CPC LPAR Weights PCT by Engine Pool

PCTCPW - LPAR Pct CP Processor Weight Share
PCTZPAW - LPAR Pct zAAP Processor Weight Share
PCTZIPW - LPAR Pct zIIP Processor Weight Share
PCTIFLW - LPAR Pct IFL Processor Weight Share
PCTICFW - LPAR Pct ICF Processor Weight Share
PRSMLPNM – Logical Partition Name
DATEPART(ENDTS)
TRIM(LPCMOD)||'-'||TRIM(CPCMODID)||'-Serial: '||SUBSTR(CPCSEQNB,12,5);
IF PRSMTWGT AND CP_W THEN PCTCPW=ROUND((CP_W / PRSMTWGT * 100),0.1) ; ELSE PCTCPW=0 ;
IF PRSMZWGT AND ZAP_W THEN PCTZAPW=ROUND((ZAP_W / PRSMZWGT * 100),0.1) ; ELSE PCTZAPW=0 ;
IF PRSMSWGT AND ZIP_W THEN PCTZIPW=ROUND((ZIP_W / PRSMSWGT * 100),0.1) ; ELSE PCTZIPW=0 ;
IF PRSMNWGT AND IFL_W THEN PCTIFLW=ROUND((IFL_W / PRSMNWGT * 100),0.1) ; ELSE PCTIFLW = 0
IF PRSMIWGT AND ICF_W THEN PCTICFW=ROUND((ICF_W / PRSMIWGT * 100),0.1) ; ELSE PCTICFW=0 ;
Note: A user step sets CP_W, ZAP_W, ZIP_W, IFL_W, and ICF_W to the VPABPS (Partition Processor Weight) value for each individual engine type, per LPAR, in the HARVPA file. If an engine type is not present for an LPAR, the corresponding xxx_W element is set to zero.
The following modifications can be made to the RMFWGT query:
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |