xref: /linux/tools/perf/pmu-events/arch/x86/sapphirerapids/memory.json (revision 1c07425e902cd3137961c3d45b4271bf8a9b8eb9)
1[
2    {
3        "BriefDescription": "Execution stalls while L3 cache miss demand load is outstanding.",
4        "CounterMask": "6",
5        "EventCode": "0xa3",
6        "EventName": "CYCLE_ACTIVITY.STALLS_L3_MISS",
7        "SampleAfterValue": "1000003",
8        "UMask": "0x6"
9    },
10    {
11        "BriefDescription": "Number of machine clears due to memory ordering conflicts.",
12        "EventCode": "0xc3",
13        "EventName": "MACHINE_CLEARS.MEMORY_ORDERING",
14        "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",
15        "SampleAfterValue": "100003",
16        "UMask": "0x2"
17    },
18    {
19        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
20        "CounterMask": "2",
21        "EventCode": "0x47",
22        "EventName": "MEMORY_ACTIVITY.CYCLES_L1D_MISS",
23        "SampleAfterValue": "1000003",
24        "UMask": "0x2"
25    },
26    {
27        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
28        "CounterMask": "3",
29        "EventCode": "0x47",
30        "EventName": "MEMORY_ACTIVITY.STALLS_L1D_MISS",
31        "SampleAfterValue": "1000003",
32        "UMask": "0x3"
33    },
34    {
35        "BriefDescription": "MEMORY_ACTIVITY.STALLS_L2_MISS",
36        "CounterMask": "5",
37        "EventCode": "0x47",
38        "EventName": "MEMORY_ACTIVITY.STALLS_L2_MISS",
39        "SampleAfterValue": "1000003",
40        "UMask": "0x5"
41    },
42    {
43        "BriefDescription": "MEMORY_ACTIVITY.STALLS_L3_MISS",
44        "CounterMask": "9",
45        "EventCode": "0x47",
46        "EventName": "MEMORY_ACTIVITY.STALLS_L3_MISS",
47        "SampleAfterValue": "1000003",
48        "UMask": "0x9"
49    },
50    {
51        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 128 cycles.",
52        "Data_LA": "1",
53        "EventCode": "0xcd",
54        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_128",
55        "MSRIndex": "0x3F6",
56        "MSRValue": "0x80",
57        "PEBS": "2",
58        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 128 cycles.  Reported latency may be longer than just the memory latency.",
59        "SampleAfterValue": "1009",
60        "UMask": "0x1"
61    },
62    {
63        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 16 cycles.",
64        "Data_LA": "1",
65        "EventCode": "0xcd",
66        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_16",
67        "MSRIndex": "0x3F6",
68        "MSRValue": "0x10",
69        "PEBS": "2",
70        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 16 cycles.  Reported latency may be longer than just the memory latency.",
71        "SampleAfterValue": "20011",
72        "UMask": "0x1"
73    },
74    {
75        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 256 cycles.",
76        "Data_LA": "1",
77        "EventCode": "0xcd",
78        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_256",
79        "MSRIndex": "0x3F6",
80        "MSRValue": "0x100",
81        "PEBS": "2",
82        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 256 cycles.  Reported latency may be longer than just the memory latency.",
83        "SampleAfterValue": "503",
84        "UMask": "0x1"
85    },
86    {
87        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 32 cycles.",
88        "Data_LA": "1",
89        "EventCode": "0xcd",
90        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_32",
91        "MSRIndex": "0x3F6",
92        "MSRValue": "0x20",
93        "PEBS": "2",
94        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 32 cycles.  Reported latency may be longer than just the memory latency.",
95        "SampleAfterValue": "100007",
96        "UMask": "0x1"
97    },
98    {
99        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 4 cycles.",
100        "Data_LA": "1",
101        "EventCode": "0xcd",
102        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_4",
103        "MSRIndex": "0x3F6",
104        "MSRValue": "0x4",
105        "PEBS": "2",
106        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 4 cycles.  Reported latency may be longer than just the memory latency.",
107        "SampleAfterValue": "100003",
108        "UMask": "0x1"
109    },
110    {
111        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 512 cycles.",
112        "Data_LA": "1",
113        "EventCode": "0xcd",
114        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_512",
115        "MSRIndex": "0x3F6",
116        "MSRValue": "0x200",
117        "PEBS": "2",
118        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 512 cycles.  Reported latency may be longer than just the memory latency.",
119        "SampleAfterValue": "101",
120        "UMask": "0x1"
121    },
122    {
123        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 64 cycles.",
124        "Data_LA": "1",
125        "EventCode": "0xcd",
126        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_64",
127        "MSRIndex": "0x3F6",
128        "MSRValue": "0x40",
129        "PEBS": "2",
130        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 64 cycles.  Reported latency may be longer than just the memory latency.",
131        "SampleAfterValue": "2003",
132        "UMask": "0x1"
133    },
134    {
135        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 8 cycles.",
136        "Data_LA": "1",
137        "EventCode": "0xcd",
138        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_8",
139        "MSRIndex": "0x3F6",
140        "MSRValue": "0x8",
141        "PEBS": "2",
142        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 8 cycles.  Reported latency may be longer than just the memory latency.",
143        "SampleAfterValue": "50021",
144        "UMask": "0x1"
145    },
146    {
147        "BriefDescription": "Retired memory store access operations. A PDist event for PEBS Store Latency Facility.",
148        "Data_LA": "1",
149        "EventCode": "0xcd",
150        "EventName": "MEM_TRANS_RETIRED.STORE_SAMPLE",
151        "PEBS": "2",
152        "PublicDescription": "Counts Retired memory accesses with at least 1 store operation. This PEBS event is the precisely-distributed (PDist) trigger covering all stores uops for sampling by the PEBS Store Latency Facility. The facility is described in Intel SDM Volume 3 section 19.9.8",
153        "SampleAfterValue": "1000003",
154        "UMask": "0x2"
155    },
156    {
157        "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were not supplied by the local socket's L1, L2, or L3 caches.",
158        "EventCode": "0x2A,0x2B",
159        "EventName": "OCR.DEMAND_CODE_RD.L3_MISS",
160        "MSRIndex": "0x1a6,0x1a7",
161        "MSRValue": "0x3FBFC00004",
162        "SampleAfterValue": "100003",
163        "UMask": "0x1"
164    },
165    {
166        "BriefDescription": "Counts demand data reads that were not supplied by the local socket's L1, L2, or L3 caches.",
167        "EventCode": "0x2A,0x2B",
168        "EventName": "OCR.DEMAND_DATA_RD.L3_MISS",
169        "MSRIndex": "0x1a6,0x1a7",
170        "MSRValue": "0x3FBFC00001",
171        "SampleAfterValue": "100003",
172        "UMask": "0x1"
173    },
174    {
175        "BriefDescription": "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.",
176        "EventCode": "0x2A,0x2B",
177        "EventName": "OCR.DEMAND_RFO.L3_MISS",
178        "MSRIndex": "0x1a6,0x1a7",
179        "MSRValue": "0x3F3FC00002",
180        "SampleAfterValue": "100003",
181        "UMask": "0x1"
182    },
183    {
184        "BriefDescription": "Counts hardware prefetches to the L3 only that missed the local socket's L1, L2, and L3 caches.",
185        "EventCode": "0x2A,0x2B",
186        "EventName": "OCR.HWPF_L3.L3_MISS",
187        "MSRIndex": "0x1a6,0x1a7",
188        "MSRValue": "0x94002380",
189        "SampleAfterValue": "100003",
190        "UMask": "0x1"
191    },
192    {
193        "BriefDescription": "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.",
194        "EventCode": "0x2A,0x2B",
195        "EventName": "OCR.HWPF_L3.L3_MISS_LOCAL",
196        "MSRIndex": "0x1a6,0x1a7",
197        "MSRValue": "0x84002380",
198        "SampleAfterValue": "100003",
199        "UMask": "0x1"
200    },
201    {
202        "BriefDescription": "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.",
203        "EventCode": "0x2A,0x2B",
204        "EventName": "OCR.READS_TO_CORE.L3_MISS",
205        "MSRIndex": "0x1a6,0x1a7",
206        "MSRValue": "0x3F3FC04477",
207        "SampleAfterValue": "100003",
208        "UMask": "0x1"
209    },
210    {
211        "BriefDescription": "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.",
212        "EventCode": "0x2A,0x2B",
213        "EventName": "OCR.READS_TO_CORE.L3_MISS_LOCAL",
214        "MSRIndex": "0x1a6,0x1a7",
215        "MSRValue": "0x3F04C04477",
216        "SampleAfterValue": "100003",
217        "UMask": "0x1"
218    },
219    {
220        "BriefDescription": "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.",
221        "EventCode": "0x2A,0x2B",
222        "EventName": "OCR.READS_TO_CORE.L3_MISS_LOCAL_SOCKET",
223        "MSRIndex": "0x1a6,0x1a7",
224        "MSRValue": "0x70CC04477",
225        "SampleAfterValue": "100003",
226        "UMask": "0x1"
227    },
228    {
229        "BriefDescription": "Counts streaming stores that missed the local socket's L1, L2, and L3 caches.",
230        "EventCode": "0x2A,0x2B",
231        "EventName": "OCR.STREAMING_WR.L3_MISS",
232        "MSRIndex": "0x1a6,0x1a7",
233        "MSRValue": "0x94000800",
234        "SampleAfterValue": "100003",
235        "UMask": "0x1"
236    },
237    {
238        "BriefDescription": "Counts streaming stores that were not supplied by the local socket's L1, L2, or L3 caches and the cacheline is homed locally.",
239        "EventCode": "0x2A,0x2B",
240        "EventName": "OCR.STREAMING_WR.L3_MISS_LOCAL",
241        "MSRIndex": "0x1a6,0x1a7",
242        "MSRValue": "0x84000800",
243        "SampleAfterValue": "100003",
244        "UMask": "0x1"
245    },
246    {
247        "BriefDescription": "Counts demand data read requests that miss the L3 cache.",
248        "EventCode": "0x21",
249        "EventName": "OFFCORE_REQUESTS.L3_MISS_DEMAND_DATA_RD",
250        "SampleAfterValue": "100003",
251        "UMask": "0x10"
252    },
253    {
254        "BriefDescription": "For every cycle, increments by the number of demand data read requests pending that are known to have missed the L3 cache.",
255        "EventCode": "0x20",
256        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.L3_MISS_DEMAND_DATA_RD",
257        "PublicDescription": "For every cycle, increments by the number of demand data read requests pending that are known to have missed the L3 cache.  Note that this does not capture all elapsed cycles while requests are outstanding - only cycles from when the requests were known by the requesting core to have missed the L3 cache.",
258        "SampleAfterValue": "2000003",
259        "UMask": "0x10"
260    },
261    {
262        "BriefDescription": "Number of times an RTM execution aborted.",
263        "EventCode": "0xc9",
264        "EventName": "RTM_RETIRED.ABORTED",
265        "PublicDescription": "Counts the number of times RTM abort was triggered.",
266        "SampleAfterValue": "100003",
267        "UMask": "0x4"
268    },
269    {
270        "BriefDescription": "Number of times an RTM execution aborted due to none of the previous 4 categories (e.g. interrupt)",
271        "EventCode": "0xc9",
272        "EventName": "RTM_RETIRED.ABORTED_EVENTS",
273        "PublicDescription": "Counts the number of times an RTM execution aborted due to none of the previous 4 categories (e.g. interrupt).",
274        "SampleAfterValue": "100003",
275        "UMask": "0x80"
276    },
277    {
278        "BriefDescription": "Number of times an RTM execution aborted due to various memory events (e.g. read/write capacity and conflicts)",
279        "EventCode": "0xc9",
280        "EventName": "RTM_RETIRED.ABORTED_MEM",
281        "PublicDescription": "Counts the number of times an RTM execution aborted due to various memory events (e.g. read/write capacity and conflicts).",
282        "SampleAfterValue": "100003",
283        "UMask": "0x8"
284    },
285    {
286        "BriefDescription": "Number of times an RTM execution aborted due to incompatible memory type",
287        "EventCode": "0xc9",
288        "EventName": "RTM_RETIRED.ABORTED_MEMTYPE",
289        "PublicDescription": "Counts the number of times an RTM execution aborted due to incompatible memory type.",
290        "SampleAfterValue": "100003",
291        "UMask": "0x40"
292    },
293    {
294        "BriefDescription": "Number of times an RTM execution aborted due to HLE-unfriendly instructions",
295        "EventCode": "0xc9",
296        "EventName": "RTM_RETIRED.ABORTED_UNFRIENDLY",
297        "PublicDescription": "Counts the number of times an RTM execution aborted due to HLE-unfriendly instructions.",
298        "SampleAfterValue": "100003",
299        "UMask": "0x20"
300    },
301    {
302        "BriefDescription": "Number of times an RTM execution successfully committed",
303        "EventCode": "0xc9",
304        "EventName": "RTM_RETIRED.COMMIT",
305        "PublicDescription": "Counts the number of times RTM commit succeeded.",
306        "SampleAfterValue": "100003",
307        "UMask": "0x2"
308    },
309    {
310        "BriefDescription": "Number of times an RTM execution started.",
311        "EventCode": "0xc9",
312        "EventName": "RTM_RETIRED.START",
313        "PublicDescription": "Counts the number of times we entered an RTM region. Does not count nested transactions.",
314        "SampleAfterValue": "100003",
315        "UMask": "0x1"
316    },
317    {
318        "BriefDescription": "Speculatively counts the number of TSX aborts due to a data capacity limitation for transactional reads",
319        "EventCode": "0x54",
320        "EventName": "TX_MEM.ABORT_CAPACITY_READ",
321        "PublicDescription": "Speculatively counts the number of Transactional Synchronization Extensions (TSX) aborts due to a data capacity limitation for transactional reads",
322        "SampleAfterValue": "100003",
323        "UMask": "0x80"
324    },
325    {
326        "BriefDescription": "Speculatively counts the number of TSX aborts due to a data capacity limitation for transactional writes.",
327        "EventCode": "0x54",
328        "EventName": "TX_MEM.ABORT_CAPACITY_WRITE",
329        "PublicDescription": "Speculatively counts the number of Transactional Synchronization Extensions (TSX) aborts due to a data capacity limitation for transactional writes.",
330        "SampleAfterValue": "100003",
331        "UMask": "0x2"
332    },
333    {
334        "BriefDescription": "Number of times a transactional abort was signaled due to a data conflict on a transactionally accessed address",
335        "EventCode": "0x54",
336        "EventName": "TX_MEM.ABORT_CONFLICT",
337        "PublicDescription": "Counts the number of times a TSX line had a cache conflict.",
338        "SampleAfterValue": "100003",
339        "UMask": "0x1"
340    }
341]
342