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