xref: /freebsd/lib/libpmc/pmu-events/arch/x86/goldmont/memory.json (revision 84b3c4547afa496b37e86c5e649e99237c8afc6e)
1[
2    {
3        "PEBS": "2",
4        "CollectPEBSRecord": "2",
5        "PublicDescription": "Counts when a memory load of a uop spans a page boundary (a split) is retired.",
6        "EventCode": "0x13",
7        "Counter": "0,1,2,3",
8        "UMask": "0x2",
9        "EventName": "MISALIGN_MEM_REF.LOAD_PAGE_SPLIT",
10        "SampleAfterValue": "200003",
11        "BriefDescription": "Load uops that split a page (Precise event capable)"
12    },
13    {
14        "PEBS": "2",
15        "CollectPEBSRecord": "2",
16        "PublicDescription": "Counts when a memory store of a uop spans a page boundary (a split) is retired.",
17        "EventCode": "0x13",
18        "Counter": "0,1,2,3",
19        "UMask": "0x4",
20        "EventName": "MISALIGN_MEM_REF.STORE_PAGE_SPLIT",
21        "SampleAfterValue": "200003",
22        "BriefDescription": "Store uops that split a page (Precise event capable)"
23    },
24    {
25        "CollectPEBSRecord": "1",
26        "PublicDescription": "Counts machine clears due to memory ordering issues.  This occurs when a snoop request happens and the machine is uncertain if memory ordering will be preserved as another core is in the process of modifying the data.",
27        "EventCode": "0xC3",
28        "Counter": "0,1,2,3",
29        "UMask": "0x2",
30        "EventName": "MACHINE_CLEARS.MEMORY_ORDERING",
31        "SampleAfterValue": "200003",
32        "BriefDescription": "Machine clears due to memory ordering issue"
33    },
34    {
35        "CollectPEBSRecord": "1",
36        "PublicDescription": "Counts data read, code read, and read for ownership (RFO) requests (demand & prefetch) that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
37        "EventCode": "0xB7",
38        "MSRValue": "0x20000032b7 ",
39        "Counter": "0,1,2,3",
40        "UMask": "0x1",
41        "EventName": "OFFCORE_RESPONSE.ANY_READ.L2_MISS.NON_DRAM",
42        "MSRIndex": "0x1a6,0x1a7",
43        "SampleAfterValue": "100007",
44        "BriefDescription": "Counts data read, code read, and read for ownership (RFO) requests (demand & prefetch) that miss the L2 cache and targets non-DRAM system address.",
45        "Offcore": "1"
46    },
47    {
48        "CollectPEBSRecord": "1",
49        "PublicDescription": "Counts reads for ownership (RFO) requests (demand & prefetch) that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
50        "EventCode": "0xB7",
51        "MSRValue": "0x2000000022 ",
52        "Counter": "0,1,2,3",
53        "UMask": "0x1",
54        "EventName": "OFFCORE_RESPONSE.ANY_RFO.L2_MISS.NON_DRAM",
55        "MSRIndex": "0x1a6,0x1a7",
56        "SampleAfterValue": "100007",
57        "BriefDescription": "Counts reads for ownership (RFO) requests (demand & prefetch) that miss the L2 cache and targets non-DRAM system address.",
58        "Offcore": "1"
59    },
60    {
61        "CollectPEBSRecord": "1",
62        "PublicDescription": "Counts data reads (demand & prefetch) that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
63        "EventCode": "0xB7",
64        "MSRValue": "0x2000003091",
65        "Counter": "0,1,2,3",
66        "UMask": "0x1",
67        "EventName": "OFFCORE_RESPONSE.ANY_DATA_RD.L2_MISS.NON_DRAM",
68        "MSRIndex": "0x1a6,0x1a7",
69        "SampleAfterValue": "100007",
70        "BriefDescription": "Counts data reads (demand & prefetch) that miss the L2 cache and targets non-DRAM system address.",
71        "Offcore": "1"
72    },
73    {
74        "CollectPEBSRecord": "1",
75        "PublicDescription": "Counts data reads generated by L1 or L2 prefetchers that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
76        "EventCode": "0xB7",
77        "MSRValue": "0x2000003010 ",
78        "Counter": "0,1,2,3",
79        "UMask": "0x1",
80        "EventName": "OFFCORE_RESPONSE.ANY_PF_DATA_RD.L2_MISS.NON_DRAM",
81        "MSRIndex": "0x1a6,0x1a7",
82        "SampleAfterValue": "100007",
83        "BriefDescription": "Counts data reads generated by L1 or L2 prefetchers that miss the L2 cache and targets non-DRAM system address.",
84        "Offcore": "1"
85    },
86    {
87        "CollectPEBSRecord": "1",
88        "PublicDescription": "Counts requests to the uncore subsystem that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
89        "EventCode": "0xB7",
90        "MSRValue": "0x2000008000 ",
91        "Counter": "0,1,2,3",
92        "UMask": "0x1",
93        "EventName": "OFFCORE_RESPONSE.ANY_REQUEST.L2_MISS.NON_DRAM",
94        "MSRIndex": "0x1a6,0x1a7",
95        "SampleAfterValue": "100007",
96        "BriefDescription": "Counts requests to the uncore subsystem that miss the L2 cache and targets non-DRAM system address.",
97        "Offcore": "1"
98    },
99    {
100        "CollectPEBSRecord": "1",
101        "PublicDescription": "Counts any data writes to uncacheable write combining (USWC) memory region  that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
102        "EventCode": "0xB7",
103        "MSRValue": "0x2000004800 ",
104        "Counter": "0,1,2,3",
105        "UMask": "0x1",
106        "EventName": "OFFCORE_RESPONSE.STREAMING_STORES.L2_MISS.NON_DRAM",
107        "MSRIndex": "0x1a6,0x1a7",
108        "SampleAfterValue": "100007",
109        "BriefDescription": "Counts any data writes to uncacheable write combining (USWC) memory region  that miss the L2 cache and targets non-DRAM system address.",
110        "Offcore": "1"
111    },
112    {
113        "CollectPEBSRecord": "1",
114        "PublicDescription": "Counts partial cache line data writes to uncacheable write combining (USWC) memory region  that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
115        "EventCode": "0xB7",
116        "MSRValue": "0x2000004000 ",
117        "Counter": "0,1,2,3",
118        "UMask": "0x1",
119        "EventName": "OFFCORE_RESPONSE.PARTIAL_STREAMING_STORES.L2_MISS.NON_DRAM",
120        "MSRIndex": "0x1a6,0x1a7",
121        "SampleAfterValue": "100007",
122        "BriefDescription": "Counts partial cache line data writes to uncacheable write combining (USWC) memory region  that miss the L2 cache and targets non-DRAM system address.",
123        "Offcore": "1"
124    },
125    {
126        "CollectPEBSRecord": "1",
127        "PublicDescription": "Counts data cache line reads generated by hardware L1 data cache prefetcher that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
128        "EventCode": "0xB7",
129        "MSRValue": "0x2000002000 ",
130        "Counter": "0,1,2,3",
131        "UMask": "0x1",
132        "EventName": "OFFCORE_RESPONSE.PF_L1_DATA_RD.L2_MISS.NON_DRAM",
133        "MSRIndex": "0x1a6,0x1a7",
134        "SampleAfterValue": "100007",
135        "BriefDescription": "Counts data cache line reads generated by hardware L1 data cache prefetcher that miss the L2 cache and targets non-DRAM system address.",
136        "Offcore": "1"
137    },
138    {
139        "CollectPEBSRecord": "1",
140        "PublicDescription": "Counts data cache lines requests by software prefetch instructions that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
141        "EventCode": "0xB7",
142        "MSRValue": "0x2000001000 ",
143        "Counter": "0,1,2,3",
144        "UMask": "0x1",
145        "EventName": "OFFCORE_RESPONSE.SW_PREFETCH.L2_MISS.NON_DRAM",
146        "MSRIndex": "0x1a6,0x1a7",
147        "SampleAfterValue": "100007",
148        "BriefDescription": "Counts data cache lines requests by software prefetch instructions that miss the L2 cache and targets non-DRAM system address.",
149        "Offcore": "1"
150    },
151    {
152        "CollectPEBSRecord": "1",
153        "PublicDescription": "Counts full cache line data writes to uncacheable write combining (USWC) memory region and full cache-line non-temporal writes that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
154        "EventCode": "0xB7",
155        "MSRValue": "0x2000000800 ",
156        "Counter": "0,1,2,3",
157        "UMask": "0x1",
158        "EventName": "OFFCORE_RESPONSE.FULL_STREAMING_STORES.L2_MISS.NON_DRAM",
159        "MSRIndex": "0x1a6,0x1a7",
160        "SampleAfterValue": "100007",
161        "BriefDescription": "Counts full cache line data writes to uncacheable write combining (USWC) memory region and full cache-line non-temporal writes that miss the L2 cache and targets non-DRAM system address.",
162        "Offcore": "1"
163    },
164    {
165        "CollectPEBSRecord": "1",
166        "PublicDescription": "Counts bus lock and split lock requests that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
167        "EventCode": "0xB7",
168        "MSRValue": "0x2000000400 ",
169        "Counter": "0,1,2,3",
170        "UMask": "0x1",
171        "EventName": "OFFCORE_RESPONSE.BUS_LOCKS.L2_MISS.NON_DRAM",
172        "MSRIndex": "0x1a6,0x1a7",
173        "SampleAfterValue": "100007",
174        "BriefDescription": "Counts bus lock and split lock requests that miss the L2 cache and targets non-DRAM system address.",
175        "Offcore": "1"
176    },
177    {
178        "CollectPEBSRecord": "1",
179        "PublicDescription": "Counts code reads in uncacheable (UC) memory region that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
180        "EventCode": "0xB7",
181        "MSRValue": "0x2000000200 ",
182        "Counter": "0,1,2,3",
183        "UMask": "0x1",
184        "EventName": "OFFCORE_RESPONSE.UC_CODE_RD.L2_MISS.NON_DRAM",
185        "MSRIndex": "0x1a6,0x1a7",
186        "SampleAfterValue": "100007",
187        "BriefDescription": "Counts code reads in uncacheable (UC) memory region that miss the L2 cache and targets non-DRAM system address.",
188        "Offcore": "1"
189    },
190    {
191        "CollectPEBSRecord": "1",
192        "PublicDescription": "Counts the number of demand write requests (RFO) generated by a write to partial data cache line, including the writes to uncacheable (UC) and write through (WT), and write protected (WP) types of memory that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
193        "EventCode": "0xB7",
194        "MSRValue": "0x2000000100 ",
195        "Counter": "0,1,2,3",
196        "UMask": "0x1",
197        "EventName": "OFFCORE_RESPONSE.PARTIAL_WRITES.L2_MISS.NON_DRAM",
198        "MSRIndex": "0x1a6,0x1a7",
199        "SampleAfterValue": "100007",
200        "BriefDescription": "Counts the number of demand write requests (RFO) generated by a write to partial data cache line, including the writes to uncacheable (UC) and write through (WT), and write protected (WP) types of memory that miss the L2 cache and targets non-DRAM system address.",
201        "Offcore": "1"
202    },
203    {
204        "CollectPEBSRecord": "1",
205        "PublicDescription": "Counts demand data partial reads, including data in uncacheable (UC) or uncacheable write combining (USWC) memory types that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
206        "EventCode": "0xB7",
207        "MSRValue": "0x2000000080 ",
208        "Counter": "0,1,2,3",
209        "UMask": "0x1",
210        "EventName": "OFFCORE_RESPONSE.PARTIAL_READS.L2_MISS.NON_DRAM",
211        "MSRIndex": "0x1a6,0x1a7",
212        "SampleAfterValue": "100007",
213        "BriefDescription": "Counts demand data partial reads, including data in uncacheable (UC) or uncacheable write combining (USWC) memory types that miss the L2 cache and targets non-DRAM system address.",
214        "Offcore": "1"
215    },
216    {
217        "CollectPEBSRecord": "1",
218        "PublicDescription": "Counts reads for ownership (RFO) requests generated by L2 prefetcher that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
219        "EventCode": "0xB7",
220        "MSRValue": "0x2000000020 ",
221        "Counter": "0,1,2,3",
222        "UMask": "0x1",
223        "EventName": "OFFCORE_RESPONSE.PF_L2_RFO.L2_MISS.NON_DRAM",
224        "MSRIndex": "0x1a6,0x1a7",
225        "SampleAfterValue": "100007",
226        "BriefDescription": "Counts reads for ownership (RFO) requests generated by L2 prefetcher that miss the L2 cache and targets non-DRAM system address.",
227        "Offcore": "1"
228    },
229    {
230        "CollectPEBSRecord": "1",
231        "PublicDescription": "Counts data cacheline reads generated by hardware L2 cache prefetcher that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
232        "EventCode": "0xB7",
233        "MSRValue": "0x2000000010 ",
234        "Counter": "0,1,2,3",
235        "UMask": "0x1",
236        "EventName": "OFFCORE_RESPONSE.PF_L2_DATA_RD.L2_MISS.NON_DRAM",
237        "MSRIndex": "0x1a6,0x1a7",
238        "SampleAfterValue": "100007",
239        "BriefDescription": "Counts data cacheline reads generated by hardware L2 cache prefetcher that miss the L2 cache and targets non-DRAM system address.",
240        "Offcore": "1"
241    },
242    {
243        "CollectPEBSRecord": "1",
244        "PublicDescription": "Counts the number of writeback transactions caused by L1 or L2 cache evictions that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
245        "EventCode": "0xB7",
246        "MSRValue": "0x2000000008 ",
247        "Counter": "0,1,2,3",
248        "UMask": "0x1",
249        "EventName": "OFFCORE_RESPONSE.COREWB.L2_MISS.NON_DRAM",
250        "MSRIndex": "0x1a6",
251        "SampleAfterValue": "100007",
252        "BriefDescription": "Counts the number of writeback transactions caused by L1 or L2 cache evictions that miss the L2 cache and targets non-DRAM system address.",
253        "Offcore": "1"
254    },
255    {
256        "CollectPEBSRecord": "1",
257        "PublicDescription": "Counts demand instruction cacheline and I-side prefetch requests that miss the instruction cache that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
258        "EventCode": "0xB7",
259        "MSRValue": "0x2000000004 ",
260        "Counter": "0,1,2,3",
261        "UMask": "0x1",
262        "EventName": "OFFCORE_RESPONSE.DEMAND_CODE_RD.L2_MISS.NON_DRAM",
263        "MSRIndex": "0x1a6,0x1a7",
264        "SampleAfterValue": "100007",
265        "BriefDescription": "Counts demand instruction cacheline and I-side prefetch requests that miss the instruction cache that miss the L2 cache and targets non-DRAM system address.",
266        "Offcore": "1"
267    },
268    {
269        "CollectPEBSRecord": "1",
270        "PublicDescription": "Counts demand reads for ownership (RFO) requests generated by a write to full data cache line that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
271        "EventCode": "0xB7",
272        "MSRValue": "0x2000000002 ",
273        "Counter": "0,1,2,3",
274        "UMask": "0x1",
275        "EventName": "OFFCORE_RESPONSE.DEMAND_RFO.L2_MISS.NON_DRAM",
276        "MSRIndex": "0x1a6,0x1a7",
277        "SampleAfterValue": "100007",
278        "BriefDescription": "Counts demand reads for ownership (RFO) requests generated by a write to full data cache line that miss the L2 cache and targets non-DRAM system address.",
279        "Offcore": "1"
280    },
281    {
282        "CollectPEBSRecord": "1",
283        "PublicDescription": "Counts demand cacheable data reads of full cache lines that miss the L2 cache and targets non-DRAM system address. Requires MSR_OFFCORE_RESP[0,1] to specify request type and response. (duplicated for both MSRs)",
284        "EventCode": "0xB7",
285        "MSRValue": "0x2000000001 ",
286        "Counter": "0,1,2,3",
287        "UMask": "0x1",
288        "EventName": "OFFCORE_RESPONSE.DEMAND_DATA_RD.L2_MISS.NON_DRAM",
289        "MSRIndex": "0x1a6,0x1a7",
290        "SampleAfterValue": "100007",
291        "BriefDescription": "Counts demand cacheable data reads of full cache lines that miss the L2 cache and targets non-DRAM system address.",
292        "Offcore": "1"
293    }
294]