1*9146af44SZhengjun Xing[
2*9146af44SZhengjun Xing    {
3*9146af44SZhengjun Xing        "BriefDescription": "read requests to memory controller. Derived from unc_m_cas_count.rd",
4*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
5*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
6*9146af44SZhengjun Xing        "EventCode": "0x04",
7*9146af44SZhengjun Xing        "EventName": "LLC_MISSES.MEM_READ",
8*9146af44SZhengjun Xing        "PerPkg": "1",
9*9146af44SZhengjun Xing        "ScaleUnit": "64Bytes",
10*9146af44SZhengjun Xing        "UMask": "0x0f",
11*9146af44SZhengjun Xing        "Unit": "iMC"
12*9146af44SZhengjun Xing    },
13*9146af44SZhengjun Xing    {
14*9146af44SZhengjun Xing        "BriefDescription": "read requests to memory controller",
15*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
16*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
17*9146af44SZhengjun Xing        "EventCode": "0x04",
18*9146af44SZhengjun Xing        "EventName": "UNC_M_CAS_COUNT.RD",
19*9146af44SZhengjun Xing        "PerPkg": "1",
20*9146af44SZhengjun Xing        "ScaleUnit": "64Bytes",
21*9146af44SZhengjun Xing        "UMask": "0x0f",
22*9146af44SZhengjun Xing        "Unit": "iMC"
23*9146af44SZhengjun Xing    },
24*9146af44SZhengjun Xing    {
25*9146af44SZhengjun Xing        "BriefDescription": "write requests to memory controller. Derived from unc_m_cas_count.wr",
26*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
27*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
28*9146af44SZhengjun Xing        "EventCode": "0x04",
29*9146af44SZhengjun Xing        "EventName": "LLC_MISSES.MEM_WRITE",
30*9146af44SZhengjun Xing        "PerPkg": "1",
31*9146af44SZhengjun Xing        "ScaleUnit": "64Bytes",
32*9146af44SZhengjun Xing        "UMask": "0x30",
33*9146af44SZhengjun Xing        "Unit": "iMC"
34*9146af44SZhengjun Xing    },
35*9146af44SZhengjun Xing    {
36*9146af44SZhengjun Xing        "BriefDescription": "write requests to memory controller",
37*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
38*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
39*9146af44SZhengjun Xing        "EventCode": "0x04",
40*9146af44SZhengjun Xing        "EventName": "UNC_M_CAS_COUNT.WR",
41*9146af44SZhengjun Xing        "PerPkg": "1",
42*9146af44SZhengjun Xing        "ScaleUnit": "64Bytes",
43*9146af44SZhengjun Xing        "UMask": "0x30",
44*9146af44SZhengjun Xing        "Unit": "iMC"
45*9146af44SZhengjun Xing    },
46*9146af44SZhengjun Xing    {
47*9146af44SZhengjun Xing        "BriefDescription": "Memory controller clock ticks",
48*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
49*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
50*9146af44SZhengjun Xing        "EventName": "UNC_M_CLOCKTICKS",
51*9146af44SZhengjun Xing        "PerPkg": "1",
52*9146af44SZhengjun Xing        "Unit": "iMC"
53*9146af44SZhengjun Xing    },
54*9146af44SZhengjun Xing    {
55*9146af44SZhengjun Xing        "BriefDescription": "Pre-charge for reads",
56*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
57*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
58*9146af44SZhengjun Xing        "EventCode": "0x02",
59*9146af44SZhengjun Xing        "EventName": "UNC_M_PRE_COUNT.RD",
60*9146af44SZhengjun Xing        "PerPkg": "1",
61*9146af44SZhengjun Xing        "UMask": "0x04",
62*9146af44SZhengjun Xing        "Unit": "iMC"
63*9146af44SZhengjun Xing    },
64*9146af44SZhengjun Xing    {
65*9146af44SZhengjun Xing        "BriefDescription": "Pre-charge for writes",
66*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
67*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
68*9146af44SZhengjun Xing        "EventCode": "0x02",
69*9146af44SZhengjun Xing        "EventName": "UNC_M_PRE_COUNT.WR",
70*9146af44SZhengjun Xing        "PerPkg": "1",
71*9146af44SZhengjun Xing        "UMask": "0x08",
72*9146af44SZhengjun Xing        "Unit": "iMC"
73*9146af44SZhengjun Xing    },
74*9146af44SZhengjun Xing    {
75*9146af44SZhengjun Xing        "BriefDescription": "DRAM Activate Count : All Activates",
76*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
77*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
78*9146af44SZhengjun Xing        "EventCode": "0x01",
79*9146af44SZhengjun Xing        "EventName": "UNC_M_ACT_COUNT.ALL",
80*9146af44SZhengjun Xing        "PerPkg": "1",
81*9146af44SZhengjun Xing        "PublicDescription": "DRAM Activate Count : All Activates : Counts the number of DRAM Activate commands sent on this channel.  Activate commands are issued to open up a page on the DRAM devices so that it can be read or written to with a CAS.  One can calculate the number of Page Misses by subtracting the number of Page Miss precharges from the number of Activates.",
82*9146af44SZhengjun Xing        "UMask": "0x0B",
83*9146af44SZhengjun Xing        "Unit": "iMC"
84*9146af44SZhengjun Xing    },
85*9146af44SZhengjun Xing    {
86*9146af44SZhengjun Xing        "BriefDescription": "All DRAM CAS commands issued",
87*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
88*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
89*9146af44SZhengjun Xing        "EventCode": "0x04",
90*9146af44SZhengjun Xing        "EventName": "UNC_M_CAS_COUNT.ALL",
91*9146af44SZhengjun Xing        "PerPkg": "1",
92*9146af44SZhengjun Xing        "PublicDescription": "Counts the total number of DRAM CAS commands issued on this channel.",
93*9146af44SZhengjun Xing        "UMask": "0x3f",
94*9146af44SZhengjun Xing        "Unit": "iMC"
95*9146af44SZhengjun Xing    },
96*9146af44SZhengjun Xing    {
97*9146af44SZhengjun Xing        "BriefDescription": "Number of DRAM Refreshes Issued",
98*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
99*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
100*9146af44SZhengjun Xing        "EventCode": "0x45",
101*9146af44SZhengjun Xing        "EventName": "UNC_M_DRAM_REFRESH.HIGH",
102*9146af44SZhengjun Xing        "PerPkg": "1",
103*9146af44SZhengjun Xing        "PublicDescription": "Number of DRAM Refreshes Issued : Counts the number of refreshes issued.",
104*9146af44SZhengjun Xing        "UMask": "0x04",
105*9146af44SZhengjun Xing        "Unit": "iMC"
106*9146af44SZhengjun Xing    },
107*9146af44SZhengjun Xing    {
108*9146af44SZhengjun Xing        "BriefDescription": "Number of DRAM Refreshes Issued",
109*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
110*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
111*9146af44SZhengjun Xing        "EventCode": "0x45",
112*9146af44SZhengjun Xing        "EventName": "UNC_M_DRAM_REFRESH.OPPORTUNISTIC",
113*9146af44SZhengjun Xing        "PerPkg": "1",
114*9146af44SZhengjun Xing        "PublicDescription": "Number of DRAM Refreshes Issued : Counts the number of refreshes issued.",
115*9146af44SZhengjun Xing        "UMask": "0x01",
116*9146af44SZhengjun Xing        "Unit": "iMC"
117*9146af44SZhengjun Xing    },
118*9146af44SZhengjun Xing    {
119*9146af44SZhengjun Xing        "BriefDescription": "Number of DRAM Refreshes Issued",
120*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
121*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
122*9146af44SZhengjun Xing        "EventCode": "0x45",
123*9146af44SZhengjun Xing        "EventName": "UNC_M_DRAM_REFRESH.PANIC",
124*9146af44SZhengjun Xing        "PerPkg": "1",
125*9146af44SZhengjun Xing        "PublicDescription": "Number of DRAM Refreshes Issued : Counts the number of refreshes issued.",
126*9146af44SZhengjun Xing        "UMask": "0x02",
127*9146af44SZhengjun Xing        "Unit": "iMC"
128*9146af44SZhengjun Xing    },
129*9146af44SZhengjun Xing    {
130*9146af44SZhengjun Xing        "BriefDescription": "Half clockticks for IMC",
131*9146af44SZhengjun Xing        "Counter": "FIXED",
132*9146af44SZhengjun Xing        "CounterType": "FIXED",
133*9146af44SZhengjun Xing        "EventCode": "0xff",
134*9146af44SZhengjun Xing        "EventName": "UNC_M_HCLOCKTICKS",
135*9146af44SZhengjun Xing        "PerPkg": "1",
136*9146af44SZhengjun Xing        "PublicDescription": "Half clockticks for IMC",
137*9146af44SZhengjun Xing        "Unit": "iMC"
138*9146af44SZhengjun Xing    },
139*9146af44SZhengjun Xing    {
140*9146af44SZhengjun Xing        "BriefDescription": "DRAM Precharge commands.",
141*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
142*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
143*9146af44SZhengjun Xing        "EventCode": "0x02",
144*9146af44SZhengjun Xing        "EventName": "UNC_M_PRE_COUNT.ALL",
145*9146af44SZhengjun Xing        "PerPkg": "1",
146*9146af44SZhengjun Xing        "PublicDescription": "DRAM Precharge commands. : Counts the number of DRAM Precharge commands sent on this channel.",
147*9146af44SZhengjun Xing        "UMask": "0x1C",
148*9146af44SZhengjun Xing        "Unit": "iMC"
149*9146af44SZhengjun Xing    },
150*9146af44SZhengjun Xing    {
151*9146af44SZhengjun Xing        "BriefDescription": "DRAM Precharge commands. : Precharge due to page table",
152*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
153*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
154*9146af44SZhengjun Xing        "EventCode": "0x02",
155*9146af44SZhengjun Xing        "EventName": "UNC_M_PRE_COUNT.PGT",
156*9146af44SZhengjun Xing        "PerPkg": "1",
157*9146af44SZhengjun Xing        "PublicDescription": "DRAM Precharge commands. : Precharge due to page table : Counts the number of DRAM Precharge commands sent on this channel. : Prechages from Page Table",
158*9146af44SZhengjun Xing        "UMask": "0x10",
159*9146af44SZhengjun Xing        "Unit": "iMC"
160*9146af44SZhengjun Xing    },
161*9146af44SZhengjun Xing    {
162*9146af44SZhengjun Xing        "BriefDescription": "Read Pending Queue Allocations",
163*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
164*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
165*9146af44SZhengjun Xing        "EventCode": "0x10",
166*9146af44SZhengjun Xing        "EventName": "UNC_M_RPQ_INSERTS.PCH0",
167*9146af44SZhengjun Xing        "PerPkg": "1",
168*9146af44SZhengjun Xing        "PublicDescription": "Read Pending Queue Allocations : Counts the number of allocations into the Read Pending Queue.  This queue is used to schedule reads out to the memory controller and to track the requests.  Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after the CAS command has been issued to memory.  This includes both ISOCH and non-ISOCH requests.",
169*9146af44SZhengjun Xing        "UMask": "0x01",
170*9146af44SZhengjun Xing        "Unit": "iMC"
171*9146af44SZhengjun Xing    },
172*9146af44SZhengjun Xing    {
173*9146af44SZhengjun Xing        "BriefDescription": "Read Pending Queue Allocations",
174*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
175*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
176*9146af44SZhengjun Xing        "EventCode": "0x10",
177*9146af44SZhengjun Xing        "EventName": "UNC_M_RPQ_INSERTS.PCH1",
178*9146af44SZhengjun Xing        "PerPkg": "1",
179*9146af44SZhengjun Xing        "PublicDescription": "Read Pending Queue Allocations : Counts the number of allocations into the Read Pending Queue.  This queue is used to schedule reads out to the memory controller and to track the requests.  Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after the CAS command has been issued to memory.  This includes both ISOCH and non-ISOCH requests.",
180*9146af44SZhengjun Xing        "UMask": "0x02",
181*9146af44SZhengjun Xing        "Unit": "iMC"
182*9146af44SZhengjun Xing    },
183*9146af44SZhengjun Xing    {
184*9146af44SZhengjun Xing        "BriefDescription": "Read Pending Queue Occupancy",
185*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
186*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
187*9146af44SZhengjun Xing        "EventCode": "0x80",
188*9146af44SZhengjun Xing        "EventName": "UNC_M_RPQ_OCCUPANCY_PCH0",
189*9146af44SZhengjun Xing        "PerPkg": "1",
190*9146af44SZhengjun Xing        "PublicDescription": "Read Pending Queue Occupancy : Accumulates the occupancies of the Read Pending Queue each cycle.  This can then be used to calculate both the average occupancy (in conjunction with the number of cycles not empty) and the average latency (in conjunction with the number of allocations).  The RPQ is used to schedule reads out to the memory controller and to track the requests.  Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC. They deallocate after the CAS command has been issued to memory.",
191*9146af44SZhengjun Xing        "Unit": "iMC"
192*9146af44SZhengjun Xing    },
193*9146af44SZhengjun Xing    {
194*9146af44SZhengjun Xing        "BriefDescription": "Read Pending Queue Occupancy",
195*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
196*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
197*9146af44SZhengjun Xing        "EventCode": "0x81",
198*9146af44SZhengjun Xing        "EventName": "UNC_M_RPQ_OCCUPANCY_PCH1",
199*9146af44SZhengjun Xing        "PerPkg": "1",
200*9146af44SZhengjun Xing        "PublicDescription": "Read Pending Queue Occupancy : Accumulates the occupancies of the Read Pending Queue each cycle.  This can then be used to calculate both the average occupancy (in conjunction with the number of cycles not empty) and the average latency (in conjunction with the number of allocations).  The RPQ is used to schedule reads out to the memory controller and to track the requests.  Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC. They deallocate after the CAS command has been issued to memory.",
201*9146af44SZhengjun Xing        "Unit": "iMC"
202*9146af44SZhengjun Xing    },
203*9146af44SZhengjun Xing    {
204*9146af44SZhengjun Xing        "BriefDescription": "Write Pending Queue Allocations",
205*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
206*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
207*9146af44SZhengjun Xing        "EventCode": "0x20",
208*9146af44SZhengjun Xing        "EventName": "UNC_M_WPQ_INSERTS.PCH0",
209*9146af44SZhengjun Xing        "PerPkg": "1",
210*9146af44SZhengjun Xing        "PublicDescription": "Write Pending Queue Allocations : Counts the number of allocations into the Write Pending Queue.  This can then be used to calculate the average queuing latency (in conjunction with the WPQ occupancy count).  The WPQ is used to schedule write out to the memory controller and to track the writes.  Requests allocate into the WPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the CHA to the iMC.  They deallocate after being issued to DRAM.  Write requests themselves are able to complete (from the perspective of the rest of the system) as soon they have posted to the iMC.",
211*9146af44SZhengjun Xing        "UMask": "0x01",
212*9146af44SZhengjun Xing        "Unit": "iMC"
213*9146af44SZhengjun Xing    },
214*9146af44SZhengjun Xing    {
215*9146af44SZhengjun Xing        "BriefDescription": "Write Pending Queue Allocations",
216*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
217*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
218*9146af44SZhengjun Xing        "EventCode": "0x20",
219*9146af44SZhengjun Xing        "EventName": "UNC_M_WPQ_INSERTS.PCH1",
220*9146af44SZhengjun Xing        "PerPkg": "1",
221*9146af44SZhengjun Xing        "PublicDescription": "Write Pending Queue Allocations : Counts the number of allocations into the Write Pending Queue.  This can then be used to calculate the average queuing latency (in conjunction with the WPQ occupancy count).  The WPQ is used to schedule write out to the memory controller and to track the writes.  Requests allocate into the WPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the CHA to the iMC.  They deallocate after being issued to DRAM.  Write requests themselves are able to complete (from the perspective of the rest of the system) as soon they have posted to the iMC.",
222*9146af44SZhengjun Xing        "UMask": "0x02",
223*9146af44SZhengjun Xing        "Unit": "iMC"
224*9146af44SZhengjun Xing    },
225*9146af44SZhengjun Xing    {
226*9146af44SZhengjun Xing        "BriefDescription": "Write Pending Queue Occupancy",
227*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
228*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
229*9146af44SZhengjun Xing        "EventCode": "0x82",
230*9146af44SZhengjun Xing        "EventName": "UNC_M_WPQ_OCCUPANCY_PCH0",
231*9146af44SZhengjun Xing        "PerPkg": "1",
232*9146af44SZhengjun Xing        "PublicDescription": "Write Pending Queue Occupancy : Accumulates the occupancies of the Write Pending Queue each cycle.  This can then be used to calculate both the average queue occupancy (in conjunction with the number of cycles not empty) and the average latency (in conjunction with the number of allocations).  The WPQ is used to schedule write out to the memory controller and to track the writes.  Requests allocate into the WPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after being issued to DRAM.  Write requests themselves are able to complete (from the perspective of the rest of the system) as soon they have posted to the iMC.  This is not to be confused with actually performing the write to DRAM.  Therefore, the average latency for this queue is actually not useful for deconstruction intermediate write latencies.  So, we provide filtering based on if the request has posted or not.  By using the not posted filter, we can track how long writes spent in the iMC before completions were sent to the HA.  The posted filter, on the other hand, provides information about how much queueing is actually happenning in the iMC for writes before they are actually issued to memory.  High average occupancies will generally coincide with high write major mode counts.",
233*9146af44SZhengjun Xing        "Unit": "iMC"
234*9146af44SZhengjun Xing    },
235*9146af44SZhengjun Xing    {
236*9146af44SZhengjun Xing        "BriefDescription": "Write Pending Queue Occupancy",
237*9146af44SZhengjun Xing        "Counter": "0,1,2,3",
238*9146af44SZhengjun Xing        "CounterType": "PGMABLE",
239*9146af44SZhengjun Xing        "EventCode": "0x83",
240*9146af44SZhengjun Xing        "EventName": "UNC_M_WPQ_OCCUPANCY_PCH1",
241*9146af44SZhengjun Xing        "PerPkg": "1",
242*9146af44SZhengjun Xing        "PublicDescription": "Write Pending Queue Occupancy : Accumulates the occupancies of the Write Pending Queue each cycle.  This can then be used to calculate both the average queue occupancy (in conjunction with the number of cycles not empty) and the average latency (in conjunction with the number of allocations).  The WPQ is used to schedule write out to the memory controller and to track the writes.  Requests allocate into the WPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after being issued to DRAM.  Write requests themselves are able to complete (from the perspective of the rest of the system) as soon they have posted to the iMC.  This is not to be confused with actually performing the write to DRAM.  Therefore, the average latency for this queue is actually not useful for deconstruction intermediate write latencies.  So, we provide filtering based on if the request has posted or not.  By using the not posted filter, we can track how long writes spent in the iMC before completions were sent to the HA.  The posted filter, on the other hand, provides information about how much queueing is actually happenning in the iMC for writes before they are actually issued to memory.  High average occupancies will generally coincide with high write major mode counts.",
243*9146af44SZhengjun Xing        "Unit": "iMC"
244*9146af44SZhengjun Xing    }
245*9146af44SZhengjun Xing]
246