Skip to contentSkip to conversation

perf jevents: Add mesh bandwidth saturation for CWF, EMR, GRR, SNR, SPR, SRF

PATCH Applied Ian Rogers 3 participants 3 messages Sep 9 – Sep 14 perf events

lore
Share & tools
lore

Ian Rogers

author reviewer
#0 lore raw

PATCH 1/1 perf jevents: Add mesh bandwidth saturation for CWF, EMR, GRR, SNR, SPR, SRF

Extend the mesh bandwidth saturation's list of events to include events from clearwaterforest, emeraldrapids, grandridge, graniterapids, sapphirerapids and sierraforest. This makes the lpm_mem_sat metric available for those CPU models.

---
 tools/perf/pmu-events/intel_metrics.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tools/perf/pmu-events/intel_metrics.py +2 -1
index bc2b920d3a0d..9780bf978a41 100755
@@ -1099,7 +1099,8 @@ def UncoreMemSat() -> Optional[Metric]:
     try:
         clocks = Event("UNC_CHA_CLOCKTICKS", "UNC_C_CLOCKTICKS")
         sat = Event("UNC_CHA_DISTRESS_ASSERTED.VERT", "UNC_CHA_FAST_ASSERTED.VERT",
-                    "UNC_C_FAST_ASSERTED")
+                    "UNC_C_FAST_ASSERTED", "UNC_CHA_DISTRESS_ASSERTED.DPT_ANY",
+                    "UNC_CHA_DISTRESS_ASSERTED.DPT_NONLOCAL")
     except:
         return None
 
Signature · 1 line
2.55.0.1003.g10538fe699-goog
#1 lore raw
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 6 lines

Extend the mesh bandwidth saturation's list of events to include events from clearwaterforest, emeraldrapids, grandridge, graniterapids, sapphirerapids and sierraforest. This makes the lpm_mem_sat metric available for those CPU models.

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
maintainer Applied
#2 lore raw
In reply to Ian Rogers
Quoted 4 lines · Ian Rogers

Extend the mesh bandwidth saturation's list of events to include events from clearwaterforest, emeraldrapids, grandridge, graniterapids, sapphirerapids and sierraforest. This makes the lpm_mem_sat metric available for those CPU models.

Thanks, applied to perf-tools-next, for v7.4.

- Arnaldo

Quoted 21 lines
---
 tools/perf/pmu-events/intel_metrics.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tools/perf/pmu-events/intel_metrics.py +2 -1
index bc2b920d3a0d..9780bf978a41 100755
@@ -1099,7 +1099,8 @@ def UncoreMemSat() -> Optional[Metric]:
     try:
         clocks = Event("UNC_CHA_CLOCKTICKS", "UNC_C_CLOCKTICKS")
         sat = Event("UNC_CHA_DISTRESS_ASSERTED.VERT", "UNC_CHA_FAST_ASSERTED.VERT",
-                    "UNC_C_FAST_ASSERTED")
+                    "UNC_C_FAST_ASSERTED", "UNC_CHA_DISTRESS_ASSERTED.DPT_ANY",
+                    "UNC_CHA_DISTRESS_ASSERTED.DPT_NONLOCAL")
     except:
         return None
 
Signature · 1 line
2.55.0.1003.g10538fe699-goog