cc-metric-collector/collectors/likwid/groups/ivybridgeEP/CBOX.txt
2021-03-25 14:47:10 +01:00

56 lines
2.1 KiB
Plaintext

SHORT CBOX related data and metrics
EVENTSET
FIXC0 INSTR_RETIRED_ANY
FIXC1 CPU_CLK_UNHALTED_CORE
FIXC2 CPU_CLK_UNHALTED_REF
CBOX0C0 LLC_VICTIMS_M_STATE
CBOX1C0 LLC_VICTIMS_M_STATE
CBOX2C0 LLC_VICTIMS_M_STATE
CBOX3C0 LLC_VICTIMS_M_STATE
CBOX4C0 LLC_VICTIMS_M_STATE
CBOX5C0 LLC_VICTIMS_M_STATE
CBOX6C0 LLC_VICTIMS_M_STATE
CBOX7C0 LLC_VICTIMS_M_STATE
CBOX8C0 LLC_VICTIMS_M_STATE
CBOX9C0 LLC_VICTIMS_M_STATE
CBOX10C0 LLC_VICTIMS_M_STATE
CBOX11C0 LLC_VICTIMS_M_STATE
CBOX12C0 LLC_VICTIMS_M_STATE
CBOX13C0 LLC_VICTIMS_M_STATE
CBOX14C0 LLC_VICTIMS_M_STATE
CBOX0C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX1C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX2C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX3C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX4C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX5C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX6C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX7C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX8C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX9C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX10C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX11C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX12C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX13C1:STATE=0x1 LLC_LOOKUP_ANY
CBOX14C1:STATE=0x1 LLC_LOOKUP_ANY
METRICS
Runtime (RDTSC) [s] time
Runtime unhalted [s] FIXC1*inverseClock
Clock [MHz] 1.E-06*(FIXC1/FIXC2)/inverseClock
CPI FIXC1/FIXC0
LLC misses per instruction (CBOX0C0+CBOX1C0+CBOX2C0+CBOX3C0+CBOX4C0+CBOX5C0+CBOX6C0+CBOX7C0+CBOX8C0+CBOX9C0+CBOX10C0+CBOX11C0+CBOX12C0+CBOX13C0+CBOX14C0)/FIXC0
LLC data written to MEM [MBytes] 1E-6*(CBOX0C1:STATE=0x1+CBOX1C1:STATE=0x1+CBOX2C1:STATE=0x1+CBOX3C1:STATE=0x1+CBOX4C1:STATE=0x1+CBOX5C1:STATE=0x1+CBOX6C1:STATE=0x1+CBOX7C1:STATE=0x1+CBOX8C1:STATE=0x1+CBOX9C1:STATE=0x1+CBOX10C1:STATE=0x1+CBOX11C1:STATE=0x1+CBOX12C1:STATE=0x1+CBOX13C1:STATE=0x1+CBOX14C1:STATE=0x1)*64
LONG
Formulas:
LLC misses per instruction = sum(LLC_VICTIMS_M_STATE)/INSTR_RETIRED_ANY
LLC data written to MEM [MBytes] = sum(LLC_LOOKUP_ANY:STATE=0x1)*64*1E-6
--
The CBOXes mediate the traffic from the L2 cache to the segmented L3 cache. Each
CBOX is responsible for one segment (2.5 MByte). The boxes maintain the coherence between all
CPU cores of the socket. Depending on the CPU core count, some CBOXes are not attached
to a 2.5 MByte slice but are still active and track the traffic.