From 2dce436130ddfb8b442fc373d103f970de26cb78 Mon Sep 17 00:00:00 2001 From: Ed Baker Date: Mon, 10 Nov 2025 20:26:39 -0700 Subject: [PATCH 1/2] perf-uncore-events-csv: Update bandwidth units Update PMM bandwidth entries to MiB/sec. The scale factor 6.103515625E-5 is a power of 2 rather than a power of 10. Reported-by: Ian Rogers --- scripts/config/perf-uncore-events-clx.csv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/config/perf-uncore-events-clx.csv b/scripts/config/perf-uncore-events-clx.csv index 35d1f171..1303fa33 100644 --- a/scripts/config/perf-uncore-events-clx.csv +++ b/scripts/config/perf-uncore-events-clx.csv @@ -62,14 +62,14 @@ UNC_M_WPQ_OCCUPANCY,,,,,, UNC_M_PMM_RPQ_OCCUPANCY.ALL,,Read Pending Queue Occupancy of all read requests for Intel Optane DC persistent memory,,,, UNC_M_PMM_RPQ_OCCUPANCY.ALL,UNC_M_PMM_READ_LATENCY,Intel Optane DC persistent memory read latency (ns),,6000000000(ns),UNC_M_PMM_RPQ_OCCUPANCY.ALL / UNC_M_PMM_RPQ_INSERTS / UNC_M_CLOCKTICKS, UNC_M_PMM_RPQ_INSERTS,,Write requests allocated in the PMM Write Pending Queue for Intel Optane DC persistent memory,,,, -UNC_M_PMM_RPQ_INSERTS,UNC_M_PMM_BANDWIDTH.READ,Intel Optane DC persistent memory bandwidth read (MB/sec),,6.103515625E-5(MB/sec),, -UNC_M_PMM_RPQ_INSERTS,UNC_M_PMM_BANDWIDTH.TOTAL,Intel Optane DC persistent memory bandwidth total (MB/sec),,6.103515625E-5(MB/sec),UNC_M_PMM_RPQ_INSERTS + UNC_M_PMM_WPQ_INSERTS, +UNC_M_PMM_RPQ_INSERTS,UNC_M_PMM_BANDWIDTH.READ,Intel Optane DC persistent memory bandwidth read (MiB/sec),,6.103515625E-5(MiB/sec),, +UNC_M_PMM_RPQ_INSERTS,UNC_M_PMM_BANDWIDTH.TOTAL,Intel Optane DC persistent memory bandwidth total (MiB/sec),,6.103515625E-5(MiB/sec),UNC_M_PMM_RPQ_INSERTS + UNC_M_PMM_WPQ_INSERTS, UNC_M_PMM_CMD1.ALL,,,,,, UNC_M_PMM_CMD1.RD,,,,,, UNC_M_PMM_CMD1.WR,,,,,, UNC_M_PMM_CMD1.UFILL_RD,,,,,, UNC_M_PMM_WPQ_INSERTS,,Write requests allocated in the PMM Write Pending Queue for Intel Optane DC persistent memory,,,, -UNC_M_PMM_WPQ_INSERTS,UNC_M_PMM_BANDWIDTH.WRITE,Intel Optane DC persistent memory bandwidth write (MB/sec),,6.103515625E-5(MB/sec),, +UNC_M_PMM_WPQ_INSERTS,UNC_M_PMM_BANDWIDTH.WRITE,Intel Optane DC persistent memory bandwidth write (MiB/sec),,6.103515625E-5(MiB/sec),, UNC_M_PMM_WPQ_OCCUPANCY.ALL,,,,,, UNC_C_CLOCKTICKS,,,,,, UNC_H_CORE_SNP.CORE_GTONE,,,,,, From f414cfd804ffcbbfca15f485ff74d31f2b65159e Mon Sep 17 00:00:00 2001 From: Ed Baker Date: Mon, 1 Dec 2025 19:15:25 -0700 Subject: [PATCH 2/2] verify_perf_uncore_events: Update pattern for MiB Add MiB to the scale patterns. --- .../ci/verify_perf_uncore_events/perf_uncore_csv_schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/verify_perf_uncore_events/perf_uncore_csv_schema.json b/scripts/ci/verify_perf_uncore_events/perf_uncore_csv_schema.json index 69115a74..e69ea7c1 100644 --- a/scripts/ci/verify_perf_uncore_events/perf_uncore_csv_schema.json +++ b/scripts/ci/verify_perf_uncore_events/perf_uncore_csv_schema.json @@ -47,7 +47,7 @@ "pattern": "^[0-9.]+E-[0-9]+$" }, { - "pattern": "^[0-9.]+E-[0-9]+\\(MB/sec\\)$" + "pattern": "^[0-9.]+E-[0-9]+\\((MB|MiB)/sec\\)$" }, { "const": ""