PJ40713: LPAR UTILISATION IS 1/3 OF EXPECTED AFTER PJ40215 13/01/21 PTF PECHANGE
Closed as program error.
See Problem Summary.
APAR NUMBER: PJ40713 PRODUCT: z/TPF FUNCTIONAL AREA: CONTINUOUS DATA COLLECTION (CDC) SHIPPED IN PUT: 10 ABSTRACT: LPAR Utilization is incorrect with PJ40215 applied. PACKAGE CONTENTS: Source Segments: (C) base/rt/cdcp.c Object Only Binaries: None. Configuration Independent Binaries: (C) base/obj/cdcp.o (C) base/load/CDCP.so Support Files: base/lst/cdcp.lst base/lst/CDCP.map OTHER BINARIES TO BUILD: NO None. COMMENTS: LPAR utilization is calculated by totaling the dispatch time of all CP-type processors assigned to an LPAR and dividing by the number of CP-type processors assgned to the LPAR. Segemnt cdcp.c, funtion cdc_add_lpar_utilization_data, has a loop that totals the dispatch time of all CP-type processors assigned to an LPAR. A bug in the loop causes the loop to not total the dispatch times: when the loop exits, what should be the total dispatch time of all the CP-type processors is actually the dispatch time of only the last CP-type processor. That incorrect dispatch total is then divided by the correct number of CP-type processors assigned to the LPAR. The result is if there is more than one CP-type processor assigned to the LPAR, CDC will report an incorrect LPAR utilization.
SOLUTION: The solution is to correctly total the dispatch times of all CP-type processors assigned to the LPAR. COREQS: NO None. MIGRATION CONSIDERATIONS: NO None. BUILD COMMANDS AND INSTRUCTIONS: YES #maketpf commands for linux maketpf -f CDCP cdcp.o maketpf CDCP link TPF_VERIFY_LINK_REFS=NO maketpf CDCP link UPDATED INFORMATION UNITS: NO None. See your IBM representative if you need additional information. DOWNLOAD INSTRUCTIONS: http://www.ibm.com/software/htp/tpf/maint/maintztpf.html APAR URL: http://www.ibm.com/software/htp/tpf/ztpfmaint/put10/PJ40713.htm
Reported component name
Reported component ID
NoSpecatt / Xsystem
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
Fixed component ID
Applicable component levels