------- Comment From [email protected] 2025-07-21 09:14 EDT-------
Hmmm, Am I doing something wrong here?!?!?
This is the output I get from an IBM z17 machine:
root@b83lp65:~# dpkg -l | grep s390-tools
ii s390-tools 2.37.0-0ubuntu2.1
s390x fundamental utilities for Linux on z Systems
ii s390-tools-data 2.37.0-0ubuntu2.1
all fundamental utilities for Linux on z Systems (data files)
ii s390-tools-signed 2.37.0-0ubuntu2.1
all Signed zipl stage3.bin
root@b83lp65:~# lscpumf -C| grep -E '^10:'
10:0 CPU_CYCLES
10:1 INSTRUCTIONS
10:2 L1I_DIR_WRITES
10:3 L1I_PENALTY_CYCLES
10:4 L1D_DIR_WRITES
10:5 L1D_PENALTY_CYCLES
10:32 PROBLEM_STATE_CPU_CYCLES
10:33 PROBLEM_STATE_INSTRUCTIONS
10:64 PRNG_FUNCTIONS
10:65 PRNG_CYCLES
10:66 PRNG_BLOCKED_FUNCTIONS
10:67 PRNG_BLOCKED_CYCLES
10:68 SHA_FUNCTIONS
10:69 SHA_CYCLES
10:70 SHA_BLOCKED_FUNCTIONS
10:71 SHA_BLOCKED_CYCLES
10:72 DEA_FUNCTIONS
10:73 DEA_CYCLES
10:74 DEA_BLOCKED_FUNCTIONS
10:75 DEA_BLOCKED_CYCLES
10:76 AES_FUNCTIONS
10:77 AES_CYCLES
10:78 AES_BLOCKED_FUNCTIONS
10:79 AES_BLOCKED_CYCLES
10:80 ECC_FUNCTION_COUNT
10:81 ECC_CYCLES_COUNT
10:82 ECC_BLOCKED_FUNCTION_COUNT
10:83 ECC_BLOCKED_CYCLES_COUNT
~# lscpumf -C| grep -E '^10:'|wc -l
28
~#
The extended counter set is missing completely. There are only 28
counters listed.
When I download the s390-tools repo and build it on the same machine, I get
this:
# cpumf/lscpumf -C| grep -E '^10:'
.... now some counters from the extended counter set
10:164 IDCW_ON_DRAWER_CHIP_HIT
10:165 IDCW_ON_DRAWER_DRAWER_HIT
10:166 IDCW_OFF_DRAWER_IV
10:167 IDCW_OFF_DRAWER_CHIP_HIT
10:168 IDCW_OFF_DRAWER_DRAWER_HIT
10:169 ICW_REQ
10:170 ICW_REQ_IV
10:171 ICW_REQ_CHIP_HIT
10:172 ICW_REQ_DRAWER_HIT
10:173 ICW_ON_CHIP
10:174 ICW_ON_CHIP_IV
10:175 ICW_ON_CHIP_CHIP_HIT
10:176 ICW_ON_CHIP_DRAWER_HIT
10:177 ICW_ON_MODULE
10:178 ICW_ON_DRAWER
10:179 ICW_OFF_DRAWER
10:202 CYCLES_SAMETHRD
10:203 CYCLES_DIFFTHRD
10:204 INST_SAMETHRD
10:205 INST_DIFFTHRD
10:206 WRONG_BRANCH_PREDICTION
10:225 VX_BCD_EXECUTION_SLOTS
10:226 DECIMAL_INSTRUCTIONS
10:232 LAST_HOST_TRANSLATIONS
10:244 TX_NC_TABORT
10:245 TX_C_TABORT_NO_SPECIAL
10:246 TX_C_TABORT_SPECIAL
10:248 DFLT_ACCESS
10:253 DFLT_CYCLES
10:256 SORTL
10:265 DFLT_CC
10:266 DFLT_CCFINISH
10:267 NNPA_INVOCATIONS
10:268 NNPA_COMPLETIONS
10:269 NNPA_WAIT_LOCK
10:270 NNPA_HOLD_LOCK
10:272 NNPA_INST_ONCHIP
10:273 NNPA_INST_OFFCHIP
10:274 NNPA_INST_DIFF
10:276 NNPA_4K_PREFETCH
10:277 NNPA_COMPL_LOCK
10:278 NNPA_RETRY_LOCK
10:279 NNPA_RETRY_LOCK_WITH_PLO
10:448 MT_DIAG_CYCLES_ONE_THR_ACTIVE
10:449 MT_DIAG_CYCLES_TWO_THR_ACTIVE
# cpumf/lscpumf -C| grep -E '^10:' | wc -l
105
#
There are 105 counters listed. This is ok. 28 counters are not
enough....
So is this a build issue?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2103414
Title:
[25.04 FEAT] [post announcement] [KRN2304] CPU-MF Counters for new IBM
Z hardware - s390-tools part
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2103414/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs