xref: /linux/tools/perf/pmu-events/arch/x86/alderlaken/cache.json (revision e7d759f31ca295d589f7420719c311870bb3166f)
1[
2    {
3        "BriefDescription": "Counts the number of cacheable memory requests that miss in the LLC. Counts on a per core basis.",
4        "EventCode": "0x2e",
5        "EventName": "LONGEST_LAT_CACHE.MISS",
6        "PublicDescription": "Counts the number of cacheable memory requests that miss in the Last Level Cache (LLC). Requests include demand loads, reads for ownership (RFO), instruction fetches and L1 HW prefetches. If the platform has an L3 cache, the LLC is the L3 cache, otherwise it is the L2 cache. Counts on a per core basis.",
7        "SampleAfterValue": "200003",
8        "UMask": "0x41"
9    },
10    {
11        "BriefDescription": "Counts the number of cacheable memory requests that access the LLC. Counts on a per core basis.",
12        "EventCode": "0x2e",
13        "EventName": "LONGEST_LAT_CACHE.REFERENCE",
14        "PublicDescription": "Counts the number of cacheable memory requests that access the Last Level Cache (LLC). Requests include demand loads, reads for ownership (RFO), instruction fetches and L1 HW prefetches. If the platform has an L3 cache, the LLC is the L3 cache, otherwise it is the L2 cache. Counts on a per core basis.",
15        "SampleAfterValue": "200003",
16        "UMask": "0x4f"
17    },
18    {
19        "BriefDescription": "Counts the number of cycles the core is stalled due to an instruction cache or TLB miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
20        "EventCode": "0x34",
21        "EventName": "MEM_BOUND_STALLS.IFETCH",
22        "PublicDescription": "Counts the number of cycles the core is stalled due to an instruction cache or translation lookaside buffer (TLB) miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
23        "SampleAfterValue": "200003",
24        "UMask": "0x38"
25    },
26    {
27        "BriefDescription": "Counts the number of cycles the core is stalled due to an instruction cache or TLB miss which hit in DRAM or MMIO (Non-DRAM).",
28        "EventCode": "0x34",
29        "EventName": "MEM_BOUND_STALLS.IFETCH_DRAM_HIT",
30        "PublicDescription": "Counts the number of cycles the core is stalled due to an instruction cache or translation lookaside buffer (TLB) miss which hit in DRAM or MMIO (non-DRAM).",
31        "SampleAfterValue": "200003",
32        "UMask": "0x20"
33    },
34    {
35        "BriefDescription": "Counts the number of cycles the core is stalled due to an instruction cache or TLB miss which hit in the L2 cache.",
36        "EventCode": "0x34",
37        "EventName": "MEM_BOUND_STALLS.IFETCH_L2_HIT",
38        "PublicDescription": "Counts the number of cycles the core is stalled due to an instruction cache or Translation Lookaside Buffer (TLB) miss which hit in the L2 cache.",
39        "SampleAfterValue": "200003",
40        "UMask": "0x8"
41    },
42    {
43        "BriefDescription": "Counts the number of cycles the core is stalled due to an instruction cache or TLB miss which hit in the LLC or other core with HITE/F/M.",
44        "EventCode": "0x34",
45        "EventName": "MEM_BOUND_STALLS.IFETCH_LLC_HIT",
46        "PublicDescription": "Counts the number of cycles the core is stalled due to an instruction cache or Translation Lookaside Buffer (TLB) miss which hit in the Last Level Cache (LLC) or other core with HITE/F/M.",
47        "SampleAfterValue": "200003",
48        "UMask": "0x10"
49    },
50    {
51        "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
52        "EventCode": "0x34",
53        "EventName": "MEM_BOUND_STALLS.LOAD",
54        "SampleAfterValue": "200003",
55        "UMask": "0x7"
56    },
57    {
58        "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load miss which hit in DRAM or MMIO (Non-DRAM).",
59        "EventCode": "0x34",
60        "EventName": "MEM_BOUND_STALLS.LOAD_DRAM_HIT",
61        "SampleAfterValue": "200003",
62        "UMask": "0x4"
63    },
64    {
65        "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load which hit in the L2 cache.",
66        "EventCode": "0x34",
67        "EventName": "MEM_BOUND_STALLS.LOAD_L2_HIT",
68        "SampleAfterValue": "200003",
69        "UMask": "0x1"
70    },
71    {
72        "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load which hit in the LLC or other core with HITE/F/M.",
73        "EventCode": "0x34",
74        "EventName": "MEM_BOUND_STALLS.LOAD_LLC_HIT",
75        "PublicDescription": "Counts the number of cycles the core is stalled due to a demand load which hit in the Last Level Cache (LLC) or other core with HITE/F/M.",
76        "SampleAfterValue": "200003",
77        "UMask": "0x2"
78    },
79    {
80        "BriefDescription": "Counts the number of load uops retired that hit in DRAM.",
81        "Data_LA": "1",
82        "EventCode": "0xd1",
83        "EventName": "MEM_LOAD_UOPS_RETIRED.DRAM_HIT",
84        "PEBS": "1",
85        "SampleAfterValue": "200003",
86        "UMask": "0x80"
87    },
88    {
89        "BriefDescription": "Counts the number of load uops retired that hit in the L2 cache.",
90        "Data_LA": "1",
91        "EventCode": "0xd1",
92        "EventName": "MEM_LOAD_UOPS_RETIRED.L2_HIT",
93        "PEBS": "1",
94        "SampleAfterValue": "200003",
95        "UMask": "0x2"
96    },
97    {
98        "BriefDescription": "Counts the number of load uops retired that hit in the L3 cache.",
99        "Data_LA": "1",
100        "EventCode": "0xd1",
101        "EventName": "MEM_LOAD_UOPS_RETIRED.L3_HIT",
102        "PEBS": "1",
103        "SampleAfterValue": "200003",
104        "UMask": "0x4"
105    },
106    {
107        "BriefDescription": "Counts the number of cycles that uops are blocked for any of the following reasons:  load buffer, store buffer or RSV full.",
108        "EventCode": "0x04",
109        "EventName": "MEM_SCHEDULER_BLOCK.ALL",
110        "SampleAfterValue": "20003",
111        "UMask": "0x7"
112    },
113    {
114        "BriefDescription": "Counts the number of cycles that uops are blocked due to a load buffer full condition.",
115        "EventCode": "0x04",
116        "EventName": "MEM_SCHEDULER_BLOCK.LD_BUF",
117        "SampleAfterValue": "20003",
118        "UMask": "0x2"
119    },
120    {
121        "BriefDescription": "Counts the number of cycles that uops are blocked due to an RSV full condition.",
122        "EventCode": "0x04",
123        "EventName": "MEM_SCHEDULER_BLOCK.RSV",
124        "SampleAfterValue": "20003",
125        "UMask": "0x4"
126    },
127    {
128        "BriefDescription": "Counts the number of cycles that uops are blocked due to a store buffer full condition.",
129        "EventCode": "0x04",
130        "EventName": "MEM_SCHEDULER_BLOCK.ST_BUF",
131        "SampleAfterValue": "20003",
132        "UMask": "0x1"
133    },
134    {
135        "BriefDescription": "Counts the number of load uops retired.",
136        "Data_LA": "1",
137        "EventCode": "0xd0",
138        "EventName": "MEM_UOPS_RETIRED.ALL_LOADS",
139        "PEBS": "1",
140        "PublicDescription": "Counts the total number of load uops retired.",
141        "SampleAfterValue": "200003",
142        "UMask": "0x81"
143    },
144    {
145        "BriefDescription": "Counts the number of store uops retired.",
146        "Data_LA": "1",
147        "EventCode": "0xd0",
148        "EventName": "MEM_UOPS_RETIRED.ALL_STORES",
149        "PEBS": "1",
150        "PublicDescription": "Counts the total number of store uops retired.",
151        "SampleAfterValue": "200003",
152        "UMask": "0x82"
153    },
154    {
155        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 128 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
156        "Data_LA": "1",
157        "EventCode": "0xd0",
158        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_128",
159        "MSRIndex": "0x3F6",
160        "MSRValue": "0x80",
161        "PEBS": "2",
162        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 128 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
163        "SampleAfterValue": "1000003",
164        "UMask": "0x5"
165    },
166    {
167        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 16 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
168        "Data_LA": "1",
169        "EventCode": "0xd0",
170        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_16",
171        "MSRIndex": "0x3F6",
172        "MSRValue": "0x10",
173        "PEBS": "2",
174        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 16 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
175        "SampleAfterValue": "1000003",
176        "UMask": "0x5"
177    },
178    {
179        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 256 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
180        "Data_LA": "1",
181        "EventCode": "0xd0",
182        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_256",
183        "MSRIndex": "0x3F6",
184        "MSRValue": "0x100",
185        "PEBS": "2",
186        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 256 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
187        "SampleAfterValue": "1000003",
188        "UMask": "0x5"
189    },
190    {
191        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 32 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
192        "Data_LA": "1",
193        "EventCode": "0xd0",
194        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_32",
195        "MSRIndex": "0x3F6",
196        "MSRValue": "0x20",
197        "PEBS": "2",
198        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 32 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
199        "SampleAfterValue": "1000003",
200        "UMask": "0x5"
201    },
202    {
203        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 4 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
204        "Data_LA": "1",
205        "EventCode": "0xd0",
206        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_4",
207        "MSRIndex": "0x3F6",
208        "MSRValue": "0x4",
209        "PEBS": "2",
210        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 4 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
211        "SampleAfterValue": "1000003",
212        "UMask": "0x5"
213    },
214    {
215        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 512 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
216        "Data_LA": "1",
217        "EventCode": "0xd0",
218        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_512",
219        "MSRIndex": "0x3F6",
220        "MSRValue": "0x200",
221        "PEBS": "2",
222        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 512 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
223        "SampleAfterValue": "1000003",
224        "UMask": "0x5"
225    },
226    {
227        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 64 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
228        "Data_LA": "1",
229        "EventCode": "0xd0",
230        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_64",
231        "MSRIndex": "0x3F6",
232        "MSRValue": "0x40",
233        "PEBS": "2",
234        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 64 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
235        "SampleAfterValue": "1000003",
236        "UMask": "0x5"
237    },
238    {
239        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 8 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
240        "Data_LA": "1",
241        "EventCode": "0xd0",
242        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_8",
243        "MSRIndex": "0x3F6",
244        "MSRValue": "0x8",
245        "PEBS": "2",
246        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 8 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
247        "SampleAfterValue": "1000003",
248        "UMask": "0x5"
249    },
250    {
251        "BriefDescription": "Counts the number of retired split load uops.",
252        "Data_LA": "1",
253        "EventCode": "0xd0",
254        "EventName": "MEM_UOPS_RETIRED.SPLIT_LOADS",
255        "PEBS": "1",
256        "SampleAfterValue": "200003",
257        "UMask": "0x41"
258    },
259    {
260        "BriefDescription": "Counts the number of stores uops retired. Counts with or without PEBS enabled.",
261        "Data_LA": "1",
262        "EventCode": "0xd0",
263        "EventName": "MEM_UOPS_RETIRED.STORE_LATENCY",
264        "PEBS": "2",
265        "PublicDescription": "Counts the number of stores uops retired. Counts with or without PEBS enabled. If PEBS is enabled and a PEBS record is generated, will populate PEBS Latency and PEBS Data Source fields accordingly.",
266        "SampleAfterValue": "1000003",
267        "UMask": "0x6"
268    },
269    {
270        "BriefDescription": "Counts demand data reads that were supplied by the L3 cache.",
271        "EventCode": "0xB7",
272        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT",
273        "MSRIndex": "0x1a6,0x1a7",
274        "MSRValue": "0x3F803C0001",
275        "SampleAfterValue": "100003",
276        "UMask": "0x1"
277    },
278    {
279        "BriefDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.",
280        "EventCode": "0xB7",
281        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM",
282        "MSRIndex": "0x1a6,0x1a7",
283        "MSRValue": "0x10003C0001",
284        "SampleAfterValue": "100003",
285        "UMask": "0x1"
286    },
287    {
288        "BriefDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.",
289        "EventCode": "0xB7",
290        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_NO_FWD",
291        "MSRIndex": "0x1a6,0x1a7",
292        "MSRValue": "0x4003C0001",
293        "SampleAfterValue": "100003",
294        "UMask": "0x1"
295    },
296    {
297        "BriefDescription": "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.",
298        "EventCode": "0xB7",
299        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD",
300        "MSRIndex": "0x1a6,0x1a7",
301        "MSRValue": "0x8003C0001",
302        "SampleAfterValue": "100003",
303        "UMask": "0x1"
304    },
305    {
306        "BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache.",
307        "EventCode": "0xB7",
308        "EventName": "OCR.DEMAND_RFO.L3_HIT",
309        "MSRIndex": "0x1a6,0x1a7",
310        "MSRValue": "0x3F803C0002",
311        "SampleAfterValue": "100003",
312        "UMask": "0x1"
313    },
314    {
315        "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.",
316        "EventCode": "0xB7",
317        "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM",
318        "MSRIndex": "0x1a6,0x1a7",
319        "MSRValue": "0x10003C0002",
320        "SampleAfterValue": "100003",
321        "UMask": "0x1"
322    },
323    {
324        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to instruction cache misses.",
325        "EventCode": "0x71",
326        "EventName": "TOPDOWN_FE_BOUND.ICACHE",
327        "SampleAfterValue": "1000003",
328        "UMask": "0x20"
329    }
330]
331