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