xref: /linux/tools/perf/pmu-events/arch/x86/icelake/memory.json (revision 702648721db590b3425c31ade294000e18808345)
1[
2    {
3        "BriefDescription": "Cycles while L3 cache miss demand load is outstanding.",
4        "CounterMask": "2",
5        "EventCode": "0xA3",
6        "EventName": "CYCLE_ACTIVITY.CYCLES_L3_MISS",
7        "SampleAfterValue": "1000003",
8        "UMask": "0x2"
9    },
10    {
11        "BriefDescription": "Execution stalls while L3 cache miss demand load is outstanding.",
12        "CounterMask": "6",
13        "EventCode": "0xa3",
14        "EventName": "CYCLE_ACTIVITY.STALLS_L3_MISS",
15        "SampleAfterValue": "1000003",
16        "UMask": "0x6"
17    },
18    {
19        "BriefDescription": "Number of times an HLE execution aborted due to any reasons (multiple categories may count as one).",
20        "EventCode": "0xc8",
21        "EventName": "HLE_RETIRED.ABORTED",
22        "PublicDescription": "Counts the number of times HLE abort was triggered.",
23        "SampleAfterValue": "100003",
24        "UMask": "0x4"
25    },
26    {
27        "BriefDescription": "Number of times an HLE execution aborted due to unfriendly events (such as interrupts).",
28        "EventCode": "0xc8",
29        "EventName": "HLE_RETIRED.ABORTED_EVENTS",
30        "PublicDescription": "Counts the number of times an HLE execution aborted due to unfriendly events (such as interrupts).",
31        "SampleAfterValue": "100003",
32        "UMask": "0x80"
33    },
34    {
35        "BriefDescription": "Number of times an HLE execution aborted due to various memory events (e.g., read/write capacity and conflicts).",
36        "EventCode": "0xc8",
37        "EventName": "HLE_RETIRED.ABORTED_MEM",
38        "PublicDescription": "Counts the number of times an HLE execution aborted due to various memory events (e.g., read/write capacity and conflicts).",
39        "SampleAfterValue": "100003",
40        "UMask": "0x8"
41    },
42    {
43        "BriefDescription": "Number of times an HLE execution aborted due to HLE-unfriendly instructions and certain unfriendly events (such as AD assists etc.).",
44        "EventCode": "0xc8",
45        "EventName": "HLE_RETIRED.ABORTED_UNFRIENDLY",
46        "PublicDescription": "Counts the number of times an HLE execution aborted due to HLE-unfriendly instructions and certain unfriendly events (such as AD assists etc.).",
47        "SampleAfterValue": "100003",
48        "UMask": "0x20"
49    },
50    {
51        "BriefDescription": "Number of times an HLE execution successfully committed",
52        "EventCode": "0xc8",
53        "EventName": "HLE_RETIRED.COMMIT",
54        "PublicDescription": "Counts the number of times HLE commit succeeded.",
55        "SampleAfterValue": "100003",
56        "UMask": "0x2"
57    },
58    {
59        "BriefDescription": "Number of times an HLE execution started.",
60        "EventCode": "0xc8",
61        "EventName": "HLE_RETIRED.START",
62        "PublicDescription": "Counts the number of times we entered an HLE region. Does not count nested transactions.",
63        "SampleAfterValue": "100003",
64        "UMask": "0x1"
65    },
66    {
67        "BriefDescription": "Number of machine clears due to memory ordering conflicts.",
68        "EventCode": "0xc3",
69        "EventName": "MACHINE_CLEARS.MEMORY_ORDERING",
70        "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",
71        "SampleAfterValue": "100003",
72        "UMask": "0x2"
73    },
74    {
75        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 128 cycles.",
76        "Data_LA": "1",
77        "EventCode": "0xcd",
78        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_128",
79        "MSRIndex": "0x3F6",
80        "MSRValue": "0x80",
81        "PEBS": "2",
82        "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.",
83        "SampleAfterValue": "1009",
84        "UMask": "0x1"
85    },
86    {
87        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 16 cycles.",
88        "Data_LA": "1",
89        "EventCode": "0xcd",
90        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_16",
91        "MSRIndex": "0x3F6",
92        "MSRValue": "0x10",
93        "PEBS": "2",
94        "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.",
95        "SampleAfterValue": "20011",
96        "UMask": "0x1"
97    },
98    {
99        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 256 cycles.",
100        "Data_LA": "1",
101        "EventCode": "0xcd",
102        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_256",
103        "MSRIndex": "0x3F6",
104        "MSRValue": "0x100",
105        "PEBS": "2",
106        "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.",
107        "SampleAfterValue": "503",
108        "UMask": "0x1"
109    },
110    {
111        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 32 cycles.",
112        "Data_LA": "1",
113        "EventCode": "0xcd",
114        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_32",
115        "MSRIndex": "0x3F6",
116        "MSRValue": "0x20",
117        "PEBS": "2",
118        "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.",
119        "SampleAfterValue": "100007",
120        "UMask": "0x1"
121    },
122    {
123        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 4 cycles.",
124        "Data_LA": "1",
125        "EventCode": "0xcd",
126        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_4",
127        "MSRIndex": "0x3F6",
128        "MSRValue": "0x4",
129        "PEBS": "2",
130        "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.",
131        "SampleAfterValue": "100003",
132        "UMask": "0x1"
133    },
134    {
135        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 512 cycles.",
136        "Data_LA": "1",
137        "EventCode": "0xcd",
138        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_512",
139        "MSRIndex": "0x3F6",
140        "MSRValue": "0x200",
141        "PEBS": "2",
142        "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.",
143        "SampleAfterValue": "101",
144        "UMask": "0x1"
145    },
146    {
147        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 64 cycles.",
148        "Data_LA": "1",
149        "EventCode": "0xcd",
150        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_64",
151        "MSRIndex": "0x3F6",
152        "MSRValue": "0x40",
153        "PEBS": "2",
154        "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.",
155        "SampleAfterValue": "2003",
156        "UMask": "0x1"
157    },
158    {
159        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 8 cycles.",
160        "Data_LA": "1",
161        "EventCode": "0xcd",
162        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_8",
163        "MSRIndex": "0x3F6",
164        "MSRValue": "0x8",
165        "PEBS": "2",
166        "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.",
167        "SampleAfterValue": "50021",
168        "UMask": "0x1"
169    },
170    {
171        "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that was not supplied by the L3 cache.",
172        "EventCode": "0xB7, 0xBB",
173        "EventName": "OCR.DEMAND_CODE_RD.L3_MISS",
174        "MSRIndex": "0x1a6,0x1a7",
175        "MSRValue": "0x3FFFC00004",
176        "SampleAfterValue": "100003",
177        "UMask": "0x1"
178    },
179    {
180        "BriefDescription": "Counts demand data reads that was not supplied by the L3 cache.",
181        "EventCode": "0xB7, 0xBB",
182        "EventName": "OCR.DEMAND_DATA_RD.L3_MISS",
183        "MSRIndex": "0x1a6,0x1a7",
184        "MSRValue": "0x3FFFC00001",
185        "SampleAfterValue": "100003",
186        "UMask": "0x1"
187    },
188    {
189        "BriefDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that was not supplied by the L3 cache.",
190        "EventCode": "0xB7, 0xBB",
191        "EventName": "OCR.DEMAND_RFO.L3_MISS",
192        "MSRIndex": "0x1a6,0x1a7",
193        "MSRValue": "0x3FFFC00002",
194        "SampleAfterValue": "100003",
195        "UMask": "0x1"
196    },
197    {
198        "BriefDescription": "Counts L1 data cache prefetch requests and software prefetches (except PREFETCHW) that was not supplied by the L3 cache.",
199        "EventCode": "0xB7, 0xBB",
200        "EventName": "OCR.HWPF_L1D_AND_SWPF.L3_MISS",
201        "MSRIndex": "0x1a6,0x1a7",
202        "MSRValue": "0x3FFFC00400",
203        "SampleAfterValue": "100003",
204        "UMask": "0x1"
205    },
206    {
207        "BriefDescription": "Counts hardware prefetch data reads (which bring data to L2)  that was not supplied by the L3 cache.",
208        "EventCode": "0xB7, 0xBB",
209        "EventName": "OCR.HWPF_L2_DATA_RD.L3_MISS",
210        "MSRIndex": "0x1a6,0x1a7",
211        "MSRValue": "0x3FFFC00010",
212        "SampleAfterValue": "100003",
213        "UMask": "0x1"
214    },
215    {
216        "BriefDescription": "Counts hardware prefetch RFOs (which bring data to L2) that was not supplied by the L3 cache.",
217        "EventCode": "0xB7, 0xBB",
218        "EventName": "OCR.HWPF_L2_RFO.L3_MISS",
219        "MSRIndex": "0x1a6,0x1a7",
220        "MSRValue": "0x3FFFC00020",
221        "SampleAfterValue": "100003",
222        "UMask": "0x1"
223    },
224    {
225        "BriefDescription": "Counts miscellaneous requests, such as I/O and un-cacheable accesses that was not supplied by the L3 cache.",
226        "EventCode": "0xB7, 0xBB",
227        "EventName": "OCR.OTHER.L3_MISS",
228        "MSRIndex": "0x1a6,0x1a7",
229        "MSRValue": "0x3FFFC08000",
230        "SampleAfterValue": "100003",
231        "UMask": "0x1"
232    },
233    {
234        "BriefDescription": "Counts streaming stores that was not supplied by the L3 cache.",
235        "EventCode": "0xB7, 0xBB",
236        "EventName": "OCR.STREAMING_WR.L3_MISS",
237        "MSRIndex": "0x1a6,0x1a7",
238        "MSRValue": "0x3FFFC00800",
239        "SampleAfterValue": "100003",
240        "UMask": "0x1"
241    },
242    {
243        "BriefDescription": "Counts demand data read requests that miss the L3 cache.",
244        "EventCode": "0xb0",
245        "EventName": "OFFCORE_REQUESTS.L3_MISS_DEMAND_DATA_RD",
246        "SampleAfterValue": "100003",
247        "UMask": "0x10"
248    },
249    {
250        "BriefDescription": "Cycles where at least one demand data read request known to have missed the L3 cache is pending.",
251        "CounterMask": "1",
252        "EventCode": "0x60",
253        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_L3_MISS_DEMAND_DATA_RD",
254        "PublicDescription": "Cycles where at least one demand data read request known to have missed the L3 cache is pending.  Note that this does not capture all elapsed cycles while requests are outstanding - only cycles from when the requests were known to have missed the L3 cache.",
255        "SampleAfterValue": "1000003",
256        "UMask": "0x10"
257    },
258    {
259        "BriefDescription": "Number of times an RTM execution aborted.",
260        "EventCode": "0xc9",
261        "EventName": "RTM_RETIRED.ABORTED",
262        "PublicDescription": "Counts the number of times RTM abort was triggered.",
263        "SampleAfterValue": "100003",
264        "UMask": "0x4"
265    },
266    {
267        "BriefDescription": "Number of times an RTM execution aborted due to none of the previous 4 categories (e.g. interrupt)",
268        "EventCode": "0xc9",
269        "EventName": "RTM_RETIRED.ABORTED_EVENTS",
270        "PublicDescription": "Counts the number of times an RTM execution aborted due to none of the previous 4 categories (e.g. interrupt).",
271        "SampleAfterValue": "100003",
272        "UMask": "0x80"
273    },
274    {
275        "BriefDescription": "Number of times an RTM execution aborted due to various memory events (e.g. read/write capacity and conflicts)",
276        "EventCode": "0xc9",
277        "EventName": "RTM_RETIRED.ABORTED_MEM",
278        "PublicDescription": "Counts the number of times an RTM execution aborted due to various memory events (e.g. read/write capacity and conflicts).",
279        "SampleAfterValue": "100003",
280        "UMask": "0x8"
281    },
282    {
283        "BriefDescription": "Number of times an RTM execution aborted due to incompatible memory type",
284        "EventCode": "0xc9",
285        "EventName": "RTM_RETIRED.ABORTED_MEMTYPE",
286        "PublicDescription": "Counts the number of times an RTM execution aborted due to incompatible memory type.",
287        "SampleAfterValue": "100003",
288        "UMask": "0x40"
289    },
290    {
291        "BriefDescription": "Number of times an RTM execution aborted due to HLE-unfriendly instructions",
292        "EventCode": "0xc9",
293        "EventName": "RTM_RETIRED.ABORTED_UNFRIENDLY",
294        "PublicDescription": "Counts the number of times an RTM execution aborted due to HLE-unfriendly instructions.",
295        "SampleAfterValue": "100003",
296        "UMask": "0x20"
297    },
298    {
299        "BriefDescription": "Number of times an RTM execution successfully committed",
300        "EventCode": "0xc9",
301        "EventName": "RTM_RETIRED.COMMIT",
302        "PublicDescription": "Counts the number of times RTM commit succeeded.",
303        "SampleAfterValue": "100003",
304        "UMask": "0x2"
305    },
306    {
307        "BriefDescription": "Number of times an RTM execution started.",
308        "EventCode": "0xc9",
309        "EventName": "RTM_RETIRED.START",
310        "PublicDescription": "Counts the number of times we entered an RTM region. Does not count nested transactions.",
311        "SampleAfterValue": "100003",
312        "UMask": "0x1"
313    },
314    {
315        "BriefDescription": "Counts the number of times a class of instructions that may cause a transactional abort was executed inside a transactional region",
316        "EventCode": "0x5d",
317        "EventName": "TX_EXEC.MISC2",
318        "PublicDescription": "Counts Unfriendly TSX abort triggered by a vzeroupper instruction.",
319        "SampleAfterValue": "100003",
320        "UMask": "0x2"
321    },
322    {
323        "BriefDescription": "Number of times an instruction execution caused the transactional nest count supported to be exceeded",
324        "EventCode": "0x5d",
325        "EventName": "TX_EXEC.MISC3",
326        "PublicDescription": "Counts Unfriendly TSX abort triggered by a nest count that is too deep.",
327        "SampleAfterValue": "100003",
328        "UMask": "0x4"
329    },
330    {
331        "BriefDescription": "Speculatively counts the number of TSX aborts due to a data capacity limitation for transactional reads",
332        "EventCode": "0x54",
333        "EventName": "TX_MEM.ABORT_CAPACITY_READ",
334        "PublicDescription": "Speculatively counts the number of Transactional Synchronization Extensions (TSX) aborts due to a data capacity limitation for transactional reads",
335        "SampleAfterValue": "100003",
336        "UMask": "0x80"
337    },
338    {
339        "BriefDescription": "Speculatively counts the number of TSX aborts due to a data capacity limitation for transactional writes.",
340        "EventCode": "0x54",
341        "EventName": "TX_MEM.ABORT_CAPACITY_WRITE",
342        "PublicDescription": "Speculatively counts the number of Transactional Synchronization Extensions (TSX) aborts due to a data capacity limitation for transactional writes.",
343        "SampleAfterValue": "100003",
344        "UMask": "0x2"
345    },
346    {
347        "BriefDescription": "Number of times a transactional abort was signaled due to a data conflict on a transactionally accessed address",
348        "EventCode": "0x54",
349        "EventName": "TX_MEM.ABORT_CONFLICT",
350        "PublicDescription": "Counts the number of times a TSX line had a cache conflict.",
351        "SampleAfterValue": "100003",
352        "UMask": "0x1"
353    },
354    {
355        "BriefDescription": "Number of times an HLE transactional execution aborted due to XRELEASE lock not satisfying the address and value requirements in the elision buffer",
356        "EventCode": "0x54",
357        "EventName": "TX_MEM.ABORT_HLE_ELISION_BUFFER_MISMATCH",
358        "PublicDescription": "Counts the number of times a TSX Abort was triggered due to release/commit but data and address mismatch.",
359        "SampleAfterValue": "100003",
360        "UMask": "0x10"
361    },
362    {
363        "BriefDescription": "Number of times an HLE transactional execution aborted due to NoAllocatedElisionBuffer being non-zero.",
364        "EventCode": "0x54",
365        "EventName": "TX_MEM.ABORT_HLE_ELISION_BUFFER_NOT_EMPTY",
366        "PublicDescription": "Counts the number of times a TSX Abort was triggered due to commit but Lock Buffer not empty.",
367        "SampleAfterValue": "100003",
368        "UMask": "0x8"
369    },
370    {
371        "BriefDescription": "Number of times an HLE transactional execution aborted due to an unsupported read alignment from the elision buffer.",
372        "EventCode": "0x54",
373        "EventName": "TX_MEM.ABORT_HLE_ELISION_BUFFER_UNSUPPORTED_ALIGNMENT",
374        "PublicDescription": "Counts the number of times a TSX Abort was triggered due to attempting an unsupported alignment from Lock Buffer.",
375        "SampleAfterValue": "100003",
376        "UMask": "0x20"
377    },
378    {
379        "BriefDescription": "Number of times a HLE transactional region aborted due to a non XRELEASE prefixed instruction writing to an elided lock in the elision buffer",
380        "EventCode": "0x54",
381        "EventName": "TX_MEM.ABORT_HLE_STORE_TO_ELIDED_LOCK",
382        "PublicDescription": "Counts the number of times a TSX Abort was triggered due to a non-release/commit store to lock.",
383        "SampleAfterValue": "100003",
384        "UMask": "0x4"
385    },
386    {
387        "BriefDescription": "Number of times HLE lock could not be elided due to ElisionBufferAvailable being zero.",
388        "EventCode": "0x54",
389        "EventName": "TX_MEM.HLE_ELISION_BUFFER_FULL",
390        "PublicDescription": "Counts the number of times we could not allocate Lock Buffer.",
391        "SampleAfterValue": "100003",
392        "UMask": "0x40"
393    }
394]
395