xref: /freebsd/lib/libpmc/pmu-events/arch/x86/sapphirerapids/virtual-memory.json (revision e3aa18ad71782a73d3dd9dd3d526bbd2b607ca16)
1[
2    {
3        "BriefDescription": "Loads that miss the DTLB and hit the STLB.",
4        "CollectPEBSRecord": "2",
5        "Counter": "0,1,2,3",
6        "EventCode": "0x12",
7        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
8        "PEBScounters": "0,1,2,3",
9        "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).",
10        "SampleAfterValue": "100003",
11        "UMask": "0x20"
12    },
13    {
14        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
15        "CollectPEBSRecord": "2",
16        "Counter": "0,1,2,3",
17        "CounterMask": "1",
18        "EventCode": "0x12",
19        "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE",
20        "PEBScounters": "0,1,2,3",
21        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a demand load.",
22        "SampleAfterValue": "100003",
23        "UMask": "0x10"
24    },
25    {
26        "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)",
27        "CollectPEBSRecord": "2",
28        "Counter": "0,1,2,3",
29        "EventCode": "0x12",
30        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
31        "PEBScounters": "0,1,2,3",
32        "PublicDescription": "Counts completed page walks  (all page sizes) caused by demand data loads. This implies it missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
33        "SampleAfterValue": "100003",
34        "UMask": "0xe"
35    },
36    {
37        "BriefDescription": "Page walks completed due to a demand data load to a 1G page.",
38        "CollectPEBSRecord": "2",
39        "Counter": "0,1,2,3",
40        "EventCode": "0x12",
41        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
42        "PEBScounters": "0,1,2,3",
43        "PublicDescription": "Counts completed page walks  (1G sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
44        "SampleAfterValue": "100003",
45        "UMask": "0x8"
46    },
47    {
48        "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.",
49        "CollectPEBSRecord": "2",
50        "Counter": "0,1,2,3",
51        "EventCode": "0x12",
52        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
53        "PEBScounters": "0,1,2,3",
54        "PublicDescription": "Counts completed page walks  (2M/4M sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
55        "SampleAfterValue": "100003",
56        "UMask": "0x4"
57    },
58    {
59        "BriefDescription": "Page walks completed due to a demand data load to a 4K page.",
60        "CollectPEBSRecord": "2",
61        "Counter": "0,1,2,3",
62        "EventCode": "0x12",
63        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
64        "PEBScounters": "0,1,2,3",
65        "PublicDescription": "Counts completed page walks  (4K sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
66        "SampleAfterValue": "100003",
67        "UMask": "0x2"
68    },
69    {
70        "BriefDescription": "Number of page walks outstanding for a demand load in the PMH each cycle.",
71        "CollectPEBSRecord": "2",
72        "Counter": "0,1,2,3",
73        "EventCode": "0x12",
74        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
75        "PEBScounters": "0,1,2,3",
76        "PublicDescription": "Counts the number of page walks outstanding for a demand load in the PMH (Page Miss Handler) each cycle.",
77        "SampleAfterValue": "100003",
78        "UMask": "0x10"
79    },
80    {
81        "BriefDescription": "Stores that miss the DTLB and hit the STLB.",
82        "CollectPEBSRecord": "2",
83        "Counter": "0,1,2,3",
84        "EventCode": "0x13",
85        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
86        "PEBScounters": "0,1,2,3",
87        "PublicDescription": "Counts stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).",
88        "SampleAfterValue": "100003",
89        "UMask": "0x20"
90    },
91    {
92        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store.",
93        "CollectPEBSRecord": "2",
94        "Counter": "0,1,2,3",
95        "CounterMask": "1",
96        "EventCode": "0x13",
97        "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE",
98        "PEBScounters": "0,1,2,3",
99        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.",
100        "SampleAfterValue": "100003",
101        "UMask": "0x10"
102    },
103    {
104        "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)",
105        "CollectPEBSRecord": "2",
106        "Counter": "0,1,2,3",
107        "EventCode": "0x13",
108        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
109        "PEBScounters": "0,1,2,3",
110        "PublicDescription": "Counts completed page walks  (all page sizes) caused by demand data stores. This implies it missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
111        "SampleAfterValue": "100003",
112        "UMask": "0xe"
113    },
114    {
115        "BriefDescription": "Page walks completed due to a demand data store to a 1G page.",
116        "CollectPEBSRecord": "2",
117        "Counter": "0,1,2,3",
118        "EventCode": "0x13",
119        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
120        "PEBScounters": "0,1,2,3",
121        "PublicDescription": "Counts completed page walks  (1G sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
122        "SampleAfterValue": "100003",
123        "UMask": "0x8"
124    },
125    {
126        "BriefDescription": "Page walks completed due to a demand data store to a 2M/4M page.",
127        "CollectPEBSRecord": "2",
128        "Counter": "0,1,2,3",
129        "EventCode": "0x13",
130        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
131        "PEBScounters": "0,1,2,3",
132        "PublicDescription": "Counts completed page walks  (2M/4M sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
133        "SampleAfterValue": "100003",
134        "UMask": "0x4"
135    },
136    {
137        "BriefDescription": "Page walks completed due to a demand data store to a 4K page.",
138        "CollectPEBSRecord": "2",
139        "Counter": "0,1,2,3",
140        "EventCode": "0x13",
141        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
142        "PEBScounters": "0,1,2,3",
143        "PublicDescription": "Counts completed page walks  (4K sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
144        "SampleAfterValue": "100003",
145        "UMask": "0x2"
146    },
147    {
148        "BriefDescription": "Number of page walks outstanding for a store in the PMH each cycle.",
149        "CollectPEBSRecord": "2",
150        "Counter": "0,1,2,3",
151        "EventCode": "0x13",
152        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
153        "PEBScounters": "0,1,2,3",
154        "PublicDescription": "Counts the number of page walks outstanding for a store in the PMH (Page Miss Handler) each cycle.",
155        "SampleAfterValue": "100003",
156        "UMask": "0x10"
157    },
158    {
159        "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.",
160        "CollectPEBSRecord": "2",
161        "Counter": "0,1,2,3",
162        "EventCode": "0x11",
163        "EventName": "ITLB_MISSES.STLB_HIT",
164        "PEBScounters": "0,1,2,3",
165        "PublicDescription": "Counts instruction fetch requests that miss the ITLB (Instruction TLB) and hit the STLB (Second-level TLB).",
166        "SampleAfterValue": "100003",
167        "UMask": "0x20"
168    },
169    {
170        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request.",
171        "CollectPEBSRecord": "2",
172        "Counter": "0,1,2,3",
173        "CounterMask": "1",
174        "EventCode": "0x11",
175        "EventName": "ITLB_MISSES.WALK_ACTIVE",
176        "PEBScounters": "0,1,2,3",
177        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a code (instruction fetch) request.",
178        "SampleAfterValue": "100003",
179        "UMask": "0x10"
180    },
181    {
182        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)",
183        "CollectPEBSRecord": "2",
184        "Counter": "0,1,2,3",
185        "EventCode": "0x11",
186        "EventName": "ITLB_MISSES.WALK_COMPLETED",
187        "PEBScounters": "0,1,2,3",
188        "PublicDescription": "Counts completed page walks (all page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.",
189        "SampleAfterValue": "100003",
190        "UMask": "0xe"
191    },
192    {
193        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
194        "CollectPEBSRecord": "2",
195        "Counter": "0,1,2,3",
196        "EventCode": "0x11",
197        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
198        "PEBScounters": "0,1,2,3",
199        "PublicDescription": "Counts completed page walks (2M/4M page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.",
200        "SampleAfterValue": "100003",
201        "UMask": "0x4"
202    },
203    {
204        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
205        "CollectPEBSRecord": "2",
206        "Counter": "0,1,2,3",
207        "EventCode": "0x11",
208        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
209        "PEBScounters": "0,1,2,3",
210        "PublicDescription": "Counts completed page walks (4K page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.",
211        "SampleAfterValue": "100003",
212        "UMask": "0x2"
213    },
214    {
215        "BriefDescription": "Number of page walks outstanding for an outstanding code request in the PMH each cycle.",
216        "CollectPEBSRecord": "2",
217        "Counter": "0,1,2,3",
218        "EventCode": "0x11",
219        "EventName": "ITLB_MISSES.WALK_PENDING",
220        "PEBScounters": "0,1,2,3",
221        "PublicDescription": "Counts the number of page walks outstanding for an outstanding code (instruction fetch) request in the PMH (Page Miss Handler) each cycle.",
222        "SampleAfterValue": "100003",
223        "UMask": "0x10"
224    }
225]
226