]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libpmc/pmc.westmereuc.3
zfs: merge openzfs/zfs@2e2a46e0a
[FreeBSD/FreeBSD.git] / lib / libpmc / pmc.westmereuc.3
1 .\" Copyright (c) 2010 Fabien Thomas.  All rights reserved.
2 .\"
3 .\" Redistribution and use in source and binary forms, with or without
4 .\" modification, are permitted provided that the following conditions
5 .\" are met:
6 .\" 1. Redistributions of source code must retain the above copyright
7 .\"    notice, this list of conditions and the following disclaimer.
8 .\" 2. Redistributions in binary form must reproduce the above copyright
9 .\"    notice, this list of conditions and the following disclaimer in the
10 .\"    documentation and/or other materials provided with the distribution.
11 .\"
12 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
13 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22 .\" SUCH DAMAGE.
23 .\"
24 .Dd March 24, 2010
25 .Dt PMC.WESTMEREUC 3
26 .Os
27 .Sh NAME
28 .Nm pmc.westmere
29 .Nd uncore measurement events for
30 .Tn Intel
31 .Tn Westmere
32 family CPUs
33 .Sh LIBRARY
34 .Lb libpmc
35 .Sh SYNOPSIS
36 .In pmc.h
37 .Sh DESCRIPTION
38 .Tn Intel
39 .Tn "Westmere"
40 CPUs contain PMCs conforming to version 2 of the
41 .Tn Intel
42 performance measurement architecture.
43 These CPUs contain two classes of PMCs:
44 .Bl -tag -width "Li PMC_CLASS_UCP"
45 .It Li PMC_CLASS_UCF
46 Fixed-function counters that count only one hardware event per counter.
47 .It Li PMC_CLASS_UCP
48 Programmable counters that may be configured to count one of a defined
49 set of hardware events.
50 .El
51 .Pp
52 The number of PMCs available in each class and their widths need to be
53 determined at run time by calling
54 .Xr pmc_cpuinfo 3 .
55 .Pp
56 Intel Westmere PMCs are documented in
57 .Rs
58 .%B "Intel(R) 64 and IA-32 Architectures Software Developes Manual"
59 .%T "Volume 3B: System Programming Guide, Part 2"
60 .%N "Order Number: 253669-033US"
61 .%D December 2009
62 .%Q "Intel Corporation"
63 .Re
64 .Ss WESTMERE UNCORE FIXED FUNCTION PMCS
65 These PMCs and their supported events are documented in
66 .Xr pmc.ucf 3 .
67 Not all CPUs in this family implement fixed-function counters.
68 .Ss WESTMERE UNCORE PROGRAMMABLE PMCS
69 The programmable PMCs support the following capabilities:
70 .Bl -column "PMC_CAP_INTERRUPT" "Support"
71 .It Em Capability Ta Em Support
72 .It PMC_CAP_CASCADE Ta \&No
73 .It PMC_CAP_EDGE Ta Yes
74 .It PMC_CAP_INTERRUPT Ta \&No
75 .It PMC_CAP_INVERT Ta Yes
76 .It PMC_CAP_READ Ta Yes
77 .It PMC_CAP_PRECISE Ta \&No
78 .It PMC_CAP_SYSTEM Ta \&No
79 .It PMC_CAP_TAGGING Ta \&No
80 .It PMC_CAP_THRESHOLD Ta Yes
81 .It PMC_CAP_USER Ta \&No
82 .It PMC_CAP_WRITE Ta Yes
83 .El
84 .Ss Event Qualifiers
85 Event specifiers for these PMCs support the following common
86 qualifiers:
87 .Bl -tag -width indent
88 .It Li cmask= Ns Ar value
89 Configure the PMC to increment only if the number of configured
90 events measured in a cycle is greater than or equal to
91 .Ar value .
92 .It Li edge
93 Configure the PMC to count the number of de-asserted to asserted
94 transitions of the conditions expressed by the other qualifiers.
95 If specified, the counter will increment only once whenever a
96 condition becomes true, irrespective of the number of clocks during
97 which the condition remains true.
98 .It Li inv
99 Invert the sense of comparison when the
100 .Dq Li cmask
101 qualifier is present, making the counter increment when the number of
102 events per cycle is less than the value specified by the
103 .Dq Li cmask
104 qualifier.
105 .El
106 .Ss Event Specifiers (Programmable PMCs)
107 Westmere uncore programmable PMCs support the following events:
108 .Bl -tag -width indent
109 .It Li GQ_CYCLES_FULL.READ_TRACKER
110 .Pq Event 00H , Umask 01H
111 Uncore cycles Global Queue read tracker is full.
112 .It Li GQ_CYCLES_FULL.WRITE_TRACKER
113 .Pq Event 00H , Umask 02H
114 Uncore cycles Global Queue write tracker is full.
115 .It Li GQ_CYCLES_FULL.PEER_PROBE_TRACKER
116 .Pq Event 00H , Umask 04H
117 Uncore cycles Global Queue peer probe tracker is full.
118 The peer probe tracker queue tracks snoops from the IOH and remote sockets.
119 .It Li GQ_CYCLES_NOT_EMPTY.READ_TRACKER
120 .Pq Event 01H , Umask 01H
121 Uncore cycles were Global Queue read tracker has at least one valid entry.
122 .It Li GQ_CYCLES_NOT_EMPTY.WRITE_TRACKER
123 .Pq Event 01H , Umask 02H
124 Uncore cycles were Global Queue write tracker has at least one valid entry.
125 .It Li GQ_CYCLES_NOT_EMPTY.PEER_PROBE_TRACKER
126 .Pq Event 01H , Umask 04H
127 Uncore cycles were Global Queue peer probe tracker has at least one valid entry.
128 The peer probe tracker queue tracks IOH and remote socket snoops.
129 .It Li GQ_OCCUPANCY.READ_TRACKER
130 .Pq Event 02H , Umask 01H
131 Increments the number of queue entries (code read, data read, and RFOs) in
132 the tread tracker.
133 The GQ read tracker allocate to deallocate occupancy count is divided by the
134 count to obtain the average read tracker latency.
135 .It Li GQ_ALLOC.READ_TRACKER
136 .Pq Event 03H , Umask 01H
137 Counts the number of tread tracker allocate to deallocate entries.
138 The GQ read tracker allocate to deallocate occupancy count is divided by
139 the count to obtain the average read tracker latency.
140 .It Li GQ_ALLOC.RT_L3_MISS
141 .Pq Event 03H , Umask 02H
142 Counts the number GQ read tracker entries for which a full cache line read
143 has missed the L3.
144 The GQ read tracker L3 miss to fill occupancy count is divided by this count
145 to obtain the average cache line read L3 miss latency.
146 The latency represents the time after which the L3 has determined that the
147 cache line has missed.
148 The time between a GQ read tracker allocation and the L3 determining that
149 the cache line has missed is the average L3 hit latency.
150 The total L3 cache line read miss latency is the hit latency + L3 miss
151 latency.
152 .It Li GQ_ALLOC.RT_TO_L3_RESP
153 .Pq Event 03H , Umask 04H
154 Counts the number of GQ read tracker entries that are allocated in the read
155 tracker queue that hit or miss the L3.
156 The GQ read tracker L3 hit occupancy count is divided by this count to obtain the average L3 hit latency.
157 .It Li GQ_ALLOC.RT_TO_RTID_ACQUIRED
158 .Pq Event 03H , Umask 08H
159 Counts the number of GQ read tracker entries that are allocated in the read
160 tracker, have missed in the L3 and have not acquired a Request Transaction ID.
161 The GQ read tracker L3 miss to RTID acquired occupancy count is
162 divided by this count to obtain the average latency for a read L3 miss to
163 acquire an RTID.
164 .It Li GQ_ALLOC.WT_TO_RTID_ACQUIRED
165 .Pq Event 03H , Umask 10H
166 Counts the number of GQ write tracker entries that are allocated in the
167 write tracker, have missed in the L3 and have not acquired a Request
168 Transaction ID.
169 The GQ write tracker L3 miss to RTID occupancy count is divided by this count
170 to obtain the average latency for a write L3 miss to acquire an RTID.
171 .It Li GQ_ALLOC.WRITE_TRACKER
172 .Pq Event 03H , Umask 20H
173 Counts the number of GQ write tracker entries that are allocated in the write
174 tracker queue that miss the L3.
175 The GQ write tracker occupancy count
176 is divided by the this count to obtain the average L3 write miss latency.
177 .It Li GQ_ALLOC.PEER_PROBE_TRACKER
178 .Pq Event 03H , Umask 40H
179 Counts the number of GQ peer probe tracker (snoop) entries that are
180 allocated in the peer probe tracker queue that miss the L3.
181 The GQ peer probe occupancy count is divided by this count to obtain the average
182 L3 peer probe miss latency.
183 .It Li GQ_DATA.FROM_QPI
184 .Pq Event 04H , Umask 01H
185 Cycles Global Queue Quickpath Interface input data port is busy importing
186 data from the Quickpath Interface.
187 Each cycle the input port can transfer 8 or 16 bytes of data.
188 .It Li GQ_DATA.FROM_QMC
189 .Pq Event 04H , Umask 02H
190 Cycles Global Queue Quickpath Memory Interface input data port is busy
191 importing data from the Quickpath Memory Interface.
192 Each cycle the input port can transfer 8 or 16 bytes of data.
193 .It Li GQ_DATA.FROM_L3
194 .Pq Event 04H , Umask 04H
195 Cycles GQ L3 input data port is busy importing data from the Last Level Cache.
196 Each cycle the input port can transfer 32 bytes of data.
197 .It Li GQ_DATA.FROM_CORES_02
198 .Pq Event 04H , Umask 08H
199 Cycles GQ Core 0 and 2 input data port is busy importing data from processor
200 cores 0 and 2.
201 Each cycle the input port can transfer 32 bytes of data.
202 .It Li GQ_DATA.FROM_CORES_13
203 .Pq Event 04H , Umask 10H
204 Cycles GQ Core 1 and 3 input data port is busy importing data from processor
205 cores 1 and 3.
206 Each cycle the input port can transfer 32 bytes of data.
207 .It Li GQ_DATA.TO_QPI_QMC
208 .Pq Event 05H , Umask 01H
209 Cycles GQ QPI and QMC output data port is busy sending data to the Quickpath
210 Interface or Quickpath Memory Interface.
211 Each cycle the output port can transfer 32 bytes of data.
212 .It Li GQ_DATA.TO_L3
213 .Pq Event 05H , Umask 02H
214 Cycles GQ L3 output data port is busy sending data to the Last Level Cache.
215 Each cycle the output port can transfer 32 bytes of data.
216 .It Li GQ_DATA.TO_CORES
217 .Pq Event 05H , Umask 04H
218 Cycles GQ Core output data port is busy sending data to the Cores.
219 Each cycle the output port can transfer 32 bytes of data.
220 .It Li SNP_RESP_TO_LOCAL_HOME.I_STATE
221 .Pq Event 06H , Umask 01H
222 Number of snoop responses to the local home that L3 does not have the
223 referenced cache line.
224 .It Li SNP_RESP_TO_LOCAL_HOME.S_STATE
225 .Pq Event 06H , Umask 02H
226 Number of snoop responses to the local home that L3 has the referenced line
227 cached in the S state.
228 .It Li SNP_RESP_TO_LOCAL_HOME.FWD_S_STATE
229 .Pq Event 06H , Umask 04H
230 Number of responses to code or data read snoops to the local home that the
231 L3 has the referenced cache line in the E state.
232 The L3 cache line state is changed to the S state and the line is forwarded
233 to the local home in the S state.
234 .It Li SNP_RESP_TO_LOCAL_HOME.FWD_I_STATE
235 .Pq Event 06H , Umask 08H
236 Number of responses to read invalidate snoops to the local home that the L3
237 has the referenced cache line in the M state.
238 The L3 cache line state is invalidated and the line is forwarded to the
239 local home in the M state.
240 .It Li SNP_RESP_TO_LOCAL_HOME.CONFLICT
241 .Pq Event 06H , Umask 10H
242 Number of conflict snoop responses sent to the local home.
243 .It Li SNP_RESP_TO_LOCAL_HOME.WB
244 .Pq Event 06H , Umask 20H
245 Number of responses to code or data read snoops to the local home that the
246 L3 has the referenced line cached in the M state.
247 .It Li SNP_RESP_TO_REMOTE_HOME.I_STATE
248 .Pq Event 07H , Umask 01H
249 Number of snoop responses to a remote home that L3 does not have the
250 referenced cache line.
251 .It Li SNP_RESP_TO_REMOTE_HOME.S_STATE
252 .Pq Event 07H , Umask 02H
253 Number of snoop responses to a remote home that L3 has the referenced line
254 cached in the S state.
255 .It Li SNP_RESP_TO_REMOTE_HOME.FWD_S_STATE
256 .Pq Event 07H , Umask 04H
257 Number of responses to code or data read snoops to a remote home that the L3
258 has the referenced cache line in the E state.
259 The L3 cache line state is changed to the S state and the line is forwarded
260 to the remote home in the S state.
261 .It Li SNP_RESP_TO_REMOTE_HOME.FWD_I_STATE
262 .Pq Event 07H , Umask 08H
263 Number of responses to read invalidate snoops to a remote home that the L3
264 has the referenced cache line in the M state.
265 The L3 cache line state is invalidated and the line is forwarded to the
266 remote home in the M state.
267 .It Li SNP_RESP_TO_REMOTE_HOME.CONFLICT
268 .Pq Event 07H , Umask 10H
269 Number of conflict snoop responses sent to the local home.
270 .It Li SNP_RESP_TO_REMOTE_HOME.WB
271 .Pq Event 07H , Umask 20H
272 Number of responses to code or data read snoops to a remote home that the L3
273 has the referenced line cached in the M state.
274 .It Li SNP_RESP_TO_REMOTE_HOME.HITM
275 .Pq Event 07H , Umask 24H
276 Number of HITM snoop responses to a remote home.
277 .It Li L3_HITS.READ
278 .Pq Event 08H , Umask 01H
279 Number of code read, data read and RFO requests that hit in the L3.
280 .It Li L3_HITS.WRITE
281 .Pq Event 08H , Umask 02H
282 Number of writeback requests that hit in the L3.
283 Writebacks from the cores will always result in L3 hits due to the
284 inclusive property of the L3.
285 .It Li L3_HITS.PROBE
286 .Pq Event 08H , Umask 04H
287 Number of snoops from IOH or remote sockets that hit in the L3.
288 .It Li L3_HITS.ANY
289 .Pq Event 08H , Umask 03H
290 Number of reads and writes that hit the L3.
291 .It Li L3_MISS.READ
292 .Pq Event 09H , Umask 01H
293 Number of code read, data read and RFO requests that miss the L3.
294 .It Li L3_MISS.WRITE
295 .Pq Event 09H , Umask 02H
296 Number of writeback requests that miss the L3.
297 Should always be zero as writebacks from the cores will always result in L3 hits due to the inclusive
298 property of the L3.
299 .It Li L3_MISS.PROBE
300 .Pq Event 09H , Umask 04H
301 Number of snoops from IOH or remote sockets that miss the L3.
302 .It Li L3_MISS.ANY
303 .Pq Event 09H , Umask 03H
304 Number of reads and writes that miss the L3.
305 .It Li L3_LINES_IN.M_STATE
306 .Pq Event 0AH , Umask 01H
307 Counts the number of L3 lines allocated in M state.
308 The only time a cache line is allocated in the M state is when the
309 line was forwarded in M state is forwarded due to a Snoop Read Invalidate Own request.
310 .It Li L3_LINES_IN.E_STATE
311 .Pq Event 0AH , Umask 02H
312 Counts the number of L3 lines allocated in E state.
313 .It Li L3_LINES_IN.S_STATE
314 .Pq Event 0AH , Umask 04H
315 Counts the number of L3 lines allocated in S state.
316 .It Li L3_LINES_IN.F_STATE
317 .Pq Event 0AH , Umask 08H
318 Counts the number of L3 lines allocated in F state.
319 .It Li L3_LINES_IN.ANY
320 .Pq Event 0AH , Umask 0FH
321 Counts the number of L3 lines allocated in any state.
322 .It Li L3_LINES_OUT.M_STATE
323 .Pq Event 0BH , Umask 01H
324 Counts the number of L3 lines victimized that were in the M state.
325 When the victim cache line is in M state, the line is written to its home cache agent
326 which can be either local or remote.
327 .It Li L3_LINES_OUT.E_STATE
328 .Pq Event 0BH , Umask 02H
329 Counts the number of L3 lines victimized that were in the E state.
330 .It Li L3_LINES_OUT.S_STATE
331 .Pq Event 0BH , Umask 04H
332 Counts the number of L3 lines victimized that were in the S state.
333 .It Li L3_LINES_OUT.I_STATE
334 .Pq Event 0BH , Umask 08H
335 Counts the number of L3 lines victimized that were in the I state.
336 .It Li L3_LINES_OUT.F_STATE
337 .Pq Event 0BH , Umask 10H
338 Counts the number of L3 lines victimized that were in the F state.
339 .It Li L3_LINES_OUT.ANY
340 .Pq Event 0BH , Umask 1FH
341 Counts the number of L3 lines victimized in any state.
342 .It Li GQ_SNOOP.GOTO_S
343 .Pq Event 0CH , Umask 01H
344 Counts the number of remote snoops that have requested a cache line be set
345 to the S state.
346 .It Li GQ_SNOOP.GOTO_I
347 .Pq Event 0CH , Umask 02H
348 Counts the number of remote snoops that have requested a cache line be set
349 to the I state.
350 .It Li GQ_SNOOP.GOTO_S_HIT_E
351 .Pq Event 0CH , Umask 04H
352 Counts the number of remote snoops that have requested a cache line be set
353 to the S state from E state.
354 Requires writing MSR 301H with mask = 2H
355 .It Li GQ_SNOOP.GOTO_S_HIT_F
356 .Pq Event 0CH , Umask 04H
357 Counts the number of remote snoops that have requested a cache line be set
358 to the S state from F (forward) state.
359 Requires writing MSR 301H with mask = 8H
360 .It Li GQ_SNOOP.GOTO_S_HIT_M
361 .Pq Event 0CH , Umask 04H
362 Counts the number of remote snoops that have requested a cache line be set
363 to the S state from M state.
364 Requires writing MSR 301H with mask = 1H
365 .It Li GQ_SNOOP.GOTO_S_HIT_S
366 .Pq Event 0CH , Umask 04H
367 Counts the number of remote snoops that have requested a cache line be set
368 to the S state from S state.
369 Requires writing MSR 301H with mask = 4H
370 .It Li GQ_SNOOP.GOTO_I_HIT_E
371 .Pq Event 0CH , Umask 08H
372 Counts the number of remote snoops that have requested a cache line be set
373 to the I state from E state.
374 Requires writing MSR 301H with mask = 2H
375 .It Li GQ_SNOOP.GOTO_I_HIT_F
376 .Pq Event 0CH , Umask 08H
377 Counts the number of remote snoops that have requested a cache line be set
378 to the I state from F (forward) state.
379 Requires writing MSR 301H with mask = 8H
380 .It Li GQ_SNOOP.GOTO_I_HIT_M
381 .Pq Event 0CH , Umask 08H
382 Counts the number of remote snoops that have requested a cache line be set
383 to the I state from M state.
384 Requires writing MSR 301H with mask = 1H
385 .It Li GQ_SNOOP.GOTO_I_HIT_S
386 .Pq Event 0CH , Umask 08H
387 Counts the number of remote snoops that have requested a cache line be set
388 to the I state from S state.
389 Requires writing MSR 301H with mask = 4H
390 .It Li QHL_REQUESTS.IOH_READS
391 .Pq Event 20H , Umask 01H
392 Counts number of Quickpath Home Logic read requests from the IOH.
393 .It Li QHL_REQUESTS.IOH_WRITES
394 .Pq Event 20H , Umask 02H
395 Counts number of Quickpath Home Logic write requests from the IOH.
396 .It Li QHL_REQUESTS.REMOTE_READS
397 .Pq Event 20H , Umask 04H
398 Counts number of Quickpath Home Logic read requests from a remote socket.
399 .It Li QHL_REQUESTS.REMOTE_WRITES
400 .Pq Event 20H , Umask 08H
401 Counts number of Quickpath Home Logic write requests from a remote socket.
402 .It Li QHL_REQUESTS.LOCAL_READS
403 .Pq Event 20H , Umask 10H
404 Counts number of Quickpath Home Logic read requests from the local socket.
405 .It Li QHL_REQUESTS.LOCAL_WRITES
406 .Pq Event 20H , Umask 20H
407 Counts number of Quickpath Home Logic write requests from the local socket.
408 .It Li QHL_CYCLES_FULL.IOH
409 .Pq Event 21H , Umask 01H
410 Counts uclk cycles all entries in the Quickpath Home Logic IOH are full.
411 .It Li QHL_CYCLES_FULL.REMOTE
412 .Pq Event 21H , Umask 02H
413 Counts uclk cycles all entries in the Quickpath Home Logic remote tracker
414 are full.
415 .It Li QHL_CYCLES_FULL.LOCAL
416 .Pq Event 21H , Umask 04H
417 Counts uclk cycles all entries in the Quickpath Home Logic local tracker are
418 full.
419 .It Li QHL_CYCLES_NOT_EMPTY.IOH
420 .Pq Event 22H , Umask 01H
421 Counts uclk cycles all entries in the Quickpath Home Logic IOH is busy.
422 .It Li QHL_CYCLES_NOT_EMPTY.REMOTE
423 .Pq Event 22H , Umask 02H
424 Counts uclk cycles all entries in the Quickpath Home Logic remote tracker is
425 busy.
426 .It Li QHL_CYCLES_NOT_EMPTY.LOCAL
427 .Pq Event 22H , Umask 04H
428 Counts uclk cycles all entries in the Quickpath Home Logic local tracker is
429 busy.
430 .It Li QHL_OCCUPANCY.IOH
431 .Pq Event 23H , Umask 01H
432 QHL IOH tracker allocate to deallocate read occupancy.
433 .It Li QHL_OCCUPANCY.REMOTE
434 .Pq Event 23H , Umask 02H
435 QHL remote tracker allocate to deallocate read occupancy.
436 .It Li QHL_OCCUPANCY.LOCAL
437 .Pq Event 23H , Umask 04H
438 QHL local tracker allocate to deallocate read occupancy.
439 .It Li QHL_ADDRESS_CONFLICTS.2WAY
440 .Pq Event 24H , Umask 02H
441 Counts number of QHL Active Address Table (AAT) entries that saw a max of 2 conflicts.
442 The AAT is a structure that tracks requests that are in conflict.
443 The requests themselves are in the home tracker entries.
444 The count is reported when an AAT entry deallocates.
445 .It Li QHL_ADDRESS_CONFLICTS.3WAY
446 .Pq Event 24H , Umask 04H
447 Counts number of QHL Active Address Table (AAT) entries that saw a max of 3 conflicts.
448 The AAT is a structure that tracks requests that are in conflict.
449 The requests themselves are in the home tracker entries.
450 The count is reported when an AAT entry deallocates.
451 .It Li QHL_CONFLICT_CYCLES.IOH
452 .Pq Event 25H , Umask 01H
453 Counts cycles the Quickpath Home Logic IOH Tracker contains two or more
454 requests with an address conflict.
455 A max of 3 requests can be in conflict.
456 .It Li QHL_CONFLICT_CYCLES.REMOTE
457 .Pq Event 25H , Umask 02H
458 Counts cycles the Quickpath Home Logic Remote Tracker contains two or more
459 requests with an address conflict.
460 A max of 3 requests can be in conflict.
461 .It Li QHL_CONFLICT_CYCLES.LOCAL
462 .Pq Event 25H , Umask 04H
463 Counts cycles the Quickpath Home Logic Local Tracker contains two or more
464 requests with an address conflict.
465 A max of 3 requests can be in conflict.
466 .It Li QHL_TO_QMC_BYPASS
467 .Pq Event 26H , Umask 01H
468 Counts number or requests to the Quickpath Memory Controller that bypass the
469 Quickpath Home Logic.
470 All local accesses can be bypassed.
471 For remote requests, only read requests can be bypassed.
472 .It Li QMC_ISOC_FULL.READ.CH0
473 .Pq Event 28H , Umask 01H
474 Counts cycles all the entries in the DRAM channel 0 high priority queue are
475 occupied with isochronous read requests.
476 .It Li QMC_ISOC_FULL.READ.CH1
477 .Pq Event 28H , Umask 02H
478 Counts cycles all the entries in the DRAM channel 1 high priority queue are
479 occupied with isochronous read requests.
480 .It Li QMC_ISOC_FULL.READ.CH2
481 .Pq Event 28H , Umask 04H
482 Counts cycles all the entries in the DRAM channel 2 high priority queue are
483 occupied with isochronous read requests.
484 .It Li QMC_ISOC_FULL.WRITE.CH0
485 .Pq Event 28H , Umask 08H
486 Counts cycles all the entries in the DRAM channel 0 high priority queue are
487 occupied with isochronous write requests.
488 .It Li QMC_ISOC_FULL.WRITE.CH1
489 .Pq Event 28H , Umask 10H
490 Counts cycles all the entries in the DRAM channel 1 high priority queue are
491 occupied with isochronous write requests.
492 .It Li QMC_ISOC_FULL.WRITE.CH2
493 .Pq Event 28H , Umask 20H
494 Counts cycles all the entries in the DRAM channel 2 high priority queue are
495 occupied with isochronous write requests.
496 .It Li QMC_BUSY.READ.CH0
497 .Pq Event 29H , Umask 01H
498 Counts cycles where Quickpath Memory Controller has at least 1 outstanding
499 read request to DRAM channel 0.
500 .It Li QMC_BUSY.READ.CH1
501 .Pq Event 29H , Umask 02H
502 Counts cycles where Quickpath Memory Controller has at least 1 outstanding
503 read request to DRAM channel 1.
504 .It Li QMC_BUSY.READ.CH2
505 .Pq Event 29H , Umask 04H
506 Counts cycles where Quickpath Memory Controller has at least 1 outstanding
507 read request to DRAM channel 2.
508 .It Li QMC_BUSY.WRITE.CH0
509 .Pq Event 29H , Umask 08H
510 Counts cycles where Quickpath Memory Controller has at least 1 outstanding
511 write request to DRAM channel 0.
512 .It Li QMC_BUSY.WRITE.CH1
513 .Pq Event 29H , Umask 10H
514 Counts cycles where Quickpath Memory Controller has at least 1 outstanding
515 write request to DRAM channel 1.
516 .It Li QMC_BUSY.WRITE.CH2
517 .Pq Event 29H , Umask 20H
518 Counts cycles where Quickpath Memory Controller has at least 1 outstanding
519 write request to DRAM channel 2.
520 .It Li QMC_OCCUPANCY.CH0
521 .Pq Event 2AH , Umask 01H
522 IMC channel 0 normal read request occupancy.
523 .It Li QMC_OCCUPANCY.CH1
524 .Pq Event 2AH , Umask 02H
525 IMC channel 1 normal read request occupancy.
526 .It Li QMC_OCCUPANCY.CH2
527 .Pq Event 2AH , Umask 04H
528 IMC channel 2 normal read request occupancy.
529 .It Li QMC_OCCUPANCY.ANY
530 .Pq Event 2AH , Umask 07H
531 Normal read request occupancy for any channel.
532 .It Li QMC_ISSOC_OCCUPANCY.CH0
533 .Pq Event 2BH , Umask 01H
534 IMC channel 0 issoc read request occupancy.
535 .It Li QMC_ISSOC_OCCUPANCY.CH1
536 .Pq Event 2BH , Umask 02H
537 IMC channel 1 issoc read request occupancy.
538 .It Li QMC_ISSOC_OCCUPANCY.CH2
539 .Pq Event 2BH , Umask 04H
540 IMC channel 2 issoc read request occupancy.
541 .It Li QMC_ISSOC_READS.ANY
542 .Pq Event 2BH , Umask 07H
543 IMC issoc read request occupancy.
544 .It Li QMC_NORMAL_READS.CH0
545 .Pq Event 2CH , Umask 01H
546 Counts the number of Quickpath Memory Controller channel 0 medium and low
547 priority read requests.
548 The QMC channel 0 normal read occupancy divided by this count provides the
549 average QMC channel 0 read latency.
550 .It Li QMC_NORMAL_READS.CH1
551 .Pq Event 2CH , Umask 02H
552 Counts the number of Quickpath Memory Controller channel 1 medium and low
553 priority read requests.
554 The QMC channel 1 normal read occupancy divided by this count provides the
555 average QMC channel 1 read latency.
556 .It Li QMC_NORMAL_READS.CH2
557 .Pq Event 2CH , Umask 04H
558 Counts the number of Quickpath Memory Controller channel 2 medium and low
559 priority read requests.
560 The QMC channel 2 normal read occupancy divided by this count provides the
561 average QMC channel 2 read latency.
562 .It Li QMC_NORMAL_READS.ANY
563 .Pq Event 2CH , Umask 07H
564 Counts the number of Quickpath Memory Controller medium and low priority read requests.
565 The QMC normal read occupancy divided by this count provides the average
566 QMC read latency.
567 .It Li QMC_HIGH_PRIORITY_READS.CH0
568 .Pq Event 2DH , Umask 01H
569 Counts the number of Quickpath Memory Controller channel 0 high priority
570 isochronous read requests.
571 .It Li QMC_HIGH_PRIORITY_READS.CH1
572 .Pq Event 2DH , Umask 02H
573 Counts the number of Quickpath Memory Controller channel 1 high priority
574 isochronous read requests.
575 .It Li QMC_HIGH_PRIORITY_READS.CH2
576 .Pq Event 2DH , Umask 04H
577 Counts the number of Quickpath Memory Controller channel 2 high priority
578 isochronous read requests.
579 .It Li QMC_HIGH_PRIORITY_READS.ANY
580 .Pq Event 2DH , Umask 07H
581 Counts the number of Quickpath Memory Controller high priority isochronous
582 read requests.
583 .It Li QMC_CRITICAL_PRIORITY_READS.CH0
584 .Pq Event 2EH , Umask 01H
585 Counts the number of Quickpath Memory Controller channel 0 critical priority
586 isochronous read requests.
587 .It Li QMC_CRITICAL_PRIORITY_READS.CH1
588 .Pq Event 2EH , Umask 02H
589 Counts the number of Quickpath Memory Controller channel 1 critical priority
590 isochronous read requests.
591 .It Li QMC_CRITICAL_PRIORITY_READS.CH2
592 .Pq Event 2EH , Umask 04H
593 Counts the number of Quickpath Memory Controller channel 2 critical priority
594 isochronous read requests.
595 .It Li QMC_CRITICAL_PRIORITY_READS.ANY
596 .Pq Event 2EH , Umask 07H
597 Counts the number of Quickpath Memory Controller critical priority
598 isochronous read requests.
599 .It Li QMC_WRITES.FULL.CH0
600 .Pq Event 2FH , Umask 01H
601 Counts number of full cache line writes to DRAM channel 0.
602 .It Li QMC_WRITES.FULL.CH1
603 .Pq Event 2FH , Umask 02H
604 Counts number of full cache line writes to DRAM channel 1.
605 .It Li QMC_WRITES.FULL.CH2
606 .Pq Event 2FH , Umask 04H
607 Counts number of full cache line writes to DRAM channel 2.
608 .It Li QMC_WRITES.FULL.ANY
609 .Pq Event 2FH , Umask 07H
610 Counts number of full cache line writes to DRAM.
611 .It Li QMC_WRITES.PARTIAL.CH0
612 .Pq Event 2FH , Umask 08H
613 Counts number of partial cache line writes to DRAM channel 0.
614 .It Li QMC_WRITES.PARTIAL.CH1
615 .Pq Event 2FH , Umask 10H
616 Counts number of partial cache line writes to DRAM channel 1.
617 .It Li QMC_WRITES.PARTIAL.CH2
618 .Pq Event 2FH , Umask 20H
619 Counts number of partial cache line writes to DRAM channel 2.
620 .It Li QMC_WRITES.PARTIAL.ANY
621 .Pq Event 2FH , Umask 38H
622 Counts number of partial cache line writes to DRAM.
623 .It Li QMC_CANCEL.CH0
624 .Pq Event 30H , Umask 01H
625 Counts number of DRAM channel 0 cancel requests.
626 .It Li QMC_CANCEL.CH1
627 .Pq Event 30H , Umask 02H
628 Counts number of DRAM channel 1 cancel requests.
629 .It Li QMC_CANCEL.CH2
630 .Pq Event 30H , Umask 04H
631 Counts number of DRAM channel 2 cancel requests.
632 .It Li QMC_CANCEL.ANY
633 .Pq Event 30H , Umask 07H
634 Counts number of DRAM cancel requests.
635 .It Li QMC_PRIORITY_UPDATES.CH0
636 .Pq Event 31H , Umask 01H
637 Counts number of DRAM channel 0 priority updates.
638 A priority update occurs when an ISOC high or critical request is
639 received by the QHL and there is a matching request with normal priority
640 that has already been issued to the QMC.
641 In this instance, the QHL will send a priority update to QMC to
642 expedite the request.
643 .It Li QMC_PRIORITY_UPDATES.CH1
644 .Pq Event 31H , Umask 02H
645 Counts number of DRAM channel 1 priority updates.
646 A priority update occurs when an ISOC high or critical request is received
647 by the QHL and there is a matching request with normal priority that has
648 already been issued to the QMC.
649 In this instance, the QHL will send a priority update to QMC to expedite the request.
650 .It Li QMC_PRIORITY_UPDATES.CH2
651 .Pq Event 31H , Umask 04H
652 Counts number of DRAM channel 2 priority updates.
653 A priority update occurs when an ISOC high or critical request is received
654 by the QHL and there is a matching request with normal priority that has
655 already been issued to the QMC.
656 In this instance, the QHL will send a priority update to QMC to expedite the request.
657 .It Li QMC_PRIORITY_UPDATES.ANY
658 .Pq Event 31H , Umask 07H
659 Counts number of DRAM priority updates.
660 A priority update occurs when an ISOC high or critical request is received
661 by the QHL and there is a matching request with normal priority that has already
662 been issued to the QMC.
663 In this instance, the QHL will send a priority update to QMC to expedite the request.
664 .It Li IMC_RETRY.CH0
665 .Pq Event 32H , Umask 01H
666 Counts number of IMC DRAM channel 0 retries.
667 DRAM retry only occurs when configured in RAS mode.
668 .It Li IMC_RETRY.CH1
669 .Pq Event 32H , Umask 02H
670 Counts number of IMC DRAM channel 1 retries.
671 DRAM retry only occurs when configured in RAS mode.
672 .It Li IMC_RETRY.CH2
673 .Pq Event 32H , Umask 04H
674 Counts number of IMC DRAM channel 2 retries.
675 DRAM retry only occurs when configured in RAS mode.
676 .It Li IMC_RETRY.ANY
677 .Pq Event 32H , Umask 07H
678 Counts number of IMC DRAM retries from any channel.
679 DRAM retry only occurs when configured in RAS mode.
680 .It Li QHL_FRC_ACK_CNFLTS.IOH
681 .Pq Event 33H , Umask 01H
682 Counts number of Force Acknowledge Conflict messages sent by the Quickpath
683 Home Logic to the IOH.
684 .It Li QHL_FRC_ACK_CNFLTS.REMOTE
685 .Pq Event 33H , Umask 02H
686 Counts number of Force Acknowledge Conflict messages sent by the Quickpath
687 Home Logic to the remote home.
688 .It Li QHL_FRC_ACK_CNFLTS.LOCAL
689 .Pq Event 33H , Umask 04H
690 Counts number of Force Acknowledge Conflict messages sent by the Quickpath
691 Home Logic to the local home.
692 .It Li QHL_FRC_ACK_CNFLTS.ANY
693 .Pq Event 33H , Umask 07H
694 Counts number of Force Acknowledge Conflict messages sent by the Quickpath
695 Home Logic.
696 .It Li QHL_SLEEPS.IOH_ORDER
697 .Pq Event 34H , Umask 01H
698 Counts number of occurrences a request was put to sleep due to IOH ordering
699 (write after read) conflicts.
700 While in the sleep state, the request is not eligible to be scheduled to the QMC.
701 .It Li QHL_SLEEPS.REMOTE_ORDER
702 .Pq Event 34H , Umask 02H
703 Counts number of occurrences a request was put to sleep due to remote socket
704 ordering (write after read) conflicts.
705 While in the sleep state, the request is not eligible to be scheduled to the QMC.
706 .It Li QHL_SLEEPS.LOCAL_ORDER
707 .Pq Event 34H , Umask 04H
708 Counts number of occurrences a request was put to sleep due to local socket
709 ordering (write after read) conflicts.
710 While in the sleep state, the request is not eligible to be scheduled to the QMC.
711 .It Li QHL_SLEEPS.IOH_CONFLICT
712 .Pq Event 34H , Umask 08H
713 Counts number of occurrences a request was put to sleep due to IOH address conflicts.
714 While in the sleep state, the request is not eligible to be scheduled to the QMC.
715 .It Li QHL_SLEEPS.REMOTE_CONFLICT
716 .Pq Event 34H , Umask 10H
717 Counts number of occurrences a request was put to sleep due to remote socket
718 address conflicts.
719 While in the sleep state, the request is not eligible to be scheduled to the QMC.
720 .It Li QHL_SLEEPS.LOCAL_CONFLICT
721 .Pq Event 34H , Umask 20H
722 Counts number of occurrences a request was put to sleep due to local socket address conflicts.
723 While in the sleep state, the request is not eligible to be scheduled to the QMC.
724 .It Li ADDR_OPCODE_MATCH.IOH
725 .Pq Event 35H , Umask 01H
726 Counts number of requests from the IOH, address/opcode of request is
727 qualified by mask value written to MSR 396H.
728 The following mask values are supported:
729 0: NONE 40000000_00000000H:RSPFWDI 40001A00_00000000H:RSPFWDS
730 40001D00_00000000H:RSPIWB
731 Match opcode/address by writing MSR 396H with mask supported mask value.
732 .It Li ADDR_OPCODE_MATCH.REMOTE
733 .Pq Event 35H , Umask 02H
734 Counts number of requests from the remote socket, address/opcode of request
735 is qualified by mask value written to MSR 396H.
736 The following mask values are supported:
737 0: NONE 40000000_00000000H:RSPFWDI 40001A00_00000000H:RSPFWDS
738 40001D00_00000000H:RSPIWB
739 Match opcode/address by writing MSR 396H with mask supported mask value.
740 .It Li ADDR_OPCODE_MATCH.LOCAL
741 .Pq Event 35H , Umask 04H
742 Counts number of requests from the local socket, address/opcode of request
743 is qualified by mask value written to MSR 396H.
744 The following mask values are supported:
745 0: NONE 40000000_00000000H:RSPFWDI 40001A00_00000000H:RSPFWDS
746 40001D00_00000000H:RSPIWB
747 Match opcode/address by writing MSR 396H with mask supported mask value.
748 .It Li QPI_TX_STALLED_SINGLE_FLIT.HOME.LINK_0
749 .Pq Event 40H , Umask 01H
750 Counts cycles the Quickpath outbound link 0 HOME virtual channel is stalled
751 due to lack of a VNA and VN0 credit.
752 Note that this event does not filter out when a flit would not have been selected
753 for arbitration because another virtual channel is getting arbitrated.
754 .It Li QPI_TX_STALLED_SINGLE_FLIT.SNOOP.LINK_0
755 .Pq Event 40H , Umask 02H
756 Counts cycles the Quickpath outbound link 0 SNOOP virtual channel is stalled
757 due to lack of a VNA and VN0 credit.
758 Note that this event does not filter out when a flit would not have been selected
759 for arbitration because another virtual channel is getting arbitrated.
760 .It Li QPI_TX_STALLED_SINGLE_FLIT.NDR.LINK_0
761 .Pq Event 40H , Umask 04H
762 Counts cycles the Quickpath outbound link 0 non-data response virtual
763 channel is stalled due to lack of a VNA and VN0 credit.
764 Note that this event does not filter out when a flit would not have been selected
765 for arbitration because another virtual channel is getting arbitrated.
766 .It Li QPI_TX_STALLED_SINGLE_FLIT.HOME.LINK_1
767 .Pq Event 40H , Umask 08H
768 Counts cycles the Quickpath outbound link 1 HOME virtual channel is stalled
769 due to lack of a VNA and VN0 credit.
770 Note that this event does not filter out when a flit would not have been selected
771 for arbitration because another virtual channel is getting arbitrated.
772 .It Li QPI_TX_STALLED_SINGLE_FLIT.SNOOP.LINK_1
773 .Pq Event 40H , Umask 10H
774 Counts cycles the Quickpath outbound link 1 SNOOP virtual channel is stalled
775 due to lack of a VNA and VN0 credit.
776 Note that this event does not filter out when a flit would not have been selected
777 for arbitration because another virtual channel is getting arbitrated.
778 .It Li QPI_TX_STALLED_SINGLE_FLIT.NDR.LINK_1
779 .Pq Event 40H , Umask 20H
780 Counts cycles the Quickpath outbound link 1 non-data response virtual
781 channel is stalled due to lack of a VNA and VN0 credit.
782 Note that this event does not filter out when a flit would not have been selected
783 for arbitration because another virtual channel is getting arbitrated.
784 .It Li QPI_TX_STALLED_SINGLE_FLIT.LINK_0
785 .Pq Event 40H , Umask 07H
786 Counts cycles the Quickpath outbound link 0 virtual channels are stalled due
787 to lack of a VNA and VN0 credit.
788 Note that this event does not filter out when a flit would not have been selected
789 for arbitration because another virtual channel is getting arbitrated.
790 .It Li QPI_TX_STALLED_SINGLE_FLIT.LINK_1
791 .Pq Event 40H , Umask 38H
792 Counts cycles the Quickpath outbound link 1 virtual channels are stalled due
793 to lack of a VNA and VN0 credit.
794 Note that this event does not filter out when a flit would not have been selected
795 for arbitration because another virtual channel is getting arbitrated.
796 .It Li QPI_TX_STALLED_MULTI_FLIT.DRS.LINK_0
797 .Pq Event 41H , Umask 01H
798 Counts cycles the Quickpath outbound link 0 Data ResponSe virtual channel is
799 stalled due to lack of VNA and VN0 credits.
800 Note that this event does not filter out when a flit would not have been selected
801 for arbitration because another virtual channel is getting arbitrated.
802 .It Li QPI_TX_STALLED_MULTI_FLIT.NCB.LINK_0
803 .Pq Event 41H , Umask 02H
804 Counts cycles the Quickpath outbound link 0 Non-Coherent Bypass virtual
805 channel is stalled due to lack of VNA and VN0 credits.
806 Note that this event does not filter out when a flit would not have been selected
807 for arbitration because another virtual channel is getting arbitrated.
808 .It Li QPI_TX_STALLED_MULTI_FLIT.NCS.LINK_0
809 .Pq Event 41H , Umask 04H
810 Counts cycles the Quickpath outbound link 0 Non-Coherent Standard virtual
811 channel is stalled due to lack of VNA and VN0 credits.
812 Note that this event does not filter out when a flit would not have been selected
813 for arbitration because another virtual channel is getting arbitrated.
814 .It Li QPI_TX_STALLED_MULTI_FLIT.DRS.LINK_1
815 .Pq Event 41H , Umask 08H
816 Counts cycles the Quickpath outbound link 1 Data ResponSe virtual channel is
817 stalled due to lack of VNA and VN0 credits.
818 Note that this event does not filter out when a flit would not have been selected
819 for arbitration because another virtual channel is getting arbitrated.
820 .It Li QPI_TX_STALLED_MULTI_FLIT.NCB.LINK_1
821 .Pq Event 41H , Umask 10H
822 Counts cycles the Quickpath outbound link 1 Non-Coherent Bypass virtual
823 channel is stalled due to lack of VNA and VN0 credits.
824 Note that this event does not filter out when a flit would not have been selected
825 for arbitration because another virtual channel is getting arbitrated.
826 .It Li QPI_TX_STALLED_MULTI_FLIT.NCS.LINK_1
827 .Pq Event 41H , Umask 20H
828 Counts cycles the Quickpath outbound link 1 Non-Coherent Standard virtual
829 channel is stalled due to lack of VNA and VN0 credits.
830 Note that this event does not filter out when a flit would not have been selected
831 for arbitration because another virtual channel is getting arbitrated.
832 .It Li QPI_TX_STALLED_MULTI_FLIT.LINK_0
833 .Pq Event 41H , Umask 07H
834 Counts cycles the Quickpath outbound link 0 virtual channels are stalled due
835 to lack of VNA and VN0 credits.
836 Note that this event does not filter out when a flit would not have been selected
837 for arbitration because another virtual channel is getting arbitrated.
838 .It Li QPI_TX_STALLED_MULTI_FLIT.LINK_1
839 .Pq Event 41H , Umask 38H
840 Counts cycles the Quickpath outbound link 1 virtual channels are stalled due
841 to lack of VNA and VN0 credits.
842 Note that this event does not filter out when a flit would not have been selected
843 for arbitration because another virtual channel is getting arbitrated.
844 .It Li QPI_TX_HEADER.FULL.LINK_0
845 .Pq Event 42H , Umask 01H
846 Number of cycles that the header buffer in the Quickpath Interface outbound
847 link 0 is full.
848 .It Li QPI_TX_HEADER.BUSY.LINK_0
849 .Pq Event 42H , Umask 02H
850 Number of cycles that the header buffer in the Quickpath Interface outbound
851 link 0 is busy.
852 .It Li QPI_TX_HEADER.FULL.LINK_1
853 .Pq Event 42H , Umask 04H
854 Number of cycles that the header buffer in the Quickpath Interface outbound
855 link 1 is full.
856 .It Li QPI_TX_HEADER.BUSY.LINK_1
857 .Pq Event 42H , Umask 08H
858 Number of cycles that the header buffer in the Quickpath Interface outbound
859 link 1 is busy.
860 .It Li QPI_RX_NO_PPT_CREDIT.STALLS.LINK_0
861 .Pq Event 43H , Umask 01H
862 Number of cycles that snoop packets incoming to the Quickpath Interface link
863 0 are stalled and not sent to the GQ because the GQ Peer Probe Tracker (PPT)
864 does not have any available entries.
865 .It Li QPI_RX_NO_PPT_CREDIT.STALLS.LINK_1
866 .Pq Event 43H , Umask 02H
867 Number of cycles that snoop packets incoming to the Quickpath Interface link
868 1 are stalled and not sent to the GQ because the GQ Peer Probe Tracker (PPT)
869 does not have any available entries.
870 .It Li DRAM_OPEN.CH0
871 .Pq Event 60H , Umask 01H
872 Counts number of DRAM Channel 0 open commands issued either for read or write.
873 To read or write data, the referenced DRAM page must first be opened.
874 .It Li DRAM_OPEN.CH1
875 .Pq Event 60H , Umask 02H
876 Counts number of DRAM Channel 1 open commands issued either for read or write.
877 To read or write data, the referenced DRAM page must first be opened.
878 .It Li DRAM_OPEN.CH2
879 .Pq Event 60H , Umask 04H
880 Counts number of DRAM Channel 2 open commands issued either for read or write.
881 To read or write data, the referenced DRAM page must first be opened.
882 .It Li DRAM_PAGE_CLOSE.CH0
883 .Pq Event 61H , Umask 01H
884 DRAM channel 0 command issued to CLOSE a page due to page idle timer expiration.
885 Closing a page is done by issuing a precharge.
886 .It Li DRAM_PAGE_CLOSE.CH1
887 .Pq Event 61H , Umask 02H
888 DRAM channel 1 command issued to CLOSE a page due to page idle timer expiration.
889 Closing a page is done by issuing a precharge.
890 .It Li DRAM_PAGE_CLOSE.CH2
891 .Pq Event 61H , Umask 04H
892 DRAM channel 2 command issued to CLOSE a page due to page idle timer expiration.
893 Closing a page is done by issuing a precharge.
894 .It Li DRAM_PAGE_MISS.CH0
895 .Pq Event 62H , Umask 01H
896 Counts the number of precharges (PRE) that were issued to DRAM channel 0
897 because there was a page miss.
898 A page miss refers to a situation in which a page is currently open and another
899 page from the same bank needs to be opened.
900 The new page experiences a page miss.
901 Closing of the old page is done by issuing a precharge.
902 .It Li DRAM_PAGE_MISS.CH1
903 .Pq Event 62H , Umask 02H
904 Counts the number of precharges (PRE) that were issued to DRAM channel 1
905 because there was a page miss.
906 A page miss refers to a situation in which a page is currently open and another
907 page from the same bank needs to be opened.
908 The new page experiences a page miss.
909 Closing of the old page is done by issuing a precharge.
910 .It Li DRAM_PAGE_MISS.CH2
911 .Pq Event 62H , Umask 04H
912 Counts the number of precharges (PRE) that were issued to DRAM channel 2
913 because there was a page miss.
914 A page miss refers to a situation in which a page is currently open and another
915 page from the same bank needs to be opened.
916 The new page experiences a page miss.
917 Closing of the old page is done by issuing a precharge.
918 .It Li DRAM_READ_CAS.CH0
919 .Pq Event 63H , Umask 01H
920 Counts the number of times a read CAS command was issued on DRAM channel 0.
921 .It Li DRAM_READ_CAS.AUTOPRE_CH0
922 .Pq Event 63H , Umask 02H
923 Counts the number of times a read CAS command was issued on DRAM channel 0
924 where the command issued used the auto-precharge (auto page close) mode.
925 .It Li DRAM_READ_CAS.CH1
926 .Pq Event 63H , Umask 04H
927 Counts the number of times a read CAS command was issued on DRAM channel 1.
928 .It Li DRAM_READ_CAS.AUTOPRE_CH1
929 .Pq Event 63H , Umask 08H
930 Counts the number of times a read CAS command was issued on DRAM channel 1
931 where the command issued used the auto-precharge (auto page close) mode.
932 .It Li DRAM_READ_CAS.CH2
933 .Pq Event 63H , Umask 10H
934 Counts the number of times a read CAS command was issued on DRAM channel 2.
935 .It Li DRAM_READ_CAS.AUTOPRE_CH2
936 .Pq Event 63H , Umask 20H
937 Counts the number of times a read CAS command was issued on DRAM channel 2
938 where the command issued used the auto-precharge (auto page close) mode.
939 .It Li DRAM_WRITE_CAS.CH0
940 .Pq Event 64H , Umask 01H
941 Counts the number of times a write CAS command was issued on DRAM channel 0.
942 .It Li DRAM_WRITE_CAS.AUTOPRE_CH0
943 .Pq Event 64H , Umask 02H
944 Counts the number of times a write CAS command was issued on DRAM channel 0
945 where the command issued used the auto-precharge (auto page close) mode.
946 .It Li DRAM_WRITE_CAS.CH1
947 .Pq Event 64H , Umask 04H
948 Counts the number of times a write CAS command was issued on DRAM channel 1.
949 .It Li DRAM_WRITE_CAS.AUTOPRE_CH1
950 .Pq Event 64H , Umask 08H
951 Counts the number of times a write CAS command was issued on DRAM channel 1
952 where the command issued used the auto-precharge (auto page close) mode.
953 .It Li DRAM_WRITE_CAS.CH2
954 .Pq Event 64H , Umask 10H
955 Counts the number of times a write CAS command was issued on DRAM channel 2.
956 .It Li DRAM_WRITE_CAS.AUTOPRE_CH2
957 .Pq Event 64H , Umask 20H
958 Counts the number of times a write CAS command was issued on DRAM channel 2
959 where the command issued used the auto-precharge (auto page close) mode.
960 .It Li DRAM_REFRESH.CH0
961 .Pq Event 65H , Umask 01H
962 Counts number of DRAM channel 0 refresh commands.
963 DRAM loses data content over time.
964 In order to keep correct data content, the data values have to be
965 refreshed periodically.
966 .It Li DRAM_REFRESH.CH1
967 .Pq Event 65H , Umask 02H
968 Counts number of DRAM channel 1 refresh commands.
969 DRAM loses data content over time.
970 In order to keep correct data content, the data values have to be refreshed periodically.
971 .It Li DRAM_REFRESH.CH2
972 .Pq Event 65H , Umask 04H
973 Counts number of DRAM channel 2 refresh commands.
974 DRAM loses data content over time.
975 In order to keep correct data content, the data values have to be refreshed periodically.
976 .It Li DRAM_PRE_ALL.CH0
977 .Pq Event 66H , Umask 01H
978 Counts number of DRAM Channel 0 precharge-all (PREALL) commands that close
979 all open pages in a rank.
980 PREALL is issued when the DRAM needs to be refreshed or needs to go into a power down mode.
981 .It Li DRAM_PRE_ALL.CH1
982 .Pq Event 66H , Umask 02H
983 Counts number of DRAM Channel 1 precharge-all (PREALL) commands that close
984 all open pages in a rank.
985 PREALL is issued when the DRAM needs to be refreshed or needs to go into a power down mode.
986 .It Li DRAM_PRE_ALL.CH2
987 .Pq Event 66H , Umask 04H
988 Counts number of DRAM Channel 2 precharge-all (PREALL) commands that close
989 all open pages in a rank.
990 PREALL is issued when the DRAM needs to be refreshed or needs to go into a power down mode.
991 .It Li DRAM_THERMAL_THROTTLED
992 .Pq Event 67H , Umask 01H
993 Uncore cycles DRAM was throttled due to its temperature being above the
994 thermal throttling threshold.
995 .It Li THERMAL_THROTTLING_TEMP.CORE_0
996 .Pq Event 80H , Umask 01H
997 Cycles that the PCU records that core 0 is above the thermal throttling
998 threshold temperature.
999 .It Li THERMAL_THROTTLING_TEMP.CORE_1
1000 .Pq Event 80H , Umask 02H
1001 Cycles that the PCU records that core 1 is above the thermal throttling
1002 threshold temperature.
1003 .It Li THERMAL_THROTTLING_TEMP.CORE_2
1004 .Pq Event 80H , Umask 04H
1005 Cycles that the PCU records that core 2 is above the thermal throttling
1006 threshold temperature.
1007 .It Li THERMAL_THROTTLING_TEMP.CORE_3
1008 .Pq Event 80H , Umask 08H
1009 Cycles that the PCU records that core 3 is above the thermal throttling
1010 threshold temperature.
1011 .It Li THERMAL_THROTTLED_TEMP.CORE_0
1012 .Pq Event 81H , Umask 01H
1013 Cycles that the PCU records that core 0 is in the power throttled state due
1014 to cores temperature being above the thermal throttling threshold.
1015 .It Li THERMAL_THROTTLED_TEMP.CORE_1
1016 .Pq Event 81H , Umask 02H
1017 Cycles that the PCU records that core 1 is in the power throttled state due
1018 to cores temperature being above the thermal throttling threshold.
1019 .It Li THERMAL_THROTTLED_TEMP.CORE_2
1020 .Pq Event 81H , Umask 04H
1021 Cycles that the PCU records that core 2 is in the power throttled state due
1022 to cores temperature being above the thermal throttling threshold.
1023 .It Li THERMAL_THROTTLED_TEMP.CORE_3
1024 .Pq Event 81H , Umask 08H
1025 Cycles that the PCU records that core 3 is in the power throttled state due
1026 to cores temperature being above the thermal throttling threshold.
1027 .It Li PROCHOT_ASSERTION
1028 .Pq Event 82H , Umask 01H
1029 Number of system assertions of PROCHOT indicating the entire processor has
1030 exceeded the thermal limit.
1031 .It Li THERMAL_THROTTLING_PROCHOT.CORE_0
1032 .Pq Event 83H , Umask 01H
1033 Cycles that the PCU records that core 0 is a low power state due to the
1034 system asserting PROCHOT the entire processor has exceeded the thermal
1035 limit.
1036 .It Li THERMAL_THROTTLING_PROCHOT.CORE_1
1037 .Pq Event 83H , Umask 02H
1038 Cycles that the PCU records that core 1 is a low power state due to the
1039 system asserting PROCHOT the entire processor has exceeded the thermal
1040 limit.
1041 .It Li THERMAL_THROTTLING_PROCHOT.CORE_2
1042 .Pq Event 83H , Umask 04H
1043 Cycles that the PCU records that core 2 is a low power state due to the
1044 system asserting PROCHOT the entire processor has exceeded the thermal
1045 limit.
1046 .It Li THERMAL_THROTTLING_PROCHOT.CORE_3
1047 .Pq Event 83H , Umask 08H
1048 Cycles that the PCU records that core 3 is a low power state due to the
1049 system asserting PROCHOT the entire processor has exceeded the thermal
1050 limit.
1051 .It Li TURBO_MODE.CORE_0
1052 .Pq Event 84H , Umask 01H
1053 Uncore cycles that core 0 is operating in turbo mode.
1054 .It Li TURBO_MODE.CORE_1
1055 .Pq Event 84H , Umask 02H
1056 Uncore cycles that core 1 is operating in turbo mode.
1057 .It Li TURBO_MODE.CORE_2
1058 .Pq Event 84H , Umask 04H
1059 Uncore cycles that core 2 is operating in turbo mode.
1060 .It Li TURBO_MODE.CORE_3
1061 .Pq Event 84H , Umask 08H
1062 Uncore cycles that core 3 is operating in turbo mode.
1063 .It Li CYCLES_UNHALTED_L3_FLL_ENABLE
1064 .Pq Event 85H , Umask 02H
1065 Uncore cycles that at least one core is unhalted and all L3 ways are
1066 enabled.
1067 .It Li CYCLES_UNHALTED_L3_FLL_DISABLE
1068 .Pq Event 86H , Umask 01H
1069 Uncore cycles that at least one core is unhalted and all L3 ways are
1070 disabled.
1071 .El
1072 .Sh SEE ALSO
1073 .Xr pmc 3 ,
1074 .Xr pmc.atom 3 ,
1075 .Xr pmc.core 3 ,
1076 .Xr pmc.corei7 3 ,
1077 .Xr pmc.corei7uc 3 ,
1078 .Xr pmc.iaf 3 ,
1079 .Xr pmc.k7 3 ,
1080 .Xr pmc.k8 3 ,
1081 .Xr pmc.soft 3 ,
1082 .Xr pmc.tsc 3 ,
1083 .Xr pmc.ucf 3 ,
1084 .Xr pmc.westmere 3 ,
1085 .Xr pmc_cpuinfo 3 ,
1086 .Xr pmclog 3 ,
1087 .Xr hwpmc 4
1088 .Sh HISTORY
1089 The
1090 .Nm pmc
1091 library first appeared in
1092 .Fx 6.0 .
1093 .Sh AUTHORS
1094 The
1095 .Lb libpmc
1096 library was written by
1097 .An Joseph Koshy Aq Mt jkoshy@FreeBSD.org .