1[ 2 { 3 "BriefDescription": "DRAM Activate Count", 4 "EventCode": "0x1", 5 "EventName": "UNC_M_ACT_COUNT", 6 "PerPkg": "1", 7 "PublicDescription": "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.", 8 "Unit": "iMC" 9 }, 10 { 11 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; All DRAM WR_CAS (w/ and w/out auto-pre)", 12 "EventCode": "0x4", 13 "EventName": "UNC_M_CAS_COUNT.ALL", 14 "PerPkg": "1", 15 "UMask": "0xf", 16 "Unit": "iMC" 17 }, 18 { 19 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; All DRAM Reads (RD_CAS + Underfills)", 20 "EventCode": "0x4", 21 "EventName": "UNC_M_CAS_COUNT.RD", 22 "PerPkg": "1", 23 "UMask": "0x3", 24 "Unit": "iMC" 25 }, 26 { 27 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; All DRAM RD_CAS (w/ and w/out auto-pre)", 28 "EventCode": "0x4", 29 "EventName": "UNC_M_CAS_COUNT.RD_REG", 30 "PerPkg": "1", 31 "UMask": "0x1", 32 "Unit": "iMC" 33 }, 34 { 35 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; Underfill Read Issued", 36 "EventCode": "0x4", 37 "EventName": "UNC_M_CAS_COUNT.RD_UNDERFILL", 38 "PerPkg": "1", 39 "UMask": "0x2", 40 "Unit": "iMC" 41 }, 42 { 43 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; All DRAM WR_CAS (both Modes)", 44 "EventCode": "0x4", 45 "EventName": "UNC_M_CAS_COUNT.WR", 46 "PerPkg": "1", 47 "UMask": "0xc", 48 "Unit": "iMC" 49 }, 50 { 51 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Read Major Mode", 52 "EventCode": "0x4", 53 "EventName": "UNC_M_CAS_COUNT.WR_RMM", 54 "PerPkg": "1", 55 "UMask": "0x8", 56 "Unit": "iMC" 57 }, 58 { 59 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Write Major Mode", 60 "EventCode": "0x4", 61 "EventName": "UNC_M_CAS_COUNT.WR_WMM", 62 "PerPkg": "1", 63 "UMask": "0x4", 64 "Unit": "iMC" 65 }, 66 { 67 "BriefDescription": "uclks", 68 "EventName": "UNC_M_CLOCKTICKS", 69 "PerPkg": "1", 70 "PublicDescription": "Uncore Fixed Counter - uclks", 71 "Unit": "iMC" 72 }, 73 { 74 "BriefDescription": "DRAM Precharge All Commands", 75 "EventCode": "0x6", 76 "EventName": "UNC_M_DRAM_PRE_ALL", 77 "PerPkg": "1", 78 "PublicDescription": "Counts the number of times that the precharge all command was sent.", 79 "Unit": "iMC" 80 }, 81 { 82 "BriefDescription": "Number of DRAM Refreshes Issued", 83 "EventCode": "0x5", 84 "EventName": "UNC_M_DRAM_REFRESH.HIGH", 85 "PerPkg": "1", 86 "PublicDescription": "Counts the number of refreshes issued.", 87 "UMask": "0x4", 88 "Unit": "iMC" 89 }, 90 { 91 "BriefDescription": "Number of DRAM Refreshes Issued", 92 "EventCode": "0x5", 93 "EventName": "UNC_M_DRAM_REFRESH.PANIC", 94 "PerPkg": "1", 95 "PublicDescription": "Counts the number of refreshes issued.", 96 "UMask": "0x2", 97 "Unit": "iMC" 98 }, 99 { 100 "BriefDescription": "ECC Correctable Errors", 101 "EventCode": "0x9", 102 "EventName": "UNC_M_ECC_CORRECTABLE_ERRORS", 103 "PerPkg": "1", 104 "PublicDescription": "Counts the number of ECC errors detected and corrected by the iMC on this channel. This counter is only useful with ECC DRAM devices. This count will increment one time for each correction regardless of the number of bits corrected. The iMC can correct up to 4 bit errors in independent channel mode and 8 bit errors in lockstep mode.", 105 "Unit": "iMC" 106 }, 107 { 108 "BriefDescription": "Cycles in a Major Mode; Isoch Major Mode", 109 "EventCode": "0x7", 110 "EventName": "UNC_M_MAJOR_MODES.ISOCH", 111 "PerPkg": "1", 112 "PublicDescription": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.", 113 "UMask": "0x8", 114 "Unit": "iMC" 115 }, 116 { 117 "BriefDescription": "Cycles in a Major Mode; Partial Major Mode", 118 "EventCode": "0x7", 119 "EventName": "UNC_M_MAJOR_MODES.PARTIAL", 120 "PerPkg": "1", 121 "PublicDescription": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.", 122 "UMask": "0x4", 123 "Unit": "iMC" 124 }, 125 { 126 "BriefDescription": "Cycles in a Major Mode; Read Major Mode", 127 "EventCode": "0x7", 128 "EventName": "UNC_M_MAJOR_MODES.READ", 129 "PerPkg": "1", 130 "PublicDescription": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.", 131 "UMask": "0x1", 132 "Unit": "iMC" 133 }, 134 { 135 "BriefDescription": "Cycles in a Major Mode; Write Major Mode", 136 "EventCode": "0x7", 137 "EventName": "UNC_M_MAJOR_MODES.WRITE", 138 "PerPkg": "1", 139 "PublicDescription": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.", 140 "UMask": "0x2", 141 "Unit": "iMC" 142 }, 143 { 144 "BriefDescription": "Channel DLLOFF Cycles", 145 "EventCode": "0x84", 146 "EventName": "UNC_M_POWER_CHANNEL_DLLOFF", 147 "PerPkg": "1", 148 "PublicDescription": "Number of cycles when all the ranks in the channel are in CKE Slow (DLLOFF) mode.", 149 "Unit": "iMC" 150 }, 151 { 152 "BriefDescription": "Channel PPD Cycles", 153 "EventCode": "0x85", 154 "EventName": "UNC_M_POWER_CHANNEL_PPD", 155 "PerPkg": "1", 156 "PublicDescription": "Number of cycles when all the ranks in the channel are in PPD mode. If IBT=off is enabled, then this can be used to count those cycles. If it is not enabled, then this can count the number of cycles when that could have been taken advantage of.", 157 "Unit": "iMC" 158 }, 159 { 160 "BriefDescription": "CKE_ON_CYCLES by Rank; DIMM ID", 161 "EventCode": "0x83", 162 "EventName": "UNC_M_POWER_CKE_CYCLES.RANK0", 163 "PerPkg": "1", 164 "PublicDescription": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).", 165 "UMask": "0x1", 166 "Unit": "iMC" 167 }, 168 { 169 "BriefDescription": "CKE_ON_CYCLES by Rank; DIMM ID", 170 "EventCode": "0x83", 171 "EventName": "UNC_M_POWER_CKE_CYCLES.RANK1", 172 "PerPkg": "1", 173 "PublicDescription": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).", 174 "UMask": "0x2", 175 "Unit": "iMC" 176 }, 177 { 178 "BriefDescription": "CKE_ON_CYCLES by Rank; DIMM ID", 179 "EventCode": "0x83", 180 "EventName": "UNC_M_POWER_CKE_CYCLES.RANK2", 181 "PerPkg": "1", 182 "PublicDescription": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).", 183 "UMask": "0x4", 184 "Unit": "iMC" 185 }, 186 { 187 "BriefDescription": "CKE_ON_CYCLES by Rank; DIMM ID", 188 "EventCode": "0x83", 189 "EventName": "UNC_M_POWER_CKE_CYCLES.RANK3", 190 "PerPkg": "1", 191 "PublicDescription": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).", 192 "UMask": "0x8", 193 "Unit": "iMC" 194 }, 195 { 196 "BriefDescription": "CKE_ON_CYCLES by Rank; DIMM ID", 197 "EventCode": "0x83", 198 "EventName": "UNC_M_POWER_CKE_CYCLES.RANK4", 199 "PerPkg": "1", 200 "PublicDescription": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).", 201 "UMask": "0x10", 202 "Unit": "iMC" 203 }, 204 { 205 "BriefDescription": "CKE_ON_CYCLES by Rank; DIMM ID", 206 "EventCode": "0x83", 207 "EventName": "UNC_M_POWER_CKE_CYCLES.RANK5", 208 "PerPkg": "1", 209 "PublicDescription": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).", 210 "UMask": "0x20", 211 "Unit": "iMC" 212 }, 213 { 214 "BriefDescription": "CKE_ON_CYCLES by Rank; DIMM ID", 215 "EventCode": "0x83", 216 "EventName": "UNC_M_POWER_CKE_CYCLES.RANK6", 217 "PerPkg": "1", 218 "PublicDescription": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).", 219 "UMask": "0x40", 220 "Unit": "iMC" 221 }, 222 { 223 "BriefDescription": "CKE_ON_CYCLES by Rank; DIMM ID", 224 "EventCode": "0x83", 225 "EventName": "UNC_M_POWER_CKE_CYCLES.RANK7", 226 "PerPkg": "1", 227 "PublicDescription": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).", 228 "UMask": "0x80", 229 "Unit": "iMC" 230 }, 231 { 232 "BriefDescription": "Critical Throttle Cycles", 233 "EventCode": "0x86", 234 "EventName": "UNC_M_POWER_CRITICAL_THROTTLE_CYCLES", 235 "PerPkg": "1", 236 "PublicDescription": "Counts the number of cycles when the iMC is in critical thermal throttling. When this happens, all traffic is blocked. This should be rare unless something bad is going on in the platform. There is no filtering by rank for this event.", 237 "Unit": "iMC" 238 }, 239 { 240 "BriefDescription": "Clock-Enabled Self-Refresh", 241 "EventCode": "0x43", 242 "EventName": "UNC_M_POWER_SELF_REFRESH", 243 "PerPkg": "1", 244 "PublicDescription": "Counts the number of cycles when the iMC is in self-refresh and the iMC still has a clock. This happens in some package C-states. For example, the PCU may ask the iMC to enter self-refresh even though some of the cores are still processing. One use of this is for Monroe technology. Self-refresh is required during package C3 and C6, but there is no clock in the iMC at this time, so it is not possible to count these cases.", 245 "Unit": "iMC" 246 }, 247 { 248 "BriefDescription": "Throttle Cycles for Rank 0; DIMM ID", 249 "EventCode": "0x41", 250 "EventName": "UNC_M_POWER_THROTTLE_CYCLES.RANK0", 251 "PerPkg": "1", 252 "PublicDescription": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.", 253 "UMask": "0x1", 254 "Unit": "iMC" 255 }, 256 { 257 "BriefDescription": "Throttle Cycles for Rank 0; DIMM ID", 258 "EventCode": "0x41", 259 "EventName": "UNC_M_POWER_THROTTLE_CYCLES.RANK1", 260 "PerPkg": "1", 261 "PublicDescription": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.", 262 "UMask": "0x2", 263 "Unit": "iMC" 264 }, 265 { 266 "BriefDescription": "Throttle Cycles for Rank 0; DIMM ID", 267 "EventCode": "0x41", 268 "EventName": "UNC_M_POWER_THROTTLE_CYCLES.RANK2", 269 "PerPkg": "1", 270 "PublicDescription": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.", 271 "UMask": "0x4", 272 "Unit": "iMC" 273 }, 274 { 275 "BriefDescription": "Throttle Cycles for Rank 0; DIMM ID", 276 "EventCode": "0x41", 277 "EventName": "UNC_M_POWER_THROTTLE_CYCLES.RANK3", 278 "PerPkg": "1", 279 "PublicDescription": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.", 280 "UMask": "0x8", 281 "Unit": "iMC" 282 }, 283 { 284 "BriefDescription": "Throttle Cycles for Rank 0; DIMM ID", 285 "EventCode": "0x41", 286 "EventName": "UNC_M_POWER_THROTTLE_CYCLES.RANK4", 287 "PerPkg": "1", 288 "PublicDescription": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.", 289 "UMask": "0x10", 290 "Unit": "iMC" 291 }, 292 { 293 "BriefDescription": "Throttle Cycles for Rank 0; DIMM ID", 294 "EventCode": "0x41", 295 "EventName": "UNC_M_POWER_THROTTLE_CYCLES.RANK5", 296 "PerPkg": "1", 297 "PublicDescription": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.", 298 "UMask": "0x20", 299 "Unit": "iMC" 300 }, 301 { 302 "BriefDescription": "Throttle Cycles for Rank 0; DIMM ID", 303 "EventCode": "0x41", 304 "EventName": "UNC_M_POWER_THROTTLE_CYCLES.RANK6", 305 "PerPkg": "1", 306 "PublicDescription": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.", 307 "UMask": "0x40", 308 "Unit": "iMC" 309 }, 310 { 311 "BriefDescription": "Throttle Cycles for Rank 0; DIMM ID", 312 "EventCode": "0x41", 313 "EventName": "UNC_M_POWER_THROTTLE_CYCLES.RANK7", 314 "PerPkg": "1", 315 "PublicDescription": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.", 316 "UMask": "0x80", 317 "Unit": "iMC" 318 }, 319 { 320 "BriefDescription": "Read Preemption Count; Read over Read Preemption", 321 "EventCode": "0x8", 322 "EventName": "UNC_M_PREEMPTION.RD_PREEMPT_RD", 323 "PerPkg": "1", 324 "PublicDescription": "Counts the number of times a read in the iMC preempts another read or write. Generally reads to an open page are issued ahead of requests to closed pages. This improves the page hit rate of the system. However, high priority requests can cause pages of active requests to be closed in order to get them out. This will reduce the latency of the high-priority request at the expense of lower bandwidth and increased overall average latency.", 325 "UMask": "0x1", 326 "Unit": "iMC" 327 }, 328 { 329 "BriefDescription": "Read Preemption Count; Read over Write Preemption", 330 "EventCode": "0x8", 331 "EventName": "UNC_M_PREEMPTION.RD_PREEMPT_WR", 332 "PerPkg": "1", 333 "PublicDescription": "Counts the number of times a read in the iMC preempts another read or write. Generally reads to an open page are issued ahead of requests to closed pages. This improves the page hit rate of the system. However, high priority requests can cause pages of active requests to be closed in order to get them out. This will reduce the latency of the high-priority request at the expense of lower bandwidth and increased overall average latency.", 334 "UMask": "0x2", 335 "Unit": "iMC" 336 }, 337 { 338 "BriefDescription": "DRAM Precharge commands.; Precharge due to timer expiration", 339 "EventCode": "0x2", 340 "EventName": "UNC_M_PRE_COUNT.PAGE_CLOSE", 341 "PerPkg": "1", 342 "PublicDescription": "Counts the number of DRAM Precharge commands sent on this channel.", 343 "UMask": "0x2", 344 "Unit": "iMC" 345 }, 346 { 347 "BriefDescription": "DRAM Precharge commands.; Precharges due to page miss", 348 "EventCode": "0x2", 349 "EventName": "UNC_M_PRE_COUNT.PAGE_MISS", 350 "PerPkg": "1", 351 "PublicDescription": "Counts the number of DRAM Precharge commands sent on this channel.", 352 "UMask": "0x1", 353 "Unit": "iMC" 354 }, 355 { 356 "BriefDescription": "Read Pending Queue Full Cycles", 357 "EventCode": "0x12", 358 "EventName": "UNC_M_RPQ_CYCLES_FULL", 359 "PerPkg": "1", 360 "PublicDescription": "Counts the number of cycles when the Read Pending Queue is full. When the RPQ is full, the HA will not be able to issue any additional read requests into the iMC. This count should be similar count in the HA which tracks the number of cycles that the HA has no RPQ credits, just somewhat smaller to account for the credit return overhead. We generally do not expect to see RPQ become full except for potentially during Write Major Mode or while running with slow DRAM. This event only tracks non-ISOC queue entries.", 361 "Unit": "iMC" 362 }, 363 { 364 "BriefDescription": "Read Pending Queue Not Empty", 365 "EventCode": "0x11", 366 "EventName": "UNC_M_RPQ_CYCLES_NE", 367 "PerPkg": "1", 368 "PublicDescription": "Counts the number of cycles that the Read Pending Queue is not empty. This can then be used to calculate the average occupancy (in conjunction with the Read Pending Queue Occupancy count). 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. This filter is to be used in conjunction with the occupancy filter so that one can correctly track the average occupancies for schedulable entries and scheduled requests.", 369 "Unit": "iMC" 370 }, 371 { 372 "BriefDescription": "Read Pending Queue Allocations", 373 "EventCode": "0x10", 374 "EventName": "UNC_M_RPQ_INSERTS", 375 "PerPkg": "1", 376 "PublicDescription": "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.", 377 "Unit": "iMC" 378 }, 379 { 380 "BriefDescription": "Read Pending Queue Occupancy", 381 "EventCode": "0x80", 382 "EventName": "UNC_M_RPQ_OCCUPANCY", 383 "PerPkg": "1", 384 "PublicDescription": "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.", 385 "Unit": "iMC" 386 }, 387 { 388 "BriefDescription": "Write Pending Queue Full Cycles", 389 "EventCode": "0x22", 390 "EventName": "UNC_M_WPQ_CYCLES_FULL", 391 "PerPkg": "1", 392 "PublicDescription": "Counts the number of cycles when the Write Pending Queue is full. When the WPQ is full, the HA will not be able to issue any additional read requests into the iMC. This count should be similar count in the HA which tracks the number of cycles that the HA has no WPQ credits, just somewhat smaller to account for the credit return overhead.", 393 "Unit": "iMC" 394 }, 395 { 396 "BriefDescription": "Write Pending Queue Not Empty", 397 "EventCode": "0x21", 398 "EventName": "UNC_M_WPQ_CYCLES_NE", 399 "PerPkg": "1", 400 "PublicDescription": "Counts the number of cycles that the Write Pending Queue is not empty. This can then be used to calculate the average queue occupancy (in conjunction with the WPQ Occupancy Accumulation 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 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.", 401 "Unit": "iMC" 402 }, 403 { 404 "BriefDescription": "Write Pending Queue Allocations", 405 "EventCode": "0x20", 406 "EventName": "UNC_M_WPQ_INSERTS", 407 "PerPkg": "1", 408 "PublicDescription": "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 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.", 409 "Unit": "iMC" 410 }, 411 { 412 "BriefDescription": "Write Pending Queue Occupancy", 413 "EventCode": "0x81", 414 "EventName": "UNC_M_WPQ_OCCUPANCY", 415 "PerPkg": "1", 416 "PublicDescription": "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 happening in the iMC for writes before they are actually issued to memory. High average occupancies will generally coincide with high write major mode counts.", 417 "Unit": "iMC" 418 }, 419 { 420 "BriefDescription": "Write Pending Queue CAM Match", 421 "EventCode": "0x23", 422 "EventName": "UNC_M_WPQ_READ_HIT", 423 "PerPkg": "1", 424 "PublicDescription": "Counts the number of times a request hits in the WPQ (write-pending queue). The iMC allows writes and reads to pass up other writes to different addresses. Before a read or a write is issued, it will first CAM the WPQ to see if there is a write pending to that address. When reads hit, they are able to directly pull their data from the WPQ instead of going to memory. Writes that hit will overwrite the existing data. Partial writes that hit will not need to do underfill reads and will simply update their relevant sections.", 425 "Unit": "iMC" 426 }, 427 { 428 "BriefDescription": "Write Pending Queue CAM Match", 429 "EventCode": "0x24", 430 "EventName": "UNC_M_WPQ_WRITE_HIT", 431 "PerPkg": "1", 432 "PublicDescription": "Counts the number of times a request hits in the WPQ (write-pending queue). The iMC allows writes and reads to pass up other writes to different addresses. Before a read or a write is issued, it will first CAM the WPQ to see if there is a write pending to that address. When reads hit, they are able to directly pull their data from the WPQ instead of going to memory. Writes that hit will overwrite the existing data. Partial writes that hit will not need to do underfill reads and will simply update their relevant sections.", 433 "Unit": "iMC" 434 } 435] 436