perf pmu-events: Intel event/metric fixes and TMA 5.32 updates
Subsystems (2)
Ian Rogers
reviewerPATCH v2 26/36 perf vendor events intel: Update meteorlake events and TMA metrics to 5.32
In reply to Ian RogersThe updated TMA 5.32 metrics (TMA_Metrics-full.csv v5.3-full / 5.320-full) were published in:
https://github.com/intel/perfmon/commit/3f0091830d5ec3c1cac94f8c576594a3efb5375f
https://github.com/intel/perfmon/commit/e4e1b41d06c3bf197bd8e60484b43e02fbc20b67
Re-generate meteorlake events and metrics with create_perf_json.py:
- Fix uncore HAC_CBO unit name to "HAC_CBOX" matching mtl_uncore_hac_cbox.
- Drop bogus Available PDIST counters text from non-precise events.
- Escape '=' in hybrid msr@tsc\,cpu\=<unit>@ metric expressions.
- Filter TMA Related metrics and Sample-with references to available events/metrics.
- Prune unused metric groups from metricgroups.json.
--- .../pmu-events/arch/x86/meteorlake/cache.json | 21 ------ .../arch/x86/meteorlake/memory.json | 9 --- .../arch/x86/meteorlake/metricgroups.json | 5 -- .../arch/x86/meteorlake/mtl-metrics.json | 64 ++++++++++--------- .../pmu-events/arch/x86/meteorlake/other.json | 4 -- .../arch/x86/meteorlake/uncore-cache.json | 4 +- 6 files changed, 37 insertions(+), 70 deletions(-)
tools/perf/pmu-events/arch/x86/meteorlake/cache.json +0 -21
@@ -1294,7 +1294,6 @@ "EventName": "OCR.COREWB_M.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3F803C0008", - "PublicDescription": "Counts writebacks of modified cachelines that hit in the L3 or were snooped from another core's caches. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1306,7 +1305,6 @@ "EventName": "OCR.COREWB_NONM.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3F803C1000", - "PublicDescription": "Counts writebacks of non-modified cachelines that hit in the L3 or were snooped from another core's caches. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1318,7 +1316,6 @@ "EventName": "OCR.DEMAND_CODE_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1330,7 +1327,6 @@ "EventName": "OCR.DEMAND_CODE_RD.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3F803C0004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1342,7 +1338,6 @@ "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1354,7 +1349,6 @@ "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x4003C0004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1366,7 +1360,6 @@ "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1378,7 +1371,6 @@ "EventName": "OCR.DEMAND_DATA_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10001", - "PublicDescription": "Counts demand data reads that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1390,7 +1382,6 @@ "EventName": "OCR.DEMAND_DATA_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10001", - "PublicDescription": "Counts demand data reads that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1402,7 +1393,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3F803C0001", - "PublicDescription": "Counts demand data reads that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1414,7 +1404,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0001", - "PublicDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1426,7 +1415,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0001", - "PublicDescription": "Counts demand data reads that resulted in a snoop hit in another cores caches, data forwarding is required as the data is modified. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1438,7 +1426,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x4003C0001", - "PublicDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1450,7 +1437,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0001", - "PublicDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1462,7 +1448,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0001", - "PublicDescription": "Counts demand data reads that resulted in a snoop hit in another cores caches which forwarded the unmodified data to the requesting core. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1474,7 +1459,6 @@ "EventName": "OCR.DEMAND_RFO.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1486,7 +1470,6 @@ "EventName": "OCR.DEMAND_RFO.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10002", - "PublicDescription": "Counts demand read for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1498,7 +1481,6 @@ "EventName": "OCR.DEMAND_RFO.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3F803C0002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1510,7 +1492,6 @@ "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1522,7 +1503,6 @@ "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0002", - "PublicDescription": "Counts demand read for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that resulted in a snoop hit in another cores caches, data forwarding is required as the data is modified. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1534,7 +1514,6 @@ "EventName": "OCR.READS_TO_CORE.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3F803C4477", - "PublicDescription": "Counts all data read, code read, RFO and ITOM requests including demands and prefetches to the core caches (L1 or L2) that hit in the L3 or were snooped from another core's caches. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
tools/perf/pmu-events/arch/x86/meteorlake/memory.json +0 -9
@@ -365,7 +365,6 @@ "EventName": "OCR.DEMAND_CODE_RD.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x184000004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -377,7 +376,6 @@ "EventName": "OCR.DEMAND_CODE_RD.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3FBFC00004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were not supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -389,7 +387,6 @@ "EventName": "OCR.DEMAND_DATA_RD.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x184000001", - "PublicDescription": "Counts demand data reads that were supplied by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -401,7 +398,6 @@ "EventName": "OCR.DEMAND_DATA_RD.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x184000001", - "PublicDescription": "Counts demand data reads that were supplied by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -413,7 +409,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3FBFC00001", - "PublicDescription": "Counts demand data reads that were not supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -425,7 +420,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3FBFC00001", - "PublicDescription": "Counts demand data reads that were not supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -437,7 +431,6 @@ "EventName": "OCR.DEMAND_RFO.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x184000002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -449,7 +442,6 @@ "EventName": "OCR.DEMAND_RFO.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3FBFC00002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were not supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -461,7 +453,6 @@ "EventName": "OCR.DEMAND_RFO.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3FBFC00002", - "PublicDescription": "Counts demand read for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that were not supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
tools/perf/pmu-events/arch/x86/meteorlake/metricgroups.json +0 -5
@@ -38,7 +38,6 @@ "Ifetch": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "InsType": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "IntVector": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "L2Evicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "LSD": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Load_Store_Miss": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "LockCont": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -64,7 +63,6 @@ "Ret": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Retire": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "SMT": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "Server": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Snoop": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "SoC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Summary": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -130,10 +128,8 @@ "tma_l3_bound_group": "Metrics contributing to tma_l3_bound category", "tma_l3_miss_bound_group": "Metrics contributing to tma_l3_miss_bound category", "tma_light_operations_group": "Metrics contributing to tma_light_operations category", - "tma_load_op_utilization_group": "Metrics contributing to tma_load_op_utilization category", "tma_load_stlb_miss_group": "Metrics contributing to tma_load_stlb_miss category", "tma_machine_clears_group": "Metrics contributing to tma_machine_clears category", - "tma_mem_latency_group": "Metrics contributing to tma_mem_latency category", "tma_memory_bound_group": "Metrics contributing to tma_memory_bound category", "tma_microcode_sequencer_group": "Metrics contributing to tma_microcode_sequencer category", "tma_mite_group": "Metrics contributing to tma_mite category",
@@ -145,6 +141,5 @@ "tma_retiring_group": "Metrics contributing to tma_retiring category", "tma_serializing_operation_group": "Metrics contributing to tma_serializing_operation category", "tma_store_bound_group": "Metrics contributing to tma_store_bound category", - "tma_store_op_utilization_group": "Metrics contributing to tma_store_op_utilization category", "tma_store_stlb_miss_group": "Metrics contributing to tma_store_stlb_miss category" }
tools/perf/pmu-events/arch/x86/meteorlake/mtl-metrics.json +35 -29
242 lines not on this page · raw message
tools/perf/pmu-events/arch/x86/meteorlake/other.json +0 -4
@@ -45,7 +45,6 @@ "EventName": "OCR.FULL_STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x800000010000", - "PublicDescription": "Counts streaming stores which modify a full 64 byte cacheline that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -57,7 +56,6 @@ "EventName": "OCR.PARTIAL_STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x400000010000", - "PublicDescription": "Counts streaming stores which modify only part of a 64 byte cacheline that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -69,7 +67,6 @@ "EventName": "OCR.STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10800", - "PublicDescription": "Counts streaming stores that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -81,7 +78,6 @@ "EventName": "OCR.STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10800", - "PublicDescription": "Counts streaming stores that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
tools/perf/pmu-events/arch/x86/meteorlake/uncore-cache.json +2 -2
@@ -6,7 +6,7 @@ "EventName": "UNC_HAC_CBO_TOR_ALLOCATION.ALL", "PerPkg": "1", "UMask": "0x8", - "Unit": "HAC_CBO" + "Unit": "HAC_CBOX" }, { "BriefDescription": "Asserted on coherent DRD + DRdPref allocations into the queue. Cacheable only",
@@ -15,6 +15,6 @@ "EventName": "UNC_HAC_CBO_TOR_ALLOCATION.DRD", "PerPkg": "1", "UMask": "0x1", - "Unit": "HAC_CBO" + "Unit": "HAC_CBOX" } ]
Signature · 1 line
2.56.1.915.g69d5ec7298-goog
Ian Rogers
reviewerPATCH v2 27/36 perf vendor events intel: Update novalake events
In reply to Ian RogersRe-generate novalake events with create_perf_json.py:
- Drop bogus Available PDIST counters text from non-precise events.
- Fix counter count initialization in counter.json.
--- .../perf/pmu-events/arch/x86/novalake/counter.json | 2 +- .../perf/pmu-events/arch/x86/novalake/memory.json | 3 --- tools/perf/pmu-events/arch/x86/novalake/other.json | 14 -------------- 3 files changed, 1 insertion(+), 18 deletions(-)
tools/perf/pmu-events/arch/x86/novalake/counter.json +1 -1
@@ -17,6 +17,6 @@ { "Unit": "CBOX", "CountersNumFixed": "0", - "CountersNumGeneric": 2 + "CountersNumGeneric": "2" } ]
tools/perf/pmu-events/arch/x86/novalake/memory.json +0 -3
@@ -328,7 +328,6 @@ "EventName": "OMR.DEMAND_DATA_RD.L3_MISS", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0xFF03F000000001", - "PublicDescription": "OMR.DEMAND_DATA_RD.L3_MISS Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -340,7 +339,6 @@ "EventName": "OMR.DEMAND_RFO.L3_MISS", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0xFF03F000000002", - "PublicDescription": "OMR.DEMAND_RFO.L3_MISS Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -352,7 +350,6 @@ "EventName": "OMR.READS_TO_CORE.L3_MISS", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0xFF03F000004477", - "PublicDescription": "OMR.READS_TO_CORE.L3_MISS Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
tools/perf/pmu-events/arch/x86/novalake/other.json +0 -14
@@ -158,7 +158,6 @@ "EventName": "OMR.DEMAND_DATA_RD.ANY_MEMORY", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0xF5030000000001", - "PublicDescription": "OMR.DEMAND_DATA_RD.ANY_MEMORY Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -170,7 +169,6 @@ "EventName": "OMR.DEMAND_DATA_RD.ANY_RESPONSE", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0x4000000000000001", - "PublicDescription": "OMR.DEMAND_DATA_RD.ANY_RESPONSE Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -182,7 +180,6 @@ "EventName": "OMR.DEMAND_DATA_RD.L3_SAME_CBB.HIT", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0xED000400000001", - "PublicDescription": "OMR.DEMAND_DATA_RD.L3_SAME_CBB.HIT Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -194,7 +191,6 @@ "EventName": "OMR.DEMAND_DATA_RD.L3_SAME_CBB.HIT.SNP_HIT_NO_FWD", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0x4D000400000001", - "PublicDescription": "OMR.DEMAND_DATA_RD.L3_SAME_CBB.HIT.SNP_HIT_NO_FWD Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -206,7 +202,6 @@ "EventName": "OMR.DEMAND_DATA_RD.L3_SAME_CBB.HITESF", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0xE5000400000001", - "PublicDescription": "OMR.DEMAND_DATA_RD.L3_SAME_CBB.HITESF Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -218,7 +213,6 @@ "EventName": "OMR.DEMAND_DATA_RD.L3_SAME_CBB.HITM", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0xE9000400000001", - "PublicDescription": "OMR.DEMAND_DATA_RD.L3_SAME_CBB.HITM Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -230,7 +224,6 @@ "EventName": "OMR.DEMAND_DATA_RD.MEM_REGION_0", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0xF5010000000001", - "PublicDescription": "OMR.DEMAND_DATA_RD.MEM_REGION_0 Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -242,7 +235,6 @@ "EventName": "OMR.DEMAND_DATA_RD.MEM_REGION_1", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0xF5020000000001", - "PublicDescription": "OMR.DEMAND_DATA_RD.MEM_REGION_1 Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -254,7 +246,6 @@ "EventName": "OMR.DEMAND_RFO.ANY_RESPONSE", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0x4000000000000002", - "PublicDescription": "OMR.DEMAND_RFO.ANY_RESPONSE Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -266,7 +257,6 @@ "EventName": "OMR.DEMAND_RFO.L3_SAME_CBB.HITM", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0xE9000400000002", - "PublicDescription": "OMR.DEMAND_RFO.L3_SAME_CBB.HITM Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -278,7 +268,6 @@ "EventName": "OMR.MODIFIED_WRITE.ANY_RESPONSE", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0x4000000000000808", - "PublicDescription": "OMR.MODIFIED_WRITE.ANY_RESPONSE Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -290,7 +279,6 @@ "EventName": "OMR.READS_TO_CORE.ANY_MEMORY", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0xF5030000004477", - "PublicDescription": "OMR.READS_TO_CORE.ANY_MEMORY Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -302,7 +290,6 @@ "EventName": "OMR.READS_TO_CORE.ANY_RESPONSE", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0x4000000000004477", - "PublicDescription": "OMR.READS_TO_CORE.ANY_RESPONSE Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -314,7 +301,6 @@ "EventName": "OMR.STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x3E0,0x3E1,0x3E2,0x3E3", "MSRValue": "0x4000000000000800", - "PublicDescription": "OMR.STREAMING_WR.ANY_RESPONSE Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
Signature · 1 line
2.56.1.915.g69d5ec7298-goog
Ian Rogers
reviewerPATCH v2 28/36 perf vendor events intel: Update pantherlake events
In reply to Ian RogersRe-generate pantherlake events with create_perf_json.py:
- Drop bogus Available PDIST counters text from non-precise events.
- Fix counter count initialization in counter.json.
--- tools/perf/pmu-events/arch/x86/pantherlake/cache.json | 10 ---------- .../perf/pmu-events/arch/x86/pantherlake/counter.json | 2 +- tools/perf/pmu-events/arch/x86/pantherlake/memory.json | 6 ------ tools/perf/pmu-events/arch/x86/pantherlake/other.json | 1 - 4 files changed, 1 insertion(+), 18 deletions(-)
tools/perf/pmu-events/arch/x86/pantherlake/cache.json +0 -10
@@ -1366,7 +1366,6 @@ "EventName": "OCR.COREWB_M.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x7E001E00008", - "PublicDescription": "Counts writebacks of modified cachelines that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1378,7 +1377,6 @@ "EventName": "OCR.COREWB_NONM.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x7E001E01000", - "PublicDescription": "Counts writebacks of non-modified cachelines that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1390,7 +1388,6 @@ "EventName": "OCR.DEMAND_DATA_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10001", - "PublicDescription": "Counts demand data reads that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1402,7 +1399,6 @@ "EventName": "OCR.DEMAND_DATA_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10001", - "PublicDescription": "Counts demand data reads that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1414,7 +1410,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x40001E00001", - "PublicDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop hit in another cores caches, data forwarding is required as the data is modified. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1426,7 +1421,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x20001E00001", - "PublicDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop hit in another cores caches which forwarded the unmodified data to the requesting core. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1438,7 +1432,6 @@ "EventName": "OCR.DEMAND_RFO.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10002", - "PublicDescription": "Counts demand read for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -1450,7 +1443,6 @@ "EventName": "OCR.DEMAND_RFO.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10002", - "PublicDescription": "Counts demand read for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1462,7 +1454,6 @@ "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x40001E00002", - "PublicDescription": "Counts demand read for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop hit in another cores caches, data forwarding is required as the data is modified. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -1474,7 +1465,6 @@ "EventName": "OCR.READS_TO_CORE.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x7E001E04477", - "PublicDescription": "Counts all data read, code read, RFO and ITOM requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
tools/perf/pmu-events/arch/x86/pantherlake/counter.json +1 -1
@@ -16,7 +16,7 @@ }, { "Unit": "SANTA", - "CountersNumFixed": 1, + "CountersNumFixed": "1", "CountersNumGeneric": "0" } ]
tools/perf/pmu-events/arch/x86/pantherlake/memory.json +0 -6
@@ -260,7 +260,6 @@ "EventName": "OCR.DEMAND_DATA_RD.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x7BC000001", - "PublicDescription": "Counts demand data reads that were supplied by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -272,7 +271,6 @@ "EventName": "OCR.DEMAND_DATA_RD.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1E780000001", - "PublicDescription": "Counts demand data reads that were supplied by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -284,7 +282,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x13FBFC00001", - "PublicDescription": "Counts demand data reads that were not supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -296,7 +293,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x9E7FA000001", - "PublicDescription": "Counts demand data reads that were not supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
@@ -308,7 +304,6 @@ "EventName": "OCR.DEMAND_RFO.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x13FBFC00002", - "PublicDescription": "Counts demand read for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that were not supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom"
@@ -320,7 +315,6 @@ "EventName": "OCR.DEMAND_RFO.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x9E7FA000002", - "PublicDescription": "Counts demand read for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that were not supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
tools/perf/pmu-events/arch/x86/pantherlake/other.json +0 -1
@@ -45,7 +45,6 @@ "EventName": "OCR.STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10800", - "PublicDescription": "Counts streaming stores that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core"
Signature · 1 line
2.56.1.915.g69d5ec7298-goog
Ian Rogers
reviewerPATCH v2 29/36 perf vendor events intel: Update rocketlake events and TMA metrics to 5.32
In reply to Ian RogersThe updated TMA 5.32 metrics (TMA_Metrics-full.csv v5.3-full / 5.320-full) were published in:
https://github.com/intel/perfmon/commit/3f0091830d5ec3c1cac94f8c576594a3efb5375f
https://github.com/intel/perfmon/commit/e4e1b41d06c3bf197bd8e60484b43e02fbc20b67
Re-generate rocketlake events and metrics with create_perf_json.py:
- Fix counter count initialization in counter.json.
- Filter TMA Related metrics and Sample-with references to available events/metrics.
- Prune unused metric groups from metricgroups.json.
--- .../arch/x86/rocketlake/counter.json | 2 +- .../arch/x86/rocketlake/metricgroups.json | 5 --- .../arch/x86/rocketlake/rkl-metrics.json | 45 +++++++++---------- 3 files changed, 23 insertions(+), 29 deletions(-)
tools/perf/pmu-events/arch/x86/rocketlake/counter.json +1 -1
@@ -11,7 +11,7 @@ }, { "Unit": "CLOCK", - "CountersNumFixed": 1, + "CountersNumFixed": "1", "CountersNumGeneric": "0" } ]
tools/perf/pmu-events/arch/x86/rocketlake/metricgroups.json +0 -5
@@ -35,7 +35,6 @@ "HPC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "IcMiss": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "InsType": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "L2Evicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "LSD": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "LockCont": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "MachineClears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -59,7 +58,6 @@ "Ret": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Retire": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "SMT": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "Server": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Snoop": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "SoC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Summary": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -121,10 +119,8 @@ "tma_l3_bound_group": "Metrics contributing to tma_l3_bound category", "tma_l3_miss_bound_group": "Metrics contributing to tma_l3_miss_bound category", "tma_light_operations_group": "Metrics contributing to tma_light_operations category", - "tma_load_op_utilization_group": "Metrics contributing to tma_load_op_utilization category", "tma_load_stlb_miss_group": "Metrics contributing to tma_load_stlb_miss category", "tma_machine_clears_group": "Metrics contributing to tma_machine_clears category", - "tma_mem_latency_group": "Metrics contributing to tma_mem_latency category", "tma_memory_bound_group": "Metrics contributing to tma_memory_bound category", "tma_microcode_sequencer_group": "Metrics contributing to tma_microcode_sequencer category", "tma_mite_group": "Metrics contributing to tma_mite category",
@@ -135,6 +131,5 @@ "tma_retiring_group": "Metrics contributing to tma_retiring category", "tma_serializing_operation_group": "Metrics contributing to tma_serializing_operation category", "tma_store_bound_group": "Metrics contributing to tma_store_bound category", - "tma_store_op_utilization_group": "Metrics contributing to tma_store_op_utilization category", "tma_store_stlb_miss_group": "Metrics contributing to tma_store_stlb_miss category" }
tools/perf/pmu-events/arch/x86/rocketlake/rkl-metrics.json +22 -23
175 lines not on this page · raw message
Signature · 1 line
2.56.1.915.g69d5ec7298-goog
Ian Rogers
reviewerPATCH v2 30/36 perf vendor events intel: Update sandybridge metrics to TMA 5.32
In reply to Ian RogersThe updated TMA 5.32 metrics (TMA_Metrics-full.csv v5.3-full / 5.320-full) were published in:
https://github.com/intel/perfmon/commit/3f0091830d5ec3c1cac94f8c576594a3efb5375f
https://github.com/intel/perfmon/commit/e4e1b41d06c3bf197bd8e60484b43e02fbc20b67
Re-generate sandybridge metrics with create_perf_json.py:
- Filter TMA Related metrics and Sample-with references to available events/metrics.
- Prune unused metric groups from metricgroups.json.
--- .../arch/x86/sandybridge/metricgroups.json | 37 +------------------ .../arch/x86/sandybridge/snb-metrics.json | 32 ++++++++-------- 2 files changed, 17 insertions(+), 52 deletions(-)
tools/perf/pmu-events/arch/x86/sandybridge/metricgroups.json +1 -36
@@ -1,6 +1,5 @@ { "Backend": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "Bad": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "BadSpec": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "BigFootprint": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "BrMispredicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -17,7 +16,6 @@ "BvOB": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "BvUW": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "CacheHits": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "CacheMisses": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Compute": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Cor": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "DSB": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -26,17 +24,9 @@ "FetchBW": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "FetchLat": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Flops": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "FpScalar": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "FpVector": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Frontend": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "HPC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "IcMiss": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "InsType": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "L2Evicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "LSD": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "LockCont": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "MachineClears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "Machine_Clears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Mem": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "MemOffcore": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "MemoryBW": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -50,12 +40,9 @@ "Pipeline": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "PortsUtil": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Power": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "Prefetches": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Ret": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Retire": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "SMT": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "Server": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "Snoop": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "SoC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Summary": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "TmaL1": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -66,55 +53,33 @@ "TopdownL3": "Metrics for top-down breakdown at level 3", "TopdownL4": "Metrics for top-down breakdown at level 4", "TopdownL5": "Metrics for top-down breakdown at level 5", - "TopdownL6": "Metrics for top-down breakdown at level 6", "tma_L1_group": "Metrics for top-down breakdown at level 1", "tma_L2_group": "Metrics for top-down breakdown at level 2", "tma_L3_group": "Metrics for top-down breakdown at level 3", "tma_L4_group": "Metrics for top-down breakdown at level 4", "tma_L5_group": "Metrics for top-down breakdown at level 5", - "tma_L6_group": "Metrics for top-down breakdown at level 6", - "tma_alu_op_utilization_group": "Metrics contributing to tma_alu_op_utilization category", "tma_backend_bound_group": "Metrics contributing to tma_backend_bound category", "tma_bad_speculation_group": "Metrics contributing to tma_bad_speculation category", - "tma_branch_resteers_group": "Metrics contributing to tma_branch_resteers category", "tma_core_bound_group": "Metrics contributing to tma_core_bound category", - "tma_divider_group": "Metrics contributing to tma_divider category", - "tma_dtlb_load_group": "Metrics contributing to tma_dtlb_load category", - "tma_dtlb_store_group": "Metrics contributing to tma_dtlb_store category", - "tma_fetch_bandwidth_group": "Metrics contributing to tma_fetch_bandwidth category", "tma_fetch_latency_group": "Metrics contributing to tma_fetch_latency category", "tma_fp_arith_group": "Metrics contributing to tma_fp_arith category", "tma_fp_vector_group": "Metrics contributing to tma_fp_vector category", "tma_frontend_bound_group": "Metrics contributing to tma_frontend_bound category", "tma_heavy_operations_group": "Metrics contributing to tma_heavy_operations category", - "tma_icache_misses_group": "Metrics contributing to tma_icache_misses category", "tma_issue2P": "Metrics related by the issue $issue2P", "tma_issueBM": "Metrics related by the issue $issueBM", "tma_issueBW": "Metrics related by the issue $issueBW", "tma_issueFB": "Metrics related by the issue $issueFB", - "tma_issueL1": "Metrics related by the issue $issueL1", "tma_issueLat": "Metrics related by the issue $issueLat", "tma_issueMC": "Metrics related by the issue $issueMC", "tma_issueMS": "Metrics related by the issue $issueMS", "tma_issueMV": "Metrics related by the issue $issueMV", - "tma_issueRFO": "Metrics related by the issue $issueRFO", - "tma_issueSL": "Metrics related by the issue $issueSL", "tma_issueSO": "Metrics related by the issue $issueSO", - "tma_issueSmSt": "Metrics related by the issue $issueSmSt", "tma_issueSyncxn": "Metrics related by the issue $issueSyncxn", "tma_issueTLB": "Metrics related by the issue $issueTLB", - "tma_itlb_misses_group": "Metrics contributing to tma_itlb_misses category", "tma_l1_bound_group": "Metrics contributing to tma_l1_bound category", "tma_l3_miss_bound_group": "Metrics contributing to tma_l3_miss_bound category", "tma_light_operations_group": "Metrics contributing to tma_light_operations category", - "tma_machine_clears_group": "Metrics contributing to tma_machine_clears category", - "tma_mem_latency_group": "Metrics contributing to tma_mem_latency category", "tma_memory_bound_group": "Metrics contributing to tma_memory_bound category", - "tma_microcode_sequencer_group": "Metrics contributing to tma_microcode_sequencer category", - "tma_ports_utilization_group": "Metrics contributing to tma_ports_utilization category", - "tma_ports_utilized_0_group": "Metrics contributing to tma_ports_utilized_0 category", - "tma_retiring_group": "Metrics contributing to tma_retiring category", - "tma_serializing_operation_group": "Metrics contributing to tma_serializing_operation category", - "tma_store_bound_group": "Metrics contributing to tma_store_bound category", - "tma_store_op_utilization_group": "Metrics contributing to tma_store_op_utilization category" + "tma_retiring_group": "Metrics contributing to tma_retiring category" }
tools/perf/pmu-events/arch/x86/sandybridge/snb-metrics.json +16 -16
@@ -97,7 +97,7 @@ "MetricName": "tma_branch_mispredicts", "MetricThreshold": "tma_branch_mispredicts > 0.1 & tma_bad_speculation > 0.15", "MetricgroupNoGroup": "TopdownL2", - "PublicDescription": "This metric represents fraction of slots the CPU has wasted due to Branch Misprediction. These slots are either wasted by uops fetched from an incorrectly speculated program path; or stalls when the out-of-order part of the machine needs to recover its state from a speculative path. Sample with: BR_MISP_RETIRED.ALL_BRANCHES. Related metrics: tma_info_bad_spec_branch_misprediction_cost, tma_mispredicts_resteers", + "PublicDescription": "This metric represents fraction of slots the CPU has wasted due to Branch Misprediction. These slots are either wasted by uops fetched from an incorrectly speculated program path; or stalls when the out-of-order part of the machine needs to recover its state from a speculative path. Sample with: BR_MISP_RETIRED.ALL_BRANCHES_PS", "ScaleUnit": "100%" }, {
@@ -126,7 +126,7 @@ "MetricGroup": "BvCB;TopdownL3;tma_L3_group;tma_core_bound_group", "MetricName": "tma_divider", "MetricThreshold": "tma_divider > 0.2 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", - "PublicDescription": "This metric represents fraction of cycles where the Divider unit was active. Divide and square root instructions are performed by the Divider unit and can take considerably longer latency than integer or Floating Point addition; subtraction; or multiplication. Sample with: ARITH.DIVIDER_ACTIVE", + "PublicDescription": "This metric represents fraction of cycles where the Divider unit was active. Divide and square root instructions are performed by the Divider unit and can take considerably longer latency than integer or Floating Point addition; subtraction; or multiplication. Sample with: ARITH.FPU_DIV_ACTIVE", "ScaleUnit": "100%" }, {
@@ -144,7 +144,7 @@ "MetricGroup": "BvMT;MemoryTLB;TopdownL4;tma_L4_group;tma_issueTLB;tma_l1_bound_group", "MetricName": "tma_dtlb_load", "MetricThreshold": "tma_dtlb_load > 0.1", - "PublicDescription": "This metric roughly estimates the fraction of cycles where the Data TLB (DTLB) was missed by load accesses. TLBs (Translation Look-aside Buffers) are processor caches for recently used entries out of the Page Tables that are used to map virtual- to physical-addresses by the operating system. This metric approximates the potential delay of demand loads missing the first-level data TLB (assuming worst case scenario with back to back misses to different pages). This includes hitting in the second-level TLB (STLB) as well as performing a hardware page walk on an STLB miss. Sample with: MEM_UOPS_RETIRED.STLB_MISS_LOADS_PS. Related metrics: tma_dtlb_store", + "PublicDescription": "This metric roughly estimates the fraction of cycles where the Data TLB (DTLB) was missed by load accesses. TLBs (Translation Look-aside Buffers) are processor caches for recently used entries out of the Page Tables that are used to map virtual- to physical-addresses by the operating system. This metric approximates the potential delay of demand loads missing the first-level data TLB (assuming worst case scenario with back to back misses to different pages). This includes hitting in the second-level TLB (STLB) as well as performing a hardware page walk on an STLB miss. Sample with: MEM_UOPS_RETIRED.STLB_MISS_LOADS_PS", "ScaleUnit": "100%" }, {
@@ -173,7 +173,7 @@ "MetricGroup": "HPC;TopdownL3;tma_L3_group;tma_light_operations_group", "MetricName": "tma_fp_arith", "MetricThreshold": "tma_fp_arith > 0.2 & tma_light_operations > 0.6", - "PublicDescription": "This metric represents overall arithmetic floating-point (FP) operations fraction the CPU has executed (retired). Note this metric's value may exceed its parent due to use of \"Uops\" CountDomain and FMA double-counting.", + "PublicDescription": "This metric represents overall arithmetic floating-point (FP) operations fraction the CPU has executed (retired). Note this metric's value may exceed its parent due to use of \"Uops\" CountDomain and FMA double-counting prior to NVL.", "ScaleUnit": "100%" }, {
@@ -182,7 +182,7 @@ "MetricGroup": "Compute;Flops;TopdownL4;tma_L4_group;tma_fp_arith_group;tma_issue2P", "MetricName": "tma_fp_scalar", "MetricThreshold": "tma_fp_scalar > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", - "PublicDescription": "This metric approximates arithmetic floating-point (FP) scalar uops fraction the CPU has retired. May overcount due to FMA double counting. Related metrics: tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_6, tma_ports_utilized_2", + "PublicDescription": "This metric approximates arithmetic floating-point (FP) scalar uops fraction the CPU has retired. May overcount due to FMA double counting prior to NVL. Related metrics: tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b", "ScaleUnit": "100%" }, {
@@ -191,7 +191,7 @@ "MetricGroup": "Compute;Flops;TopdownL4;tma_L4_group;tma_fp_arith_group;tma_issue2P", "MetricName": "tma_fp_vector", "MetricThreshold": "tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", - "PublicDescription": "This metric approximates arithmetic floating-point (FP) vector uops fraction the CPU has retired aggregated across all vector widths. May overcount due to FMA double counting. Related metrics: tma_fp_scalar, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_6, tma_ports_utilized_2", + "PublicDescription": "This metric approximates arithmetic floating-point (FP) vector uops fraction the CPU has retired aggregated across all vector widths. May overcount due to FMA double counting prior to NVL. Related metrics: tma_fp_scalar, tma_fp_vector_128b, tma_fp_vector_256b", "ScaleUnit": "100%" }, {
@@ -200,7 +200,7 @@ "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P", "MetricName": "tma_fp_vector_128b", "MetricThreshold": "tma_fp_vector_128b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))", - "PublicDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 128-bit wide vectors. May overcount due to FMA double counting prior to LNL. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_6, tma_ports_utilized_2", + "PublicDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 128-bit wide vectors. May overcount due to FMA double counting prior to NVL. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_256b", "ScaleUnit": "100%" }, {
@@ -209,7 +209,7 @@ "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P", "MetricName": "tma_fp_vector_256b", "MetricThreshold": "tma_fp_vector_256b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))", - "PublicDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 256-bit wide vectors. May overcount due to FMA double counting prior to LNL. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_512b, tma_port_6, tma_ports_utilized_2", + "PublicDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 256-bit wide vectors. May overcount due to FMA double counting prior to NVL. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b", "ScaleUnit": "100%" }, {
@@ -306,7 +306,7 @@ "MetricExpr": "64 * (UNC_ARB_TRK_REQUESTS.ALL + UNC_ARB_COH_TRK_REQUESTS.ALL) / 1e6 / tma_info_system_time / 1e3", "MetricGroup": "HPC;MemOffcore;MemoryBW;SoC;tma_issueBW", "MetricName": "tma_info_system_dram_bw_use", - "PublicDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]. Related metrics: tma_mem_bandwidth, tma_uc_bound" + "PublicDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]. Related metrics: tma_mem_bandwidth" }, { "BriefDescription": "Giga Floating Point Operations Per Second",
@@ -421,7 +421,7 @@ "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", "MetricName": "tma_l3_bound", "MetricThreshold": "tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", - "PublicDescription": "This metric estimates how often the CPU was stalled due to loads accesses to L3 cache or contended with a sibling Core. Avoiding cache misses (i.e. L2 misses/L3 hits) can improve the latency and increase performance. Sample with: MEM_LOAD_RETIRED.L3_HIT_PS", + "PublicDescription": "This metric estimates how often the CPU was stalled due to loads accesses to L3 cache or contended with a sibling Core. Avoiding cache misses (i.e. L2 misses/L3 hits) can improve the latency and increase performance. Sample with: MEM_LOAD_UOPS_RETIRED.LLC_HIT_PS", "ScaleUnit": "100%" }, {
@@ -430,7 +430,7 @@ "MetricGroup": "MemoryBound;Offcore;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", "MetricName": "tma_l3_miss_bound", "MetricThreshold": "tma_l3_miss_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", - "PublicDescription": "This metric estimates how often the CPU was stalled on accesses to external memory (DRAM) by loads. Better caching can improve the latency and increase performance. Sample with: MEM_LOAD_RETIRED.L3_MISS", + "PublicDescription": "This metric estimates how often the CPU was stalled on accesses to external memory (DRAM) by loads. Better caching can improve the latency and increase performance. Sample with: MEM_LOAD_UOPS_MISC_RETIRED.LLC_MISS_PS", "ScaleUnit": "100%" }, {
@@ -460,7 +460,7 @@ "MetricName": "tma_machine_clears", "MetricThreshold": "tma_machine_clears > 0.1 & tma_bad_speculation > 0.15", "MetricgroupNoGroup": "TopdownL2", - "PublicDescription": "This metric represents fraction of slots the CPU has wasted due to Machine Clears. These slots are either wasted by uops fetched prior to the clear; or stalls the out-of-order portion of the machine needs to recover its state after the clear. For example; this can happen due to memory ordering Nukes (e.g. Memory Disambiguation) or Self-Modifying-Code (SMC) nukes. Sample with: MACHINE_CLEARS.COUNT. Related metrics: tma_clears_resteers, tma_l1_bound, tma_microcode_sequencer, tma_ms_switches, tma_remote_cache", + "PublicDescription": "This metric represents fraction of slots the CPU has wasted due to Machine Clears. These slots are either wasted by uops fetched prior to the clear; or stalls the out-of-order portion of the machine needs to recover its state after the clear. For example; this can happen due to memory ordering Nukes (e.g. Memory Disambiguation) or Self-Modifying-Code (SMC) nukes. Sample with: MACHINE_CLEARS.COUNT. Related metrics: tma_microcode_sequencer, tma_ms_switches", "ScaleUnit": "100%" }, {
@@ -469,7 +469,7 @@ "MetricGroup": "BvMB;MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_issueBW;tma_l3_miss_bound_group", "MetricName": "tma_mem_bandwidth", "MetricThreshold": "tma_mem_bandwidth > 0.2 & (tma_l3_miss_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", - "PublicDescription": "This metric estimates fraction of cycles where the core's performance was likely hurt due to approaching bandwidth limits of external memory - DRAM ([SPR-HBM] and/or HBM). The underlying heuristic assumes that a similar off-core traffic is generated by all IA cores. This metric does not aggregate non-data-read requests by this logical processor; requests from other IA Logical Processors/Physical Cores/sockets; or other non-IA devices like GPU; hence the maximum external memory bandwidth limits may or may not be approached when this metric is flagged (see Uncore counters for that). Related metrics: tma_info_system_dram_bw_use, tma_uc_bound", + "PublicDescription": "This metric estimates fraction of cycles where the core's performance was likely hurt due to approaching bandwidth limits of external memory - DRAM ([SPR-HBM] and/or HBM). The underlying heuristic assumes that a similar off-core traffic is generated by all IA cores. This metric does not aggregate non-data-read requests by this logical processor; requests from other IA Logical Processors/Physical Cores/sockets; or other non-IA devices like GPU; hence the maximum external memory bandwidth limits may or may not be approached when this metric is flagged (see Uncore counters for that). Related metrics: tma_info_system_dram_bw_use", "ScaleUnit": "100%" }, {
@@ -478,7 +478,7 @@ "MetricGroup": "BvML;MemoryLat;Offcore;TopdownL4;tma_L4_group;tma_issueLat;tma_l3_miss_bound_group", "MetricName": "tma_mem_latency", "MetricThreshold": "tma_mem_latency > 0.1 & (tma_l3_miss_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", - "PublicDescription": "This metric estimates fraction of cycles where the performance was likely hurt due to latency from external memory - DRAM ([SPR-HBM] and/or HBM). This metric does not aggregate requests from other Logical Processors/Physical Cores/sockets (see Uncore counters for that). Related metrics: ", + "PublicDescription": "This metric estimates fraction of cycles where the performance was likely hurt due to latency from external memory - DRAM ([SPR-HBM] and/or HBM). This metric does not aggregate requests from other Logical Processors/Physical Cores/sockets (see Uncore counters for that).", "ScaleUnit": "100%" }, {
@@ -498,7 +498,7 @@ "MetricGroup": "MicroSeq;TopdownL3;tma_L3_group;tma_heavy_operations_group;tma_issueMC;tma_issueMS", "MetricName": "tma_microcode_sequencer", "MetricThreshold": "tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1", - "PublicDescription": "This metric represents fraction of slots the CPU was retiring uops fetched by the Microcode Sequencer (MS) unit. The MS is used for CISC instructions not supported by the default decoders (like repeat move strings; or CPUID); or by microcode assists used to address some operation modes (like in Floating Point assists). These cases can often be avoided. Sample with: IDQ.MS_UOPS. Related metrics: tma_clears_resteers, tma_l1_bound, tma_machine_clears, tma_ms_switches", + "PublicDescription": "This metric represents fraction of slots the CPU was retiring uops fetched by the Microcode Sequencer (MS) unit. The MS is used for CISC instructions not supported by the default decoders (like repeat move strings; or CPUID); or by microcode assists used to address some operation modes (like in Floating Point assists). These cases can often be avoided. Sample with: IDQ.MS_UOPS. Related metrics: tma_machine_clears, tma_ms_switches", "ScaleUnit": "100%" }, {
@@ -507,7 +507,7 @@ "MetricGroup": "FetchLat;MicroSeq;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueMC;tma_issueMS;tma_issueMV;tma_issueSO", "MetricName": "tma_ms_switches", "MetricThreshold": "tma_ms_switches > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", - "PublicDescription": "This metric estimates the fraction of cycles when the CPU was stalled due to switches of uop delivery to the Microcode Sequencer (MS). Commonly used instructions are optimized for delivery by the DSB (decoded i-cache) or MITE (legacy instruction decode) pipelines. Certain operations cannot be handled natively by the execution pipeline; and must be performed by microcode (small programs injected into the execution stream). Switching to the MS too often can negatively impact performance. The MS is designated to deliver long uop flows required by CISC instructions like CPUID; or uncommon conditions like Floating Point Assists when dealing with Denormals. Sample with: IDQ.MS_SWITCHES. Related metrics: tma_clears_resteers, tma_info_inst_mix_vectormixpki, tma_l1_bound, tma_machine_clears, tma_microcode_sequencer, tma_mixing_vectors, tma_serializing_operation", + "PublicDescription": "This metric estimates the fraction of cycles when the CPU was stalled due to switches of uop delivery to the Microcode Sequencer (MS). Commonly used instructions are optimized for delivery by the DSB (decoded i-cache) or MITE (legacy instruction decode) pipelines. Certain operations cannot be handled natively by the execution pipeline; and must be performed by microcode (small programs injected into the execution stream). Switching to the MS too often can negatively impact performance. The MS is designated to deliver long uop flows required by CISC instructions like CPUID; or uncommon conditions like Floating Point Assists when dealing with Denormals. Sample with: IDQ.MS_SWITCHES. Related metrics: tma_machine_clears, tma_microcode_sequencer", "ScaleUnit": "100%" }, {
Signature · 1 line
2.56.1.915.g69d5ec7298-goog
Ian Rogers
reviewerPATCH v2 31/36 perf vendor events intel: Update sapphirerapids events to 1.41 and TMA metrics to 5.32
In reply to Ian RogersThe updated events were published in:
https://github.com/intel/perfmon/commit/f66cf9f93bf3f38d1e9588881297480c133b18e2
The updated TMA 5.32 metrics (TMA_Metrics-full.csv v5.3-full / 5.320-full) were published in:
https://github.com/intel/perfmon/commit/3f0091830d5ec3c1cac94f8c576594a3efb5375f
https://github.com/intel/perfmon/commit/e4e1b41d06c3bf197bd8e60484b43e02fbc20b67
Re-generate sapphirerapids events and metrics with create_perf_json.py:
- Drop bogus Available PDIST counters text from non-precise events.
- Drop zero-valued PortMask/FCMask fields from uncore events.
- Use aggr_nr() in uncore frequency/occupancy metric expressions.
- Filter TMA Related metrics and Sample-with references to available events/metrics.
- Prune unused metric groups from metricgroups.json.
--- tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +- .../arch/x86/sapphirerapids/cache.json | 43 --------- .../arch/x86/sapphirerapids/memory.json | 29 +----- .../arch/x86/sapphirerapids/metricgroups.json | 3 - .../arch/x86/sapphirerapids/other.json | 1 - .../arch/x86/sapphirerapids/spr-metrics.json | 71 ++++++++------- .../arch/x86/sapphirerapids/uncore-cache.json | 39 +++----- .../sapphirerapids/uncore-interconnect.json | 62 +++++++------ .../arch/x86/sapphirerapids/uncore-io.json | 70 ++++++++------- .../x86/sapphirerapids/uncore-memory.json | 90 ------------------- 10 files changed, 119 insertions(+), 291 deletions(-)
tools/perf/pmu-events/arch/x86/mapfile.csv +1 -1
@@ -31,7 +31,7 @@ GenuineIntel-18-[13],v1.05,novalake,core GenuineIntel-6-(CC|D5|E5),v1.08,pantherlake,core GenuineIntel-6-A7,v1.06,rocketlake,core GenuineIntel-6-2A,v19,sandybridge,core -GenuineIntel-6-8F,v1.40,sapphirerapids,core +GenuineIntel-6-8F,v1.41,sapphirerapids,core GenuineIntel-6-AF,v1.18,sierraforest,core GenuineIntel-6-(37|4A|4C|4D|5A),v15,silvermont,core GenuineIntel-6-(4E|5E|8E|9E|A5|A6),v59,skylake,core
tools/perf/pmu-events/arch/x86/sapphirerapids/cache.json +0 -43
301 lines not on this page · raw message
tools/perf/pmu-events/arch/x86/sapphirerapids/memory.json +1 -28
@@ -13,7 +13,7 @@ "Counter": "0,1,2,3,4,5,6,7", "EventCode": "0xc3", "EventName": "MACHINE_CLEARS.MEMORY_ORDERING", - "PublicDescription": "Counts the number of Machine Clears detected dye to memory ordering. Memory Ordering Machine Clears may apply when a memory read may not conform to the memory ordering rules of the x86 architecture", + "PublicDescription": "Counts the number of Machine Clears detected due to memory ordering. Memory Ordering Machine Clears may apply when a memory read may not conform to the memory ordering rules of the x86 architecture", "SampleAfterValue": "100003", "UMask": "0x2" },
@@ -215,7 +215,6 @@ "EventName": "OCR.DEMAND_CODE_RD.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x73C000004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -226,7 +225,6 @@ "EventName": "OCR.DEMAND_CODE_RD.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3FBFC00004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were not supplied by the local socket's L1, L2, or L3 caches. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -237,7 +235,6 @@ "EventName": "OCR.DEMAND_CODE_RD.LOCAL_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x104000004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by DRAM attached to this socket, unless in Sub NUMA Cluster(SNC) Mode. In SNC Mode counts only those DRAM accesses that are controlled by the close SNC Cluster. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -248,7 +245,6 @@ "EventName": "OCR.DEMAND_CODE_RD.SNC_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x708000004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by DRAM on a distant memory controller of this socket when the system is in SNC (sub-NUMA cluster) mode. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -259,7 +255,6 @@ "EventName": "OCR.DEMAND_DATA_RD.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x73C000001", - "PublicDescription": "Counts demand data reads that were supplied by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -270,7 +265,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3FBFC00001", - "PublicDescription": "Counts demand data reads that were not supplied by the local socket's L1, L2, or L3 caches. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -281,7 +275,6 @@ "EventName": "OCR.DEMAND_DATA_RD.LOCAL_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x104000001", - "PublicDescription": "Counts demand data reads that were supplied by DRAM attached to this socket, unless in Sub NUMA Cluster(SNC) Mode. In SNC Mode counts only those DRAM accesses that are controlled by the close SNC Cluster. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -292,7 +285,6 @@ "EventName": "OCR.DEMAND_DATA_RD.REMOTE_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x730000001", - "PublicDescription": "Counts demand data reads that were supplied by DRAM attached to another socket. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -303,7 +295,6 @@ "EventName": "OCR.DEMAND_DATA_RD.SNC_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x708000001", - "PublicDescription": "Counts demand data reads that were supplied by DRAM on a distant memory controller of this socket when the system is in SNC (sub-NUMA cluster) mode. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -314,7 +305,6 @@ "EventName": "OCR.DEMAND_RFO.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x73C000002", - "PublicDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that were supplied by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -325,7 +315,6 @@ "EventName": "OCR.DEMAND_RFO.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3F3FC00002", - "PublicDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that were not supplied by the local socket's L1, L2, or L3 caches. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -336,7 +325,6 @@ "EventName": "OCR.DEMAND_RFO.LOCAL_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x104000002", - "PublicDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that were supplied by DRAM attached to this socket, unless in Sub NUMA Cluster(SNC) Mode. In SNC Mode counts only those DRAM accesses that are controlled by the close SNC Cluster. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -347,7 +335,6 @@ "EventName": "OCR.DEMAND_RFO.SNC_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x708000002", - "PublicDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that were supplied by DRAM on a distant memory controller of this socket when the system is in SNC (sub-NUMA cluster) mode. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -358,7 +345,6 @@ "EventName": "OCR.HWPF_L3.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x94002380", - "PublicDescription": "Counts hardware prefetches to the L3 only that missed the local socket's L1, L2, and L3 caches. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -369,7 +355,6 @@ "EventName": "OCR.HWPF_L3.L3_MISS_LOCAL", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x84002380", - "PublicDescription": "Counts hardware prefetches to the L3 only that were not supplied by the local socket's L1, L2, or L3 caches and the cacheline is homed locally. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -380,7 +365,6 @@ "EventName": "OCR.READS_TO_CORE.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x73C004477", - "PublicDescription": "Counts all (cacheable) data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -391,7 +375,6 @@ "EventName": "OCR.READS_TO_CORE.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3F3FC04477", - "PublicDescription": "Counts all (cacheable) data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were not supplied by the local socket's L1, L2, or L3 caches. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -402,7 +385,6 @@ "EventName": "OCR.READS_TO_CORE.L3_MISS_LOCAL", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3F04C04477", - "PublicDescription": "Counts all (cacheable) data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were not supplied by the local socket's L1, L2, or L3 caches and the cacheline is homed locally. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -413,7 +395,6 @@ "EventName": "OCR.READS_TO_CORE.L3_MISS_LOCAL_SOCKET", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x70CC04477", - "PublicDescription": "Counts all (cacheable) data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that missed the L3 Cache and were supplied by the local socket (DRAM or PMM), whether or not in Sub NUMA Cluster(SNC) Mode. In SNC Mode counts PMM or DRAM accesses that are controlled by the close or distant SNC Cluster. It does not count misses to the L3 which go to Local CXL Type 2 Memory or Local Non DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -424,7 +405,6 @@ "EventName": "OCR.READS_TO_CORE.LOCAL_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x104004477", - "PublicDescription": "Counts all (cacheable) data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by DRAM attached to this socket, unless in Sub NUMA Cluster(SNC) Mode. In SNC Mode counts only those DRAM accesses that are controlled by the close SNC Cluster. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -435,7 +415,6 @@ "EventName": "OCR.READS_TO_CORE.LOCAL_SOCKET_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x70C004477", - "PublicDescription": "Counts all (cacheable) data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by DRAM attached to this socket, whether or not in Sub NUMA Cluster(SNC) Mode. In SNC Mode counts DRAM accesses that are controlled by the close or distant SNC Cluster. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -446,7 +425,6 @@ "EventName": "OCR.READS_TO_CORE.REMOTE_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x730004477", - "PublicDescription": "Counts all (cacheable) data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by DRAM attached to another socket. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -457,7 +435,6 @@ "EventName": "OCR.READS_TO_CORE.REMOTE_MEMORY", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x733004477", - "PublicDescription": "Counts all (cacheable) data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by DRAM or PMM attached to another socket. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -468,7 +445,6 @@ "EventName": "OCR.READS_TO_CORE.SNC_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x708004477", - "PublicDescription": "Counts all (cacheable) data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by DRAM on a distant memory controller of this socket when the system is in SNC (sub-NUMA cluster) mode. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -479,7 +455,6 @@ "EventName": "OCR.STREAMING_WR.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x94000800", - "PublicDescription": "Counts streaming stores that missed the local socket's L1, L2, and L3 caches. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -490,7 +465,6 @@ "EventName": "OCR.STREAMING_WR.L3_MISS_LOCAL", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x84000800", - "PublicDescription": "Counts streaming stores that were not supplied by the local socket's L1, L2, or L3 caches and the cacheline is homed locally. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -501,7 +475,6 @@ "EventName": "OCR.WRITE_ESTIMATE.MEMORY", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0xFBFF80822", - "PublicDescription": "Counts Demand RFOs, ItoM's, PREFECTHW's, Hardware RFO Prefetches to the L1/L2 and Streaming stores that likely resulted in a store to Memory (DRAM or PMM) Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
tools/perf/pmu-events/arch/x86/sapphirerapids/metricgroups.json +0 -3
@@ -39,7 +39,6 @@ "IntVector": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "IoBW": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "L2Evicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "LSD": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "LockCont": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "MachineClears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Machine_Clears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -125,7 +124,6 @@ "tma_l3_bound_group": "Metrics contributing to tma_l3_bound category", "tma_l3_miss_bound_group": "Metrics contributing to tma_l3_miss_bound category", "tma_light_operations_group": "Metrics contributing to tma_light_operations category", - "tma_load_op_utilization_group": "Metrics contributing to tma_load_op_utilization category", "tma_load_stlb_miss_group": "Metrics contributing to tma_load_stlb_miss category", "tma_machine_clears_group": "Metrics contributing to tma_machine_clears category", "tma_mem_bandwidth_group": "Metrics contributing to tma_mem_bandwidth category",
@@ -140,6 +138,5 @@ "tma_retiring_group": "Metrics contributing to tma_retiring category", "tma_serializing_operation_group": "Metrics contributing to tma_serializing_operation category", "tma_store_bound_group": "Metrics contributing to tma_store_bound category", - "tma_store_op_utilization_group": "Metrics contributing to tma_store_op_utilization category", "tma_store_stlb_miss_group": "Metrics contributing to tma_store_stlb_miss category" }
tools/perf/pmu-events/arch/x86/sapphirerapids/other.json +0 -1
@@ -48,7 +48,6 @@ "EventName": "OCR.STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10800", - "PublicDescription": "Counts streaming stores that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
tools/perf/pmu-events/arch/x86/sapphirerapids/spr-metrics.json +38 -33
261 lines not on this page · raw message
tools/perf/pmu-events/arch/x86/sapphirerapids/uncore-cache.json +11 -28
@@ -322,6 +322,17 @@ "UMask": "0x8", "Unit": "CHA" }, + { + "BriefDescription": "Distress signal asserted : Vertical", + "Counter": "0,1,2,3", + "EventCode": "0xaf", + "EventName": "UNC_CHA_DISTRESS_ASSERTED.VERT", + "Experimental": "1", + "PerPkg": "1", + "PublicDescription": "Distress signal asserted : Vertical : Counts the number of cycles either the local or incoming distress signals are asserted. : If IRQ egress is full, then agents will throttle outgoing AD IDI transactions", + "UMask": "0x1", + "Unit": "CHA" + }, { "BriefDescription": "Egress Blocking due to Ordering requirements : Down", "Counter": "0,1,2,3",
@@ -3896,7 +3907,6 @@ "EventName": "UNC_CHA_TOR_INSERTS.IA_HIT_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c0008101", "Unit": "CHA" },
@@ -4170,7 +4180,6 @@ "EventName": "UNC_CHA_TOR_INSERTS.IA_MISS_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c0008201", "Unit": "CHA" },
@@ -4222,7 +4231,6 @@ "EventName": "UNC_CHA_TOR_INSERTS.IA_MISS_DRD_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8168201", "Unit": "CHA" },
@@ -4284,7 +4292,6 @@ "EventName": "UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8268201", "Unit": "CHA" },
@@ -4306,7 +4313,6 @@ "EventName": "UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_PREF_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8a68201", "Unit": "CHA" },
@@ -4347,7 +4353,6 @@ "EventName": "UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8968201", "Unit": "CHA" },
@@ -4526,7 +4531,6 @@ "EventName": "UNC_CHA_TOR_INSERTS.IA_MISS_LLCPREFDATA_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10ccd68201", "Unit": "CHA" },
@@ -4557,7 +4561,6 @@ "EventName": "UNC_CHA_TOR_INSERTS.IA_MISS_LLCPREFRFO_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8868201", "Unit": "CHA" },
@@ -4686,7 +4689,6 @@ "EventName": "UNC_CHA_TOR_INSERTS.IA_MISS_RFO_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8068201", "Unit": "CHA" },
@@ -4727,7 +4729,6 @@ "EventName": "UNC_CHA_TOR_INSERTS.IA_MISS_RFO_PREF_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10ccc68201", "Unit": "CHA" },
@@ -5573,9 +5574,7 @@ "EventCode": "0x36", "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_DRDPTE", "Experimental": "1", - "FCMask": "0x00000000", "PerPkg": "1", - "PortMask": "0x00000000", "PublicDescription": "TOR Occupancy : DRdPte issued by iA Cores due to a page walk : For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. Does not include addressless requests such as locks and interrupts.", "UMask": "0xc837ff01", "Unit": "CHA"
@@ -5659,7 +5658,6 @@ "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_HIT_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c0008101", "Unit": "CHA" },
@@ -5679,9 +5677,7 @@ "EventCode": "0x36", "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_HIT_DRDPTE", "Experimental": "1", - "FCMask": "0x00000000", "PerPkg": "1", - "PortMask": "0x00000000", "PublicDescription": "TOR Occupancy : DRdPte issued by iA Cores due to a page walk that hit the LLC : For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. Does not include addressless requests such as locks and interrupts.", "UMask": "0xc837fd01", "Unit": "CHA"
@@ -5936,7 +5932,6 @@ "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c0008201", "Unit": "CHA" },
@@ -5966,9 +5961,7 @@ "EventCode": "0x36", "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRDPTE", "Experimental": "1", - "FCMask": "0x00000000", "PerPkg": "1", - "PortMask": "0x00000000", "PublicDescription": "TOR Occupancy : DRdPte issued by iA Cores due to a page walk that missed the LLC : For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. Does not include addressless requests such as locks and interrupts.", "UMask": "0xc837fe01", "Unit": "CHA"
@@ -5990,7 +5983,6 @@ "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8168201", "Unit": "CHA" },
@@ -6052,7 +6044,6 @@ "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_OPT_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8268201", "Unit": "CHA" },
@@ -6074,7 +6065,6 @@ "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_OPT_PREF_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8a68201", "Unit": "CHA" },
@@ -6115,7 +6105,6 @@ "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_PREF_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8968201", "Unit": "CHA" },
@@ -6295,7 +6284,6 @@ "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_LLCPREFDATA_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10ccd68201", "Unit": "CHA" },
@@ -6326,7 +6314,6 @@ "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_LLCPREFRFO_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8868201", "Unit": "CHA" },
@@ -6455,7 +6442,6 @@ "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_RFO_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10c8068201", "Unit": "CHA" },
@@ -6496,7 +6482,6 @@ "EventName": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_RFO_PREF_CXL_ACC_LOCAL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10ccc68201", "Unit": "CHA" },
@@ -6769,9 +6754,7 @@ "EventCode": "0x36", "EventName": "UNC_CHA_TOR_OCCUPANCY.IO_ITOMCACHENEAR", "Experimental": "1", - "FCMask": "0x00000000", "PerPkg": "1", - "PortMask": "0x00000000", "PublicDescription": "TOR Occupancy : ItoMCacheNears, indicating a partial write request, from IO Devices : For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. Does not include addressless requests such as locks and interrupts.", "UMask": "0xcd43ff04", "Unit": "CHA"
tools/perf/pmu-events/arch/x86/sapphirerapids/uncore-interconnect.json +30 -32
180 lines not on this page · raw message
tools/perf/pmu-events/arch/x86/sapphirerapids/uncore-io.json +38 -32
248 lines not on this page · raw message
tools/perf/pmu-events/arch/x86/sapphirerapids/uncore-memory.json +0 -90
405 lines not on this page · raw message
Signature · 1 line
2.56.1.915.g69d5ec7298-goog
Ian Rogers
reviewerPATCH v2 32/36 perf vendor events intel: Update sierraforest events and metrics
In reply to Ian RogersRe-generate sierraforest events and metrics with create_perf_json.py:
- Fix uncore MDF unit name to "MDF_SBO" matching gnr_uncore_mdf_sbo.
- Drop bogus Available PDIST counters text from non-precise events.
- Drop zero-valued PortMask/FCMask fields from uncore events.
- Align cstate metrics with intel/cstate.c and add C6_Module_Residency.
- Use aggr_nr() in uncore frequency/occupancy metric expressions.
--- .../arch/x86/sierraforest/cache.json | 5 --- .../arch/x86/sierraforest/memory.json | 4 -- .../arch/x86/sierraforest/other.json | 1 - .../arch/x86/sierraforest/srf-metrics.json | 41 +++++-------------- .../arch/x86/sierraforest/uncore-cache.json | 4 -- .../arch/x86/sierraforest/uncore-cxl.json | 1 - .../x86/sierraforest/uncore-interconnect.json | 2 +- .../arch/x86/sierraforest/uncore-io.json | 26 ------------ 8 files changed, 11 insertions(+), 73 deletions(-)
tools/perf/pmu-events/arch/x86/sierraforest/cache.json +0 -5
@@ -563,7 +563,6 @@ "EventName": "OCR.DEMAND_DATA_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10001", - "PublicDescription": "Counts demand data reads that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -574,7 +573,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0001", - "PublicDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -585,7 +583,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0001", - "PublicDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -596,7 +593,6 @@ "EventName": "OCR.DEMAND_RFO.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -607,7 +603,6 @@ "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
tools/perf/pmu-events/arch/x86/sierraforest/memory.json +0 -4
@@ -136,7 +136,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3FBFC00001", - "PublicDescription": "Counts demand data reads that were not supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -147,7 +146,6 @@ "EventName": "OCR.DEMAND_DATA_RD.LOCAL_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x184000001", - "PublicDescription": "Counts demand data reads that were supplied by DRAM attached to this socket. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -158,7 +156,6 @@ "EventName": "OCR.DEMAND_DATA_RD.REMOTE_DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x730000001", - "PublicDescription": "Counts demand data reads that were supplied by DRAM attached to another socket. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -169,7 +166,6 @@ "EventName": "OCR.DEMAND_RFO.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3FBFC00002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were not supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }
tools/perf/pmu-events/arch/x86/sierraforest/other.json +0 -1
@@ -15,7 +15,6 @@ "EventName": "OCR.STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10800", - "PublicDescription": "Counts streaming stores that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }
tools/perf/pmu-events/arch/x86/sierraforest/srf-metrics.json +10 -31
85 lines not on this page · raw message
tools/perf/pmu-events/arch/x86/sierraforest/uncore-cache.json +0 -4
@@ -5,7 +5,6 @@ "EventCode": "0x01", "EventName": "UNC_CHACMS_CLOCKTICKS", "PerPkg": "1", - "PortMask": "0x000", "PublicDescription": "UNC_CHACMS_CLOCKTICKS", "Unit": "CHACMS" },
@@ -15,7 +14,6 @@ "EventCode": "0x35", "EventName": "UNC_CHACMS_DISTRESS_ASSERTED", "PerPkg": "1", - "PortMask": "0x000", "Unit": "CHACMS" }, {
@@ -25,7 +23,6 @@ "EventName": "UNC_CHACMS_RING_SRC_THRTL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "Unit": "CHACMS" }, {
@@ -83,7 +80,6 @@ "EventCode": "0x59", "EventName": "UNC_CHA_DISTRESS_ASSERTED.DPT_ANY", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x3", "Unit": "CHA" },
tools/perf/pmu-events/arch/x86/sierraforest/uncore-cxl.json +0 -1
@@ -5,7 +5,6 @@ "EventCode": "0x01", "EventName": "UNC_B2CXL_CLOCKTICKS", "PerPkg": "1", - "PortMask": "0x000", "Unit": "B2CXL" }, {
tools/perf/pmu-events/arch/x86/sierraforest/uncore-interconnect.json +1 -1
@@ -919,7 +919,7 @@ "EventCode": "0x01", "EventName": "UNC_MDF_CLOCKTICKS", "PerPkg": "1", - "Unit": "MDF" + "Unit": "MDF_SBO" }, { "BriefDescription": "Number of UPI LL clock cycles while the event is enabled",
tools/perf/pmu-events/arch/x86/sierraforest/uncore-io.json +0 -26
@@ -5,7 +5,6 @@ "EventCode": "0x01", "EventName": "UNC_IIO_CLOCKTICKS", "PerPkg": "1", - "PortMask": "0x000", "Unit": "IIO" }, {
@@ -863,7 +862,6 @@ "EventName": "UNC_IIO_IOMMU0.1G_HITS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10", "Unit": "IIO" },
@@ -874,7 +872,6 @@ "EventName": "UNC_IIO_IOMMU0.2M_HITS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x8", "Unit": "IIO" },
@@ -885,7 +882,6 @@ "EventName": "UNC_IIO_IOMMU0.4K_HITS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x4", "Unit": "IIO" },
@@ -896,7 +892,6 @@ "EventName": "UNC_IIO_IOMMU0.ALL_LOOKUPS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x2", "Unit": "IIO" },
@@ -907,7 +902,6 @@ "EventName": "UNC_IIO_IOMMU0.CTXT_CACHE_HITS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x80", "Unit": "IIO" },
@@ -918,7 +912,6 @@ "EventName": "UNC_IIO_IOMMU0.CTXT_CACHE_LOOKUPS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x40", "Unit": "IIO" },
@@ -929,7 +922,6 @@ "EventName": "UNC_IIO_IOMMU0.FIRST_LOOKUPS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x1", "Unit": "IIO" },
@@ -940,7 +932,6 @@ "EventName": "UNC_IIO_IOMMU0.MISSES", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x20", "Unit": "IIO" },
@@ -951,7 +942,6 @@ "EventName": "UNC_IIO_IOMMU1.NUM_MEM_ACCESSES", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0xc0", "Unit": "IIO" },
@@ -962,7 +952,6 @@ "EventName": "UNC_IIO_IOMMU1.NUM_MEM_ACCESSES_HIGH", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x80", "Unit": "IIO" },
@@ -973,7 +962,6 @@ "EventName": "UNC_IIO_IOMMU1.NUM_MEM_ACCESSES_LOW", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x40", "Unit": "IIO" },
@@ -984,7 +972,6 @@ "EventName": "UNC_IIO_IOMMU1.SLPWC_1G_HITS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x4", "Unit": "IIO" },
@@ -995,7 +982,6 @@ "EventName": "UNC_IIO_IOMMU1.SLPWC_256T_HITS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10", "Unit": "IIO" },
@@ -1006,7 +992,6 @@ "EventName": "UNC_IIO_IOMMU1.SLPWC_2M_HITS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x2", "Unit": "IIO" },
@@ -1017,7 +1002,6 @@ "EventName": "UNC_IIO_IOMMU1.SLPWC_512G_HITS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x8", "Unit": "IIO" },
@@ -1028,7 +1012,6 @@ "EventName": "UNC_IIO_IOMMU1.SLPWC_CACHE_FILLS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x20", "Unit": "IIO" },
@@ -1039,7 +1022,6 @@ "EventName": "UNC_IIO_IOMMU1.SLPWC_CACHE_LOOKUPS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x1", "Unit": "IIO" },
@@ -1050,7 +1032,6 @@ "EventName": "UNC_IIO_IOMMU3.CYC_PWT_FULL", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x2", "Unit": "IIO" },
@@ -1061,7 +1042,6 @@ "EventName": "UNC_IIO_IOMMU3.INT_CACHE_HITS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x80", "Unit": "IIO" },
@@ -1072,7 +1052,6 @@ "EventName": "UNC_IIO_IOMMU3.INT_CACHE_LOOKUPS", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x40", "Unit": "IIO" },
@@ -1083,7 +1062,6 @@ "EventName": "UNC_IIO_IOMMU3.NUM_INVAL_CTXT_CACHE", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x8", "Unit": "IIO" },
@@ -1094,7 +1072,6 @@ "EventName": "UNC_IIO_IOMMU3.NUM_INVAL_INT_CACHE", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x20", "Unit": "IIO" },
@@ -1105,7 +1082,6 @@ "EventName": "UNC_IIO_IOMMU3.NUM_INVAL_IOTLB", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x4", "Unit": "IIO" },
@@ -1116,7 +1092,6 @@ "EventName": "UNC_IIO_IOMMU3.NUM_INVAL_PASID_CACHE", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "UMask": "0x10", "Unit": "IIO" },
@@ -1331,7 +1306,6 @@ "EventName": "UNC_IIO_PWT_OCCUPANCY", "Experimental": "1", "PerPkg": "1", - "PortMask": "0x000", "Unit": "IIO" }, {
Signature · 1 line
2.56.1.915.g69d5ec7298-goog
Ian Rogers
reviewerPATCH v2 33/36 perf vendor events intel: Update skylake events and TMA metrics to 5.32
In reply to Ian RogersThe updated TMA 5.32 metrics (TMA_Metrics-full.csv v5.3-full / 5.320-full) were published in:
https://github.com/intel/perfmon/commit/3f0091830d5ec3c1cac94f8c576594a3efb5375f
https://github.com/intel/perfmon/commit/e4e1b41d06c3bf197bd8e60484b43e02fbc20b67
Re-generate skylake events and metrics with create_perf_json.py:
- Fix counter count initialization in counter.json.
- Filter TMA Related metrics and Sample-with references to available events/metrics.
- Prune unused metric groups from metricgroups.json.
--- .../pmu-events/arch/x86/skylake/counter.json | 2 +- .../arch/x86/skylake/metricgroups.json | 7 --- .../arch/x86/skylake/skl-metrics.json | 54 +++++++++---------- 3 files changed, 27 insertions(+), 36 deletions(-)
tools/perf/pmu-events/arch/x86/skylake/counter.json +1 -1
@@ -16,7 +16,7 @@ }, { "Unit": "cbox_0", - "CountersNumFixed": 1, + "CountersNumFixed": "1", "CountersNumGeneric": "0" } ]
tools/perf/pmu-events/arch/x86/skylake/metricgroups.json +0 -7
@@ -35,8 +35,6 @@ "HPC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "IcMiss": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "InsType": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "L2Evicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "LSD": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "LockCont": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "MachineClears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Machine_Clears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -59,7 +57,6 @@ "Ret": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Retire": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "SMT": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "Server": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Snoop": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "SoC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Summary": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -86,7 +83,6 @@ "tma_branch_resteers_group": "Metrics contributing to tma_branch_resteers category", "tma_code_stlb_miss_group": "Metrics contributing to tma_code_stlb_miss category", "tma_core_bound_group": "Metrics contributing to tma_core_bound category", - "tma_divider_group": "Metrics contributing to tma_divider category", "tma_dtlb_load_group": "Metrics contributing to tma_dtlb_load category", "tma_dtlb_store_group": "Metrics contributing to tma_dtlb_store category", "tma_fetch_bandwidth_group": "Metrics contributing to tma_fetch_bandwidth category",
@@ -95,7 +91,6 @@ "tma_fp_vector_group": "Metrics contributing to tma_fp_vector category", "tma_frontend_bound_group": "Metrics contributing to tma_frontend_bound category", "tma_heavy_operations_group": "Metrics contributing to tma_heavy_operations category", - "tma_icache_misses_group": "Metrics contributing to tma_icache_misses category", "tma_issue2P": "Metrics related by the issue $issue2P", "tma_issueBM": "Metrics related by the issue $issueBM", "tma_issueBW": "Metrics related by the issue $issueBW",
@@ -124,7 +119,6 @@ "tma_load_op_utilization_group": "Metrics contributing to tma_load_op_utilization category", "tma_load_stlb_miss_group": "Metrics contributing to tma_load_stlb_miss category", "tma_machine_clears_group": "Metrics contributing to tma_machine_clears category", - "tma_mem_latency_group": "Metrics contributing to tma_mem_latency category", "tma_memory_bound_group": "Metrics contributing to tma_memory_bound category", "tma_microcode_sequencer_group": "Metrics contributing to tma_microcode_sequencer category", "tma_mite_group": "Metrics contributing to tma_mite category",
@@ -133,7 +127,6 @@ "tma_ports_utilized_0_group": "Metrics contributing to tma_ports_utilized_0 category", "tma_ports_utilized_3m_group": "Metrics contributing to tma_ports_utilized_3m category", "tma_retiring_group": "Metrics contributing to tma_retiring category", - "tma_serializing_operation_group": "Metrics contributing to tma_serializing_operation category", "tma_store_bound_group": "Metrics contributing to tma_store_bound category", "tma_store_op_utilization_group": "Metrics contributing to tma_store_op_utilization category", "tma_store_stlb_miss_group": "Metrics contributing to tma_store_stlb_miss category"
tools/perf/pmu-events/arch/x86/skylake/skl-metrics.json +26 -28
214 lines not on this page · raw message
Signature · 1 line
2.56.1.915.g69d5ec7298-goog
Ian Rogers
reviewerPATCH v2 34/36 perf vendor events intel: Update skylakex events and TMA metrics to 5.32
In reply to Ian RogersThe updated TMA 5.32 metrics (TMA_Metrics-full.csv v5.3-full / 5.320-full) were published in:
https://github.com/intel/perfmon/commit/3f0091830d5ec3c1cac94f8c576594a3efb5375f
https://github.com/intel/perfmon/commit/e4e1b41d06c3bf197bd8e60484b43e02fbc20b67
Re-generate skylakex events and metrics with create_perf_json.py:
- Recover mixed-case UPI_DATA_BANDWIDTH uncore events from CSV mapping.
- Drop zero-valued PortMask/FCMask fields from uncore events.
- Filter TMA Related metrics and Sample-with references to available events/metrics.
- Prune unused metric groups from metricgroups.json.
- Refresh uncore CHA descriptions from CSV mapping.
--- .../arch/x86/skylakex/metricgroups.json | 4 -- .../arch/x86/skylakex/skx-metrics.json | 58 ++++++++++--------- .../arch/x86/skylakex/uncore-cache.json | 24 ++++---- .../x86/skylakex/uncore-interconnect.json | 11 ++++ .../arch/x86/skylakex/uncore-io.json | 2 - 5 files changed, 54 insertions(+), 45 deletions(-)
tools/perf/pmu-events/arch/x86/skylakex/metricgroups.json +0 -4
@@ -37,7 +37,6 @@ "InsType": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "IoBW": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "L2Evicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "LSD": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "LockCont": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "MachineClears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Machine_Clears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -87,7 +86,6 @@ "tma_branch_resteers_group": "Metrics contributing to tma_branch_resteers category", "tma_code_stlb_miss_group": "Metrics contributing to tma_code_stlb_miss category", "tma_core_bound_group": "Metrics contributing to tma_core_bound category", - "tma_divider_group": "Metrics contributing to tma_divider category", "tma_dtlb_load_group": "Metrics contributing to tma_dtlb_load category", "tma_dtlb_store_group": "Metrics contributing to tma_dtlb_store category", "tma_fetch_bandwidth_group": "Metrics contributing to tma_fetch_bandwidth category",
@@ -96,7 +94,6 @@ "tma_fp_vector_group": "Metrics contributing to tma_fp_vector category", "tma_frontend_bound_group": "Metrics contributing to tma_frontend_bound category", "tma_heavy_operations_group": "Metrics contributing to tma_heavy_operations category", - "tma_icache_misses_group": "Metrics contributing to tma_icache_misses category", "tma_issue2P": "Metrics related by the issue $issue2P", "tma_issueBM": "Metrics related by the issue $issueBM", "tma_issueBW": "Metrics related by the issue $issueBW",
@@ -134,7 +131,6 @@ "tma_ports_utilized_0_group": "Metrics contributing to tma_ports_utilized_0 category", "tma_ports_utilized_3m_group": "Metrics contributing to tma_ports_utilized_3m category", "tma_retiring_group": "Metrics contributing to tma_retiring category", - "tma_serializing_operation_group": "Metrics contributing to tma_serializing_operation category", "tma_store_bound_group": "Metrics contributing to tma_store_bound category", "tma_store_op_utilization_group": "Metrics contributing to tma_store_op_utilization category", "tma_store_stlb_miss_group": "Metrics contributing to tma_store_stlb_miss category"
tools/perf/pmu-events/arch/x86/skylakex/skx-metrics.json +31 -27
218 lines not on this page · raw message
tools/perf/pmu-events/arch/x86/skylakex/uncore-cache.json +12 -12
@@ -1746,7 +1746,7 @@ "Unit": "CHA" }, { - "BriefDescription": "Read requests", + "BriefDescription": "read requests from home agent", "Counter": "0,1,2,3", "EventCode": "0x50", "EventName": "UNC_CHA_REQUESTS.READS",
@@ -1756,7 +1756,7 @@ "Unit": "CHA" }, { - "BriefDescription": "Read requests from a unit on this socket", + "BriefDescription": "read requests from local home agent", "Counter": "0,1,2,3", "EventCode": "0x50", "EventName": "UNC_CHA_REQUESTS.READS_LOCAL",
@@ -1766,7 +1766,7 @@ "Unit": "CHA" }, { - "BriefDescription": "Read requests from a remote socket", + "BriefDescription": "read requests from remote home agent", "Counter": "0,1,2,3", "EventCode": "0x50", "EventName": "UNC_CHA_REQUESTS.READS_REMOTE",
@@ -1776,7 +1776,7 @@ "Unit": "CHA" }, { - "BriefDescription": "Write requests", + "BriefDescription": "write requests from home agent", "Counter": "0,1,2,3", "EventCode": "0x50", "EventName": "UNC_CHA_REQUESTS.WRITES",
@@ -1786,7 +1786,7 @@ "Unit": "CHA" }, { - "BriefDescription": "Write Requests from a unit on this socket", + "BriefDescription": "write requests from local home agent", "Counter": "0,1,2,3", "EventCode": "0x50", "EventName": "UNC_CHA_REQUESTS.WRITES_LOCAL",
@@ -1796,7 +1796,7 @@ "Unit": "CHA" }, { - "BriefDescription": "Read and Write Requests; Writes Remote", + "BriefDescription": "write requests from remote home agent", "Counter": "0,1,2,3", "EventCode": "0x50", "EventName": "UNC_CHA_REQUESTS.WRITES_REMOTE",
@@ -8873,7 +8873,7 @@ "Unit": "CHA" }, { - "BriefDescription": "read requests from home agent", + "BriefDescription": "This event is deprecated. Refer to new event UNC_CHA_REQUESTS.READS", "Counter": "0,1,2,3", "Deprecated": "1", "EventCode": "0x50",
@@ -8883,7 +8883,7 @@ "Unit": "CHA" }, { - "BriefDescription": "read requests from local home agent", + "BriefDescription": "This event is deprecated. Refer to new event UNC_CHA_REQUESTS.READS_LOCAL", "Counter": "0,1,2,3", "Deprecated": "1", "EventCode": "0x50",
@@ -8893,7 +8893,7 @@ "Unit": "CHA" }, { - "BriefDescription": "read requests from remote home agent", + "BriefDescription": "This event is deprecated. Refer to new event UNC_CHA_REQUESTS.READS_REMOTE", "Counter": "0,1,2,3", "Deprecated": "1", "EventCode": "0x50",
@@ -8904,7 +8904,7 @@ "Unit": "CHA" }, { - "BriefDescription": "write requests from home agent", + "BriefDescription": "This event is deprecated. Refer to new event UNC_CHA_REQUESTS.WRITES", "Counter": "0,1,2,3", "Deprecated": "1", "EventCode": "0x50",
@@ -8914,7 +8914,7 @@ "Unit": "CHA" }, { - "BriefDescription": "write requests from local home agent", + "BriefDescription": "This event is deprecated. Refer to new event UNC_CHA_REQUESTS.WRITES_LOCAL", "Counter": "0,1,2,3", "Deprecated": "1", "EventCode": "0x50",
@@ -8924,7 +8924,7 @@ "Unit": "CHA" }, { - "BriefDescription": "write requests from remote home agent", + "BriefDescription": "This event is deprecated. Refer to new event UNC_CHA_REQUESTS.WRITES_REMOTE", "Counter": "0,1,2,3", "Deprecated": "1", "EventCode": "0x50",
tools/perf/pmu-events/arch/x86/skylakex/uncore-interconnect.json +11 -0
@@ -13760,5 +13760,16 @@ "PerPkg": "1", "PublicDescription": "Number outstanding register requests within message channel tracker", "Unit": "UBOX" + }, + { + "BriefDescription": "UPI interconnect send bandwidth for payload. Derived from unc_upi_txl_flits.all_data", + "Counter": "0,1,2,3", + "EventCode": "0x2", + "EventName": "UPI_DATA_BANDWIDTH_TX", + "PerPkg": "1", + "PublicDescription": "Counts valid data FLITs (80 bit FLow control unITs: 64bits of data) transmitted (TxL) via any of the 3 Intel(R) Ultra Path Interconnect (UPI) slots on this UPI unit.", + "ScaleUnit": "7.11E-06Bytes", + "UMask": "0xf", + "Unit": "UPI" } ]
tools/perf/pmu-events/arch/x86/skylakex/uncore-io.json +0 -2
@@ -9,7 +9,6 @@ "MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART3", "MetricName": "LLC_MISSES.PCIE_READ", "PerPkg": "1", - "PortMask": "0x01", "PublicDescription": "Counts every read request for 4 bytes of data made by IIO Part0 to a unit on the main die (generally memory). In the general case, Part0 refers to a standard PCIe card of any size (x16,x8,x4) that is plugged directly into one of the PCIe slots. Part0 could also refer to any device plugged into the first slot of a PCIe riser card or to a device attached to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the bus.", "ScaleUnit": "4Bytes", "UMask": "0x4",
@@ -25,7 +24,6 @@ "MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART3", "MetricName": "LLC_MISSES.PCIE_WRITE", "PerPkg": "1", - "PortMask": "0x01", "PublicDescription": "Counts every write request of 4 bytes of data made by IIO Part0 to a unit on the main die (generally memory). In the general case, Part0 refers to a standard PCIe card of any size (x16,x8,x4) that is plugged directly into one of the PCIe slots. Part0 could also refer to any device plugged into the first slot of a PCIe riser card or to a device attached to the IIO unit which starts its use of the bus using lane 0 of the 16 lanes supported by the bus.", "ScaleUnit": "4Bytes", "UMask": "0x1",
Signature · 1 line
2.56.1.915.g69d5ec7298-goog
Ian Rogers
reviewerPATCH v2 35/36 perf vendor events intel: Update snowridgex events
In reply to Ian RogersRe-generate snowridgex events with create_perf_json.py:
- Normalize uppercase 0X hex prefixes to lowercase 0x.
- Drop bogus Available PDIST counters text from non-precise events.
- Drop zero-valued PortMask/FCMask fields from uncore events.
- Fix counter count initialization in counter.json.
--- .../pmu-events/arch/x86/snowridgex/cache.json | 261 ++++++------------ .../arch/x86/snowridgex/counter.json | 2 +- .../arch/x86/snowridgex/memory.json | 171 ++++-------- .../pmu-events/arch/x86/snowridgex/other.json | 30 +- .../arch/x86/snowridgex/uncore-io.json | 2 - 5 files changed, 155 insertions(+), 311 deletions(-)
tools/perf/pmu-events/arch/x86/snowridgex/cache.json +87 -174
@@ -311,264 +311,240 @@ { "BriefDescription": "Counts all code reads that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.ALL_CODE_RD.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1F803C0044", - "PublicDescription": "Counts all code reads that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all code reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.ALL_CODE_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0044", - "PublicDescription": "Counts all code reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all code reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.ALL_CODE_RD.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x4003C0044", - "PublicDescription": "Counts all code reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all code reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.ALL_CODE_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0044", - "PublicDescription": "Counts all code reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all code reads that were supplied by the L3 cache where a snoop was sent but the snoop missed.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.ALL_CODE_RD.L3_HIT.SNOOP_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x2003C0044", - "PublicDescription": "Counts all code reads that were supplied by the L3 cache where a snoop was sent but the snoop missed. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all code reads that were supplied by the L3 cache where no snoop was needed to satisfy the request.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.ALL_CODE_RD.L3_HIT.SNOOP_NOT_NEEDED", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1003C0044", - "PublicDescription": "Counts all code reads that were supplied by the L3 cache where no snoop was needed to satisfy the request. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts modified writebacks from L1 cache and L2 cache that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.COREWB_M.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3000000010000", - "PublicDescription": "Counts modified writebacks from L1 cache and L2 cache that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts modified writebacks from L1 cache and L2 cache that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.COREWB_M.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x3001F803C0000", - "PublicDescription": "Counts modified writebacks from L1 cache and L2 cache that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts modified writebacks from L1 cache and L2 cache that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency).", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.COREWB_M.OUTSTANDING", "MSRIndex": "0x1a6", "MSRValue": "0x8003000000000000", - "PublicDescription": "Counts modified writebacks from L1 cache and L2 cache that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency). Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_CODE_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_CODE_RD.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1F803C0004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x4003C0004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where a snoop was sent but the snoop missed.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x2003C0004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where a snoop was sent but the snoop missed. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where no snoop was needed to satisfy the request.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_NOT_NEEDED", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1003C0004", - "PublicDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were supplied by the L3 cache where no snoop was needed to satisfy the request. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_AND_L1PF_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10001", - "PublicDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1F803C0001", - "PublicDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0001", - "PublicDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x4003C0001", - "PublicDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0001", - "PublicDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache where a snoop was sent but the snoop missed.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x2003C0001", - "PublicDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache where a snoop was sent but the snoop missed. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache where no snoop was needed to satisfy the request.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_NOT_NEEDED", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1003C0001", - "PublicDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that were supplied by the L3 cache where no snoop was needed to satisfy the request. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency).", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_AND_L1PF_RD.OUTSTANDING", "MSRIndex": "0x1a6", "MSRValue": "0x8000000000000001", - "PublicDescription": "Counts cacheable demand data reads, L1 data cache hardware prefetches and software prefetches (except PREFETCHW) that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency). Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -576,11 +552,10 @@ "BriefDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.ANY_RESPONSE", "Counter": "0,1,2,3", "Deprecated": "1", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10001", - "PublicDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.ANY_RESPONSE Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -588,11 +563,10 @@ "BriefDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT", "Counter": "0,1,2,3", "Deprecated": "1", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_RD.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1F803C0001", - "PublicDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -600,11 +574,10 @@ "BriefDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_HITM", "Counter": "0,1,2,3", "Deprecated": "1", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0001", - "PublicDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_HITM Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -612,11 +585,10 @@ "BriefDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_HIT_NO_FWD", "Counter": "0,1,2,3", "Deprecated": "1", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x4003C0001", - "PublicDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_HIT_NO_FWD Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -624,11 +596,10 @@ "BriefDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "Counter": "0,1,2,3", "Deprecated": "1", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0001", - "PublicDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_HIT_WITH_FWD Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -636,11 +607,10 @@ "BriefDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_MISS", "Counter": "0,1,2,3", "Deprecated": "1", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x2003C0001", - "PublicDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_MISS Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -648,11 +618,10 @@ "BriefDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_NOT_NEEDED", "Counter": "0,1,2,3", "Deprecated": "1", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_NOT_NEEDED", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1003C0001", - "PublicDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.L3_HIT.SNOOP_NOT_NEEDED Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
@@ -660,616 +629,560 @@ "BriefDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.OUTSTANDING", "Counter": "0,1,2,3", "Deprecated": "1", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_DATA_RD.OUTSTANDING", "MSRIndex": "0x1a6", "MSRValue": "0x8000000000000001", - "PublicDescription": "This event is deprecated. Refer to new event OCR.DEMAND_DATA_AND_L1PF_RD.OUTSTANDING Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_RFO.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_RFO.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1F803C0002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x4003C0002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent but the snoop missed.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x2003C0002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent but the snoop missed. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where no snoop was needed to satisfy the request.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_NOT_NEEDED", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1003C0002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where no snoop was needed to satisfy the request. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency).", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.DEMAND_RFO.OUTSTANDING", "MSRIndex": "0x1a6", "MSRValue": "0x8000000000000002", - "PublicDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency). Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts streaming stores which modify a full 64 byte cacheline that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.FULL_STREAMING_WR.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x801F803C0000", - "PublicDescription": "Counts streaming stores which modify a full 64 byte cacheline that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L1 data cache hardware prefetches and software prefetches (except PREFETCHW and PFRFO) that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L1D_AND_SWPF.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10400", - "PublicDescription": "Counts L1 data cache hardware prefetches and software prefetches (except PREFETCHW and PFRFO) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L1 data cache hardware prefetches and software prefetches (except PREFETCHW and PFRFO) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L1D_AND_SWPF.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0400", - "PublicDescription": "Counts L1 data cache hardware prefetches and software prefetches (except PREFETCHW and PFRFO) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_CODE_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10040", - "PublicDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_CODE_RD.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1F803C0040", - "PublicDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_CODE_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0040", - "PublicDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_CODE_RD.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x4003C0040", - "PublicDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_CODE_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0040", - "PublicDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent but the snoop missed.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_CODE_RD.L3_HIT.SNOOP_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x2003C0040", - "PublicDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent but the snoop missed. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache where no snoop was needed to satisfy the request.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_CODE_RD.L3_HIT.SNOOP_NOT_NEEDED", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1003C0040", - "PublicDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that were supplied by the L3 cache where no snoop was needed to satisfy the request. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency).", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_CODE_RD.OUTSTANDING", "MSRIndex": "0x1a6", "MSRValue": "0x8000000000000040", - "PublicDescription": "Counts L2 cache hardware prefetch code reads (written to the L2 cache only) that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency). Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_DATA_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10010", - "PublicDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1F803C0010", - "PublicDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0010", - "PublicDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x4003C0010", - "PublicDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0010", - "PublicDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent but the snoop missed.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT.SNOOP_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x2003C0010", - "PublicDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent but the snoop missed. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache where no snoop was needed to satisfy the request.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_DATA_RD.L3_HIT.SNOOP_NOT_NEEDED", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1003C0010", - "PublicDescription": "Counts L2 cache hardware prefetch data reads (written to the L2 cache only) that were supplied by the L3 cache where no snoop was needed to satisfy the request. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_RFO.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10020", - "PublicDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_RFO.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1F803C0020", - "PublicDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_RFO.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0020", - "PublicDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_RFO.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x4003C0020", - "PublicDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_RFO.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0020", - "PublicDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent but the snoop missed.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_RFO.L3_HIT.SNOOP_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x2003C0020", - "PublicDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache where a snoop was sent but the snoop missed. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache where no snoop was needed to satisfy the request.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_RFO.L3_HIT.SNOOP_NOT_NEEDED", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1003C0020", - "PublicDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that were supplied by the L3 cache where no snoop was needed to satisfy the request. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency).", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.HWPF_L2_RFO.OUTSTANDING", "MSRIndex": "0x1a6", "MSRValue": "0x8000000000000020", - "PublicDescription": "Counts L2 cache hardware prefetch RFOs (written to the L2 cache only) that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency). Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts modified writebacks from L1 cache that miss the L2 cache that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.L1WB_M.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1000000010000", - "PublicDescription": "Counts modified writebacks from L1 cache that miss the L2 cache that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts modified writebacks from L1 cache that miss the L2 cache that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.L1WB_M.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1001F803C0000", - "PublicDescription": "Counts modified writebacks from L1 cache that miss the L2 cache that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts modified writeBacks from L2 cache that miss the L3 cache that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.L2WB_M.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x2000000010000", - "PublicDescription": "Counts modified writeBacks from L2 cache that miss the L3 cache that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts modified writeBacks from L2 cache that miss the L3 cache that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.L2WB_M.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x2001F803C0000", - "PublicDescription": "Counts modified writeBacks from L2 cache that miss the L3 cache that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts streaming stores which modify only part of a 64 byte cacheline that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.PARTIAL_STREAMING_WR.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x401F803C0000", - "PublicDescription": "Counts streaming stores which modify only part of a 64 byte cacheline that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.READS_TO_CORE.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10477", - "PublicDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.READS_TO_CORE.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1F803C0477", - "PublicDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.READS_TO_CORE.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10003C0477", - "PublicDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.READS_TO_CORE.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x4003C0477", - "PublicDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.READS_TO_CORE.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x8003C0477", - "PublicDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache where a snoop was sent but the snoop missed.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.READS_TO_CORE.L3_HIT.SNOOP_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x2003C0477", - "PublicDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache where a snoop was sent but the snoop missed. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache where no snoop was needed to satisfy the request.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.READS_TO_CORE.L3_HIT.SNOOP_NOT_NEEDED", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1003C0477", - "PublicDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were supplied by the L3 cache where no snoop was needed to satisfy the request. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency).", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.READS_TO_CORE.OUTSTANDING", "MSRIndex": "0x1a6", "MSRValue": "0x8000000000000477", - "PublicDescription": "Counts all data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency). Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts streaming stores that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.STREAMING_WR.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1F803C0800", - "PublicDescription": "Counts streaming stores that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts uncached memory reads that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.UC_RD.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x101F803C0000", - "PublicDescription": "Counts uncached memory reads that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts uncached memory reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.UC_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1010003C0000", - "PublicDescription": "Counts uncached memory reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts uncached memory reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.UC_RD.L3_HIT.SNOOP_HIT_NO_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1004003C0000", - "PublicDescription": "Counts uncached memory reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts uncached memory reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.UC_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1008003C0000", - "PublicDescription": "Counts uncached memory reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts uncached memory reads that were supplied by the L3 cache where a snoop was sent but the snoop missed.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.UC_RD.L3_HIT.SNOOP_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1002003C0000", - "PublicDescription": "Counts uncached memory reads that were supplied by the L3 cache where a snoop was sent but the snoop missed. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts uncached memory reads that were supplied by the L3 cache where no snoop was needed to satisfy the request.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.UC_RD.L3_HIT.SNOOP_NOT_NEEDED", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1001003C0000", - "PublicDescription": "Counts uncached memory reads that were supplied by the L3 cache where no snoop was needed to satisfy the request. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts uncached memory writes that were supplied by the L3 cache.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.UC_WR.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x201F803C0000", - "PublicDescription": "Counts uncached memory writes that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" },
tools/perf/pmu-events/arch/x86/snowridgex/counter.json +1 -1
@@ -41,7 +41,7 @@ }, { "Unit": "UBOX", - "CountersNumFixed": 1, + "CountersNumFixed": "1", "CountersNumGeneric": "2" } ]
tools/perf/pmu-events/arch/x86/snowridgex/memory.json +57 -114
684 lines not on this page · raw message
tools/perf/pmu-events/arch/x86/snowridgex/other.json +10 -20
@@ -109,110 +109,100 @@ { "BriefDescription": "Counts all code reads that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.ALL_CODE_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10044", - "PublicDescription": "Counts all code reads that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all code reads that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency).", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.ALL_CODE_RD.OUTSTANDING", "MSRIndex": "0x1a6", "MSRValue": "0x8000000000000044", - "PublicDescription": "Counts all code reads that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency). Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts streaming stores which modify a full 64 byte cacheline that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.FULL_STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x800000010000", - "PublicDescription": "Counts streaming stores which modify a full 64 byte cacheline that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts miscellaneous requests, such as I/O accesses, that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.OTHER.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x18000", - "PublicDescription": "Counts miscellaneous requests, such as I/O accesses, that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts streaming stores which modify only part of a 64 byte cacheline that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.PARTIAL_STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x400000010000", - "PublicDescription": "Counts streaming stores which modify only part of a 64 byte cacheline that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts all hardware and software prefetches that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.PREFETCHES.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10470", - "PublicDescription": "Counts all hardware and software prefetches that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts streaming stores that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10800", - "PublicDescription": "Counts streaming stores that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts uncached memory reads that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.UC_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x100000010000", - "PublicDescription": "Counts uncached memory reads that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts uncached memory reads that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency).", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.UC_RD.OUTSTANDING", "MSRIndex": "0x1a6", "MSRValue": "0x8000100000000000", - "PublicDescription": "Counts uncached memory reads that have an outstanding request. Returns the number of cycles until the response is received (i.e. XQ to XQ latency). Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }, { "BriefDescription": "Counts uncached memory writes that have any type of response.", "Counter": "0,1,2,3", - "EventCode": "0XB7", + "EventCode": "0xB7", "EventName": "OCR.UC_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x200000010000", - "PublicDescription": "Counts uncached memory writes that have any type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1" }
tools/perf/pmu-events/arch/x86/snowridgex/uncore-io.json +0 -2
@@ -9,7 +9,6 @@ "MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART3", "MetricName": "LLC_MISSES.PCIE_READ", "PerPkg": "1", - "PortMask": "0x01", "PublicDescription": "Data requested of the CPU : Card reading from DRAM : Number of DWs (4 bytes) the card requests of the main die. Includes all requests initiated by the Card, including reads and writes. : x16 card plugged in to Lane 0/1/2/3, Or x8 card plugged in to Lane 0/1, Or x4 card is plugged in to slot 0", "ScaleUnit": "4Bytes", "UMask": "0x4",
@@ -25,7 +24,6 @@ "MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART3", "MetricName": "LLC_MISSES.PCIE_WRITE", "PerPkg": "1", - "PortMask": "0x01", "PublicDescription": "Data requested of the CPU : Card writing to DRAM : Number of DWs (4 bytes) the card requests of the main die. Includes all requests initiated by the Card, including reads and writes. : x16 card plugged in to Lane 0/1/2/3, Or x8 card plugged in to Lane 0/1, Or x4 card is plugged in to slot 0", "ScaleUnit": "4Bytes", "UMask": "0x1",
Signature · 1 line
2.56.1.915.g69d5ec7298-goog
Ian Rogers
reviewerPATCH v2 36/36 perf vendor events intel: Update tigerlake events and TMA metrics to 5.32
In reply to Ian RogersThe updated TMA 5.32 metrics (TMA_Metrics-full.csv v5.3-full / 5.320-full) were published in:
https://github.com/intel/perfmon/commit/3f0091830d5ec3c1cac94f8c576594a3efb5375f
https://github.com/intel/perfmon/commit/e4e1b41d06c3bf197bd8e60484b43e02fbc20b67
Re-generate tigerlake events and metrics with create_perf_json.py:
- Fix counter count initialization in counter.json.
- Filter TMA Related metrics and Sample-with references to available events/metrics.
- Prune unused metric groups from metricgroups.json.
--- .../arch/x86/tigerlake/counter.json | 2 +- .../arch/x86/tigerlake/metricgroups.json | 5 --- .../arch/x86/tigerlake/tgl-metrics.json | 45 +++++++++---------- 3 files changed, 23 insertions(+), 29 deletions(-)
tools/perf/pmu-events/arch/x86/tigerlake/counter.json +1 -1
@@ -11,7 +11,7 @@ }, { "Unit": "CLOCK", - "CountersNumFixed": 1, + "CountersNumFixed": "1", "CountersNumGeneric": "0" } ]
tools/perf/pmu-events/arch/x86/tigerlake/metricgroups.json +0 -5
@@ -35,7 +35,6 @@ "HPC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "IcMiss": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "InsType": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "L2Evicts": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "LSD": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "LockCont": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "MachineClears": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -59,7 +58,6 @@ "Ret": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Retire": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "SMT": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", - "Server": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Snoop": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "SoC": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet", "Summary": "Grouping from Top-down Microarchitecture Analysis Metrics spreadsheet",
@@ -121,10 +119,8 @@ "tma_l3_bound_group": "Metrics contributing to tma_l3_bound category", "tma_l3_miss_bound_group": "Metrics contributing to tma_l3_miss_bound category", "tma_light_operations_group": "Metrics contributing to tma_light_operations category", - "tma_load_op_utilization_group": "Metrics contributing to tma_load_op_utilization category", "tma_load_stlb_miss_group": "Metrics contributing to tma_load_stlb_miss category", "tma_machine_clears_group": "Metrics contributing to tma_machine_clears category", - "tma_mem_latency_group": "Metrics contributing to tma_mem_latency category", "tma_memory_bound_group": "Metrics contributing to tma_memory_bound category", "tma_microcode_sequencer_group": "Metrics contributing to tma_microcode_sequencer category", "tma_mite_group": "Metrics contributing to tma_mite category",
@@ -135,6 +131,5 @@ "tma_retiring_group": "Metrics contributing to tma_retiring category", "tma_serializing_operation_group": "Metrics contributing to tma_serializing_operation category", "tma_store_bound_group": "Metrics contributing to tma_store_bound category", - "tma_store_op_utilization_group": "Metrics contributing to tma_store_op_utilization category", "tma_store_stlb_miss_group": "Metrics contributing to tma_store_stlb_miss category" }
tools/perf/pmu-events/arch/x86/tigerlake/tgl-metrics.json +22 -23
175 lines not on this page · raw message
Signature · 1 line
2.56.1.915.g69d5ec7298-goog
[email protected]
AI reviewSashiko has reviewed this 36-patch series and found no issues.
Sashiko has reviewed this 36-patch series and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]
Ian Rogers
reviewerQuoted 4 lines · Ian Rogers
This series updates
jevents.py,metric.py, and the Intel x86 vendor event/metric JSON tables across 33 models.
Quoted 9 lines
Changes in v2 (v1: https://lore.kernel.org/linux-perf-users/[email protected]/):
- Add Reviewed-by: Dapeng Mi <[email protected]> to patch 1.
- Fix Fixes: tags on broadwellx (patch 9), haswellx (patch 18),
ivytown (patch 22), and jaketown (patch 23) per Sashiko AI review to
cite the commits that stripped ExtSel and QPI_*_BANDWIDTH_TX rather
than the earlier commits that added them.
- Add matching Fixes: tags on cascadelakex (patch 10) and skylakex
(patch 34) for the commits that droppedUPI_DATA_BANDWIDTH_TX.
- No code or JSON changes from v1.
Hi Dapeng,
I added your tag to patch 1 since you replied to it, but maybe you meant it for the series? The v2 series here is missing tags for everything other than patch 1 so it would be great if you or Zide could take a look.
Thanks,
Ian
Quoted 258 lines
Patches 1-3 fix pmu-events tooling bugs and clean up obsolete logic:
- Map "cpu_lowpower" injevents.py(matchingarch/x86/events/intel/core.c) and accept uppercase "0X" hex prefixes in is_zero()/canonicalize_value().
- Fix constant folding andFunction.Equals()bugs inmetric.pyand add unit tests.
- Remove the obsolete "0 * slots" simplification exception inmetric.pynow thatparse-events.cautomatically injects slots for Intel topdown metric events (commit8dcd27b1b866).Patches 4-36 re-generate Intel vendor events and metrics per model using the updated intel/perfmon
create_perf_json.pyscripts (pushed to
https://github.com/captain5050/perfmon/tree/create-perf-json-fixes):
- Update TMA metrics to v5.32 (TMA_Metrics-full.csv v5.3-full / 5.320-full) across 24 models and add Diamond Rapids TMA/cstate metrics.
- Bring in upstream event releases for Emerald Rapids (v1.26) and Sapphire Rapids (v1.41).
- Align uncore PMU unit names and event encodings witharch/x86/events/intel/drivers (HAC_CBOX,MDF_SBO, DMR cbo and CXLCM port_en=0xf, KNL iMC, QPI ExtSel, lowercase 0x hex normalization, mixed-case QPI/UPI bandwidth events, zero-valued PortMask/FCMask cleanup, and counter.json count initialization).
- Align cstate metrics witharch/x86/events/intel/cstate.c(includingcstate_module), escape '=' in hybrid msr@tsc\,cpu\=<unit>@ expressions, adoptaggr_nr()for uncore frequency/occupancy metrics, drop bogus "Available PDIST counters" text on non-precise events, filter TMA Related metrics / Sample-with references to available entries, and prune unused metric groups from metricgroups.json.Tested with
metric_test.py, mypy, checkpatch.pl, andperf testas root on an Intel Core i7-14700 (GenuineIntel-6-B7-1): all 104 PMU JSON event tests, x86 topdown tests, jevents unknown-key check, perf all PMU test, perf all metricgroups test, perf all metrics test, and perf metrics value validation passed.Ian Rogers (36):
perf jevents: Mapcpu_lowpowerunit and handle uppercase 0X hex values perf pmu-events: FixSimplify()andEquals()bugs inmetric.pyperf pmu-events: Remove 0 * slots simplification exception in
metric.py
perf vendor events intel: Update alderlake events and TMA metrics to5.32 perf vendor events intel: Update alderlaken events and metrics perf vendor events intel: Update arrowlake events and TMA metrics to 5.32 perf vendor events intel: Update broadwell events and TMA metrics to 5.32 perf vendor events intel: Update broadwellde metrics to TMA 5.32 perf vendor events intel: Update broadwellx events and TMA metrics to 5.32 perf vendor events intel: Update cascadelakex events and TMA metrics to 5.32 perf vendor events intel: Update clearwaterforest events and metrics perf vendor events intel: Add diamondrapids TMA 5.32 metrics and update events perf vendor events intel: Update elkhartlake events perf vendor events intel: Update emeraldrapids events to 1.26 and TMA metrics to 5.32 perf vendor events intel: Update grandridge events and metrics perf vendor events intel: Update graniterapids events and TMA metrics to 5.32 perf vendor events intel: Update haswell events and TMA metrics to 5.32 perf vendor events intel: Update haswellx events and TMA metrics to 5.32 perf vendor events intel: Update icelake events and TMA metrics to 5.32 perf vendor events intel: Update icelakex events and TMA metrics to 5.32 perf vendor events intel: Update ivybridge metrics to TMA 5.32 perf vendor events intel: Update ivytown events and TMA metrics to 5.32 perf vendor events intel: Update jaketown events and TMA metrics to 5.32 perf vendor events intel: Update knightslanding events perf vendor events intel: Update lunarlake events and TMA metrics to 5.32 perf vendor events intel: Update meteorlake events and TMA metrics to 5.32 perf vendor events intel: Update novalake events perf vendor events intel: Update pantherlake events perf vendor events intel: Update rocketlake events and TMA metrics to 5.32 perf vendor events intel: Update sandybridge metrics to TMA 5.32 perf vendor events intel: Update sapphirerapids events to 1.41 and TMA metrics to 5.32 perf vendor events intel: Update sierraforest events and metrics perf vendor events intel: Update skylake events and TMA metrics to 5.32 perf vendor events intel: Update skylakex events and TMA metrics to 5.32 perf vendor events intel: Update snowridgex events perf vendor events intel: Update tigerlake events and TMA metrics to 5.32.../arch/x86/alderlake/adl-metrics.json | 62 +- .../pmu-events/arch/x86/alderlake/cache.json | 29 - .../pmu-events/arch/x86/alderlake/memory.json | 13 - .../arch/x86/alderlake/metricgroups.json | 5 - .../pmu-events/arch/x86/alderlake/other.json | 4 - .../pmu-events/arch/x86/alderlaken/cache.json | 21 - .../arch/x86/alderlaken/memory.json | 10 - .../arch/x86/alderlaken/metricgroups.json | 1 - .../pmu-events/arch/x86/alderlaken/other.json | 3 - .../arch/x86/arrowlake/arl-metrics.json | 80 +- .../pmu-events/arch/x86/arrowlake/cache.json | 8 - .../pmu-events/arch/x86/arrowlake/memory.json | 3 - .../arch/x86/arrowlake/metricgroups.json | 8 - .../pmu-events/arch/x86/arrowlake/other.json | 4 - .../arch/x86/arrowlake/uncore-cache.json | 4 +- .../arch/x86/broadwell/bdw-metrics.json | 53 +- .../arch/x86/broadwell/counter.json | 2 +- .../arch/x86/broadwell/metricgroups.json | 14 - .../arch/x86/broadwellde/bdwde-metrics.json | 105 +- .../arch/x86/broadwellde/metricgroups.json | 14 - .../arch/x86/broadwellx/bdx-metrics.json | 59 +- .../arch/x86/broadwellx/metricgroups.json | 12 - .../arch/x86/broadwellx/uncore-cache.json | 2 +- .../x86/broadwellx/uncore-interconnect.json | 140 ++ .../arch/x86/cascadelakex/clx-metrics.json | 68 +- .../arch/x86/cascadelakex/metricgroups.json | 3 - .../arch/x86/cascadelakex/uncore-cache.json | 24 +- .../x86/cascadelakex/uncore-interconnect.json | 11 + .../arch/x86/cascadelakex/uncore-io.json | 2 - .../arch/x86/clearwaterforest/cache.json | 2 - .../arch/x86/clearwaterforest/counter.json | 14 +- .../x86/clearwaterforest/cwf-metrics.json | 15 +- .../arch/x86/clearwaterforest/memory.json | 5 - .../x86/clearwaterforest/uncore-cache.json | 4 - .../arch/x86/clearwaterforest/uncore-cxl.json | 1 - .../clearwaterforest/uncore-interconnect.json | 2 +- .../arch/x86/clearwaterforest/uncore-io.json | 26 - .../arch/x86/diamondrapids/counter.json | 2 +- .../arch/x86/diamondrapids/dmr-metrics.json | 2166 +++++++++++++++++ .../arch/x86/diamondrapids/memory.json | 3 - .../arch/x86/diamondrapids/metricgroups.json | 142 ++ .../arch/x86/diamondrapids/other.json | 46 - .../arch/x86/diamondrapids/uncore-cache.json | 58 +- .../arch/x86/diamondrapids/uncore-cxl.json | 6 +- .../arch/x86/elkhartlake/cache.json | 261 +- .../arch/x86/elkhartlake/memory.json | 171 +- .../arch/x86/elkhartlake/other.json | 30 +- .../arch/x86/emeraldrapids/cache.json | 38 - .../arch/x86/emeraldrapids/emr-metrics.json | 75 +- .../arch/x86/emeraldrapids/memory.json | 29 +- .../arch/x86/emeraldrapids/metricgroups.json | 3 - .../arch/x86/emeraldrapids/other.json | 1 - .../arch/x86/emeraldrapids/uncore-cache.json | 51 +- .../emeraldrapids/uncore-interconnect.json | 62 +- .../arch/x86/emeraldrapids/uncore-io.json | 70 +- .../arch/x86/emeraldrapids/uncore-memory.json | 90 - .../pmu-events/arch/x86/grandridge/cache.json | 5 - .../arch/x86/grandridge/grr-metrics.json | 43 +- .../arch/x86/grandridge/memory.json | 2 - .../pmu-events/arch/x86/grandridge/other.json | 1 - .../arch/x86/grandridge/uncore-cache.json | 3 - .../arch/x86/grandridge/uncore-io.json | 13 - .../arch/x86/graniterapids/cache.json | 35 - .../arch/x86/graniterapids/counter.json | 12 +- .../arch/x86/graniterapids/gnr-metrics.json | 69 +- .../arch/x86/graniterapids/memory.json | 19 - .../arch/x86/graniterapids/metricgroups.json | 3 - .../arch/x86/graniterapids/other.json | 1 - .../arch/x86/graniterapids/uncore-cache.json | 4 - .../arch/x86/graniterapids/uncore-cxl.json | 1 - .../graniterapids/uncore-interconnect.json | 74 +- .../arch/x86/graniterapids/uncore-io.json | 26 - .../pmu-events/arch/x86/haswell/counter.json | 2 +- .../arch/x86/haswell/hsw-metrics.json | 45 +- .../arch/x86/haswell/metricgroups.json | 21 - .../arch/x86/haswellx/hsx-metrics.json | 53 +- .../arch/x86/haswellx/metricgroups.json | 19 - .../arch/x86/haswellx/uncore-cache.json | 2 +- .../x86/haswellx/uncore-interconnect.json | 140 ++ .../pmu-events/arch/x86/icelake/counter.json | 2 +- .../arch/x86/icelake/icl-metrics.json | 45 +- .../arch/x86/icelake/metricgroups.json | 5 - .../pmu-events/arch/x86/icelakex/counter.json | 2 +- .../arch/x86/icelakex/icx-metrics.json | 59 +- .../arch/x86/icelakex/metricgroups.json | 3 - .../arch/x86/ivybridge/ivb-metrics.json | 53 +- .../arch/x86/ivybridge/metricgroups.json | 17 - .../arch/x86/ivytown/ivt-metrics.json | 67 +- .../arch/x86/ivytown/metricgroups.json | 15 - .../arch/x86/ivytown/uncore-interconnect.json | 169 ++ .../arch/x86/jaketown/jkt-metrics.json | 38 +- .../arch/x86/jaketown/metricgroups.json | 37 +- .../x86/jaketown/uncore-interconnect.json | 48 + .../arch/x86/knightslanding/counter.json | 4 +- .../x86/knightslanding/uncore-memory.json | 8 +- .../pmu-events/arch/x86/lunarlake/cache.json | 15 - .../arch/x86/lunarlake/lnl-metrics.json | 67 +- .../pmu-events/arch/x86/lunarlake/memory.json | 9 - .../arch/x86/lunarlake/metricgroups.json | 8 - .../pmu-events/arch/x86/lunarlake/other.json | 5 - tools/perf/pmu-events/arch/x86/mapfile.csv | 4 +- .../pmu-events/arch/x86/meteorlake/cache.json | 21 - .../arch/x86/meteorlake/memory.json | 9 - .../arch/x86/meteorlake/metricgroups.json | 5 - .../arch/x86/meteorlake/mtl-metrics.json | 64 +- .../pmu-events/arch/x86/meteorlake/other.json | 4 - .../arch/x86/meteorlake/uncore-cache.json | 4 +- .../pmu-events/arch/x86/novalake/counter.json | 2 +- .../pmu-events/arch/x86/novalake/memory.json | 3 - .../pmu-events/arch/x86/novalake/other.json | 14 - .../arch/x86/pantherlake/cache.json | 10 - .../arch/x86/pantherlake/counter.json | 2 +- .../arch/x86/pantherlake/memory.json | 6 - .../arch/x86/pantherlake/other.json | 1 - .../arch/x86/rocketlake/counter.json | 2 +- .../arch/x86/rocketlake/metricgroups.json | 5 - .../arch/x86/rocketlake/rkl-metrics.json | 45 +- .../arch/x86/sandybridge/metricgroups.json | 37 +- .../arch/x86/sandybridge/snb-metrics.json | 32 +- .../arch/x86/sapphirerapids/cache.json | 43 - .../arch/x86/sapphirerapids/memory.json | 29 +- .../arch/x86/sapphirerapids/metricgroups.json | 3 - .../arch/x86/sapphirerapids/other.json | 1 - .../arch/x86/sapphirerapids/spr-metrics.json | 71 +- .../arch/x86/sapphirerapids/uncore-cache.json | 39 +- .../sapphirerapids/uncore-interconnect.json | 62 +- .../arch/x86/sapphirerapids/uncore-io.json | 70 +- .../x86/sapphirerapids/uncore-memory.json | 90 - .../arch/x86/sierraforest/cache.json | 5 - .../arch/x86/sierraforest/memory.json | 4 - .../arch/x86/sierraforest/other.json | 1 - .../arch/x86/sierraforest/srf-metrics.json | 41 +- .../arch/x86/sierraforest/uncore-cache.json | 4 - .../arch/x86/sierraforest/uncore-cxl.json | 1 - .../x86/sierraforest/uncore-interconnect.json | 2 +- .../arch/x86/sierraforest/uncore-io.json | 26 - .../pmu-events/arch/x86/skylake/counter.json | 2 +- .../arch/x86/skylake/metricgroups.json | 7 - .../arch/x86/skylake/skl-metrics.json | 54 +- .../arch/x86/skylakex/metricgroups.json | 4 - .../arch/x86/skylakex/skx-metrics.json | 58 +- .../arch/x86/skylakex/uncore-cache.json | 24 +- .../x86/skylakex/uncore-interconnect.json | 11 + .../arch/x86/skylakex/uncore-io.json | 2 - .../pmu-events/arch/x86/snowridgex/cache.json | 261 +- .../arch/x86/snowridgex/counter.json | 2 +- .../arch/x86/snowridgex/memory.json | 171 +- .../pmu-events/arch/x86/snowridgex/other.json | 30 +- .../arch/x86/snowridgex/uncore-io.json | 2 - .../arch/x86/tigerlake/counter.json | 2 +- .../arch/x86/tigerlake/metricgroups.json | 5 - .../arch/x86/tigerlake/tgl-metrics.json | 45 +- tools/perf/pmu-events/jevents.py | 5 +- tools/perf/pmu-events/metric.py | 55 +- tools/perf/pmu-events/metric_test.py | 43 +- 155 files changed, 4261 insertions(+), 2690 deletions(-) create mode 100644 tools/perf/pmu-events/arch/x86/diamondrapids/dmr-metrics.json create mode 100644 tools/perf/pmu-events/arch/x86/diamondrapids/metricgroups.jsonbase-commit:
419442c00c667d33e27db4fef9733fa966e6a149--
2.56.1.915.g69d5ec7298-goog