1[ 2 { 3 "BriefDescription": "read requests to memory controller. Derived from unc_m_cas_count.rd", 4 "EventCode": "0x04", 5 "EventName": "LLC_MISSES.MEM_READ", 6 "PerPkg": "1", 7 "PublicDescription": "Counts the total number of DRAM Read CAS commands, w/ and w/o auto-pre, issued on this channel. This includes underfills.", 8 "ScaleUnit": "64Bytes", 9 "UMask": "0xf", 10 "Unit": "iMC" 11 }, 12 { 13 "BriefDescription": "write requests to memory controller. Derived from unc_m_cas_count.wr", 14 "EventCode": "0x04", 15 "EventName": "LLC_MISSES.MEM_WRITE", 16 "PerPkg": "1", 17 "PublicDescription": "Counts the total number of DRAM Write CAS commands issued, w/ and w/o auto-pre, on this channel.", 18 "ScaleUnit": "64Bytes", 19 "UMask": "0x30", 20 "Unit": "iMC" 21 }, 22 { 23 "BriefDescription": "DRAM Activate Count : All Activates", 24 "EventCode": "0x01", 25 "EventName": "UNC_M_ACT_COUNT.ALL", 26 "PerPkg": "1", 27 "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.", 28 "UMask": "0xb", 29 "Unit": "iMC" 30 }, 31 { 32 "BriefDescription": "DRAM Activate Count : Activate due to Bypass", 33 "EventCode": "0x01", 34 "EventName": "UNC_M_ACT_COUNT.BYP", 35 "PerPkg": "1", 36 "PublicDescription": "DRAM Activate Count : Activate due to Bypass : 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.", 37 "UMask": "0x8", 38 "Unit": "iMC" 39 }, 40 { 41 "BriefDescription": "All DRAM CAS commands issued", 42 "EventCode": "0x04", 43 "EventName": "UNC_M_CAS_COUNT.ALL", 44 "PerPkg": "1", 45 "PublicDescription": "Counts the total number of DRAM CAS commands issued on this channel.", 46 "UMask": "0x3f", 47 "Unit": "iMC" 48 }, 49 { 50 "BriefDescription": "All DRAM read CAS commands issued (including underfills)", 51 "EventCode": "0x04", 52 "EventName": "UNC_M_CAS_COUNT.RD", 53 "PerPkg": "1", 54 "PublicDescription": "Counts the total number of DRAM Read CAS commands, w/ and w/o auto-pre, issued on this channel. This includes underfills.", 55 "UMask": "0xf", 56 "Unit": "iMC" 57 }, 58 { 59 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM RD_CAS commands w/auto-pre", 60 "EventCode": "0x04", 61 "EventName": "UNC_M_CAS_COUNT.RD_PRE_REG", 62 "PerPkg": "1", 63 "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM RD_CAS commands w/auto-pre : DRAM RD_CAS and WR_CAS Commands : Counts the total number or DRAM Read CAS commands issued on this channel. This includes both regular RD CAS commands as well as those with explicit Precharge. AutoPre is only used in systems that are using closed page policy. We do not filter based on major mode, as RD_CAS is not issued during WMM (with the exception of underfills).", 64 "UMask": "0x2", 65 "Unit": "iMC" 66 }, 67 { 68 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.", 69 "EventCode": "0x04", 70 "EventName": "UNC_M_CAS_COUNT.RD_PRE_UNDERFILL", 71 "PerPkg": "1", 72 "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM RD_CAS and WR_CAS Commands", 73 "UMask": "0x8", 74 "Unit": "iMC" 75 }, 76 { 77 "BriefDescription": "All DRAM read CAS commands issued (does not include underfills)", 78 "EventCode": "0x04", 79 "EventName": "UNC_M_CAS_COUNT.RD_REG", 80 "PerPkg": "1", 81 "PublicDescription": "Counts the total number of DRAM Read CAS commands issued on this channel. This includes both regular RD CAS commands as well as those with implicit Precharge. We do not filter based on major mode, as RD_CAS is not issued during WMM (with the exception of underfills).", 82 "UMask": "0x1", 83 "Unit": "iMC" 84 }, 85 { 86 "BriefDescription": "DRAM underfill read CAS commands issued", 87 "EventCode": "0x04", 88 "EventName": "UNC_M_CAS_COUNT.RD_UNDERFILL", 89 "PerPkg": "1", 90 "PublicDescription": "Counts the total of DRAM Read CAS commands issued due to an underfill", 91 "UMask": "0x4", 92 "Unit": "iMC" 93 }, 94 { 95 "BriefDescription": "All DRAM write CAS commands issued", 96 "EventCode": "0x04", 97 "EventName": "UNC_M_CAS_COUNT.WR", 98 "PerPkg": "1", 99 "PublicDescription": "Counts the total number of DRAM Write CAS commands issued, w/ and w/o auto-pre, on this channel.", 100 "UMask": "0x30", 101 "Unit": "iMC" 102 }, 103 { 104 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM WR_CAS commands w/o auto-pre", 105 "EventCode": "0x04", 106 "EventName": "UNC_M_CAS_COUNT.WR_NONPRE", 107 "PerPkg": "1", 108 "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM WR_CAS commands w/o auto-pre : DRAM RD_CAS and WR_CAS Commands", 109 "UMask": "0x10", 110 "Unit": "iMC" 111 }, 112 { 113 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM WR_CAS commands w/ auto-pre", 114 "EventCode": "0x04", 115 "EventName": "UNC_M_CAS_COUNT.WR_PRE", 116 "PerPkg": "1", 117 "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM WR_CAS commands w/ auto-pre : DRAM RD_CAS and WR_CAS Commands", 118 "UMask": "0x20", 119 "Unit": "iMC" 120 }, 121 { 122 "BriefDescription": "Memory controller clock ticks", 123 "EventName": "UNC_M_CLOCKTICKS", 124 "PerPkg": "1", 125 "PublicDescription": "Clockticks of the integrated memory controller (IMC)", 126 "Unit": "iMC" 127 }, 128 { 129 "BriefDescription": "Free running counter that increments for the Memory Controller", 130 "EventName": "UNC_M_CLOCKTICKS_FREERUN", 131 "PerPkg": "1", 132 "PublicDescription": "UNC_M_CLOCKTICKS_FREERUN", 133 "Unit": "iMC" 134 }, 135 { 136 "BriefDescription": "DRAM Precharge All Commands", 137 "EventCode": "0x44", 138 "EventName": "UNC_M_DRAM_PRE_ALL", 139 "PerPkg": "1", 140 "PublicDescription": "DRAM Precharge All Commands : Counts the number of times that the precharge all command was sent.", 141 "Unit": "iMC" 142 }, 143 { 144 "BriefDescription": "Number of DRAM Refreshes Issued", 145 "EventCode": "0x45", 146 "EventName": "UNC_M_DRAM_REFRESH.HIGH", 147 "PerPkg": "1", 148 "PublicDescription": "Number of DRAM Refreshes Issued : Counts the number of refreshes issued.", 149 "UMask": "0x4", 150 "Unit": "iMC" 151 }, 152 { 153 "BriefDescription": "Number of DRAM Refreshes Issued", 154 "EventCode": "0x45", 155 "EventName": "UNC_M_DRAM_REFRESH.OPPORTUNISTIC", 156 "PerPkg": "1", 157 "PublicDescription": "Number of DRAM Refreshes Issued : Counts the number of refreshes issued.", 158 "UMask": "0x1", 159 "Unit": "iMC" 160 }, 161 { 162 "BriefDescription": "Number of DRAM Refreshes Issued", 163 "EventCode": "0x45", 164 "EventName": "UNC_M_DRAM_REFRESH.PANIC", 165 "PerPkg": "1", 166 "PublicDescription": "Number of DRAM Refreshes Issued : Counts the number of refreshes issued.", 167 "UMask": "0x2", 168 "Unit": "iMC" 169 }, 170 { 171 "BriefDescription": "Half clockticks for IMC", 172 "EventCode": "0xff", 173 "EventName": "UNC_M_HCLOCKTICKS", 174 "PerPkg": "1", 175 "Unit": "iMC" 176 }, 177 { 178 "BriefDescription": "UNC_M_PARITY_ERRORS", 179 "EventCode": "0x2c", 180 "EventName": "UNC_M_PARITY_ERRORS", 181 "PerPkg": "1", 182 "Unit": "iMC" 183 }, 184 { 185 "BriefDescription": "UNC_M_PCLS.RD", 186 "EventCode": "0xA0", 187 "EventName": "UNC_M_PCLS.RD", 188 "PerPkg": "1", 189 "UMask": "0x1", 190 "Unit": "iMC" 191 }, 192 { 193 "BriefDescription": "UNC_M_PCLS.TOTAL", 194 "EventCode": "0xA0", 195 "EventName": "UNC_M_PCLS.TOTAL", 196 "PerPkg": "1", 197 "UMask": "0x4", 198 "Unit": "iMC" 199 }, 200 { 201 "BriefDescription": "UNC_M_PCLS.WR", 202 "EventCode": "0xA0", 203 "EventName": "UNC_M_PCLS.WR", 204 "PerPkg": "1", 205 "UMask": "0x2", 206 "Unit": "iMC" 207 }, 208 { 209 "BriefDescription": "Cycles where DRAM ranks are in power down (CKE) mode", 210 "EventCode": "0x85", 211 "EventName": "UNC_M_POWER_CHANNEL_PPD", 212 "MetricExpr": "(UNC_M_POWER_CHANNEL_PPD / UNC_M_CLOCKTICKS) * 100", 213 "MetricName": "power_channel_ppd", 214 "PerPkg": "1", 215 "PublicDescription": "Channel PPD Cycles : 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.", 216 "Unit": "iMC" 217 }, 218 { 219 "BriefDescription": "CKE_ON_CYCLES by Rank : DIMM ID", 220 "EventCode": "0x47", 221 "EventName": "UNC_M_POWER_CKE_CYCLES.LOW_0", 222 "PerPkg": "1", 223 "PublicDescription": "CKE_ON_CYCLES by Rank : DIMM ID : 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).", 224 "UMask": "0x1", 225 "Unit": "iMC" 226 }, 227 { 228 "BriefDescription": "CKE_ON_CYCLES by Rank : DIMM ID", 229 "EventCode": "0x47", 230 "EventName": "UNC_M_POWER_CKE_CYCLES.LOW_1", 231 "PerPkg": "1", 232 "PublicDescription": "CKE_ON_CYCLES by Rank : DIMM ID : 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).", 233 "UMask": "0x2", 234 "Unit": "iMC" 235 }, 236 { 237 "BriefDescription": "CKE_ON_CYCLES by Rank : DIMM ID", 238 "EventCode": "0x47", 239 "EventName": "UNC_M_POWER_CKE_CYCLES.LOW_2", 240 "PerPkg": "1", 241 "PublicDescription": "CKE_ON_CYCLES by Rank : DIMM ID : 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).", 242 "UMask": "0x4", 243 "Unit": "iMC" 244 }, 245 { 246 "BriefDescription": "CKE_ON_CYCLES by Rank : DIMM ID", 247 "EventCode": "0x47", 248 "EventName": "UNC_M_POWER_CKE_CYCLES.LOW_3", 249 "PerPkg": "1", 250 "PublicDescription": "CKE_ON_CYCLES by Rank : DIMM ID : 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).", 251 "UMask": "0x8", 252 "Unit": "iMC" 253 }, 254 { 255 "BriefDescription": "Throttle Cycles for Rank 0", 256 "EventCode": "0x86", 257 "EventName": "UNC_M_POWER_CRIT_THROTTLE_CYCLES.SLOT0", 258 "PerPkg": "1", 259 "PublicDescription": "Throttle Cycles for Rank 0 : 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. : Thermal throttling is performed per DIMM. We support 3 DIMMs per channel. This ID allows us to filter by ID.", 260 "UMask": "0x1", 261 "Unit": "iMC" 262 }, 263 { 264 "BriefDescription": "Throttle Cycles for Rank 0", 265 "EventCode": "0x86", 266 "EventName": "UNC_M_POWER_CRIT_THROTTLE_CYCLES.SLOT1", 267 "PerPkg": "1", 268 "PublicDescription": "Throttle Cycles for Rank 0 : 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.", 269 "UMask": "0x2", 270 "Unit": "iMC" 271 }, 272 { 273 "BriefDescription": "Cycles Memory is in self refresh power mode", 274 "EventCode": "0x43", 275 "EventName": "UNC_M_POWER_SELF_REFRESH", 276 "MetricExpr": "(UNC_M_POWER_SELF_REFRESH / UNC_M_CLOCKTICKS) * 100", 277 "MetricName": "power_self_refresh", 278 "PerPkg": "1", 279 "PublicDescription": "Clock-Enabled Self-Refresh : 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.", 280 "Unit": "iMC" 281 }, 282 { 283 "BriefDescription": "Throttle Cycles for Rank 0", 284 "EventCode": "0x46", 285 "EventName": "UNC_M_POWER_THROTTLE_CYCLES.SLOT0", 286 "PerPkg": "1", 287 "PublicDescription": "Throttle Cycles for Rank 0 : 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. : Thermal throttling is performed per DIMM. We support 3 DIMMs per channel. This ID allows us to filter by ID.", 288 "UMask": "0x1", 289 "Unit": "iMC" 290 }, 291 { 292 "BriefDescription": "Throttle Cycles for Rank 0", 293 "EventCode": "0x46", 294 "EventName": "UNC_M_POWER_THROTTLE_CYCLES.SLOT1", 295 "PerPkg": "1", 296 "PublicDescription": "Throttle Cycles for Rank 0 : 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.", 297 "UMask": "0x2", 298 "Unit": "iMC" 299 }, 300 { 301 "BriefDescription": "DRAM Precharge commands.", 302 "EventCode": "0x02", 303 "EventName": "UNC_M_PRE_COUNT.ALL", 304 "PerPkg": "1", 305 "PublicDescription": "DRAM Precharge commands. : Counts the number of DRAM Precharge commands sent on this channel.", 306 "UMask": "0x1c", 307 "Unit": "iMC" 308 }, 309 { 310 "BriefDescription": "Pre-charges due to page misses", 311 "EventCode": "0x02", 312 "EventName": "UNC_M_PRE_COUNT.PAGE_MISS", 313 "PerPkg": "1", 314 "PublicDescription": "DRAM Precharge commands. : Precharge due to page miss : Counts the number of DRAM Precharge commands sent on this channel. : Pages Misses are due to precharges from bank scheduler (rd/wr requests)", 315 "UMask": "0xc", 316 "Unit": "iMC" 317 }, 318 { 319 "BriefDescription": "DRAM Precharge commands. : Precharge due to page table", 320 "EventCode": "0x02", 321 "EventName": "UNC_M_PRE_COUNT.PGT", 322 "PerPkg": "1", 323 "PublicDescription": "DRAM Precharge commands. : Precharge due to page table : Counts the number of DRAM Precharge commands sent on this channel. : Prechages from Page Table", 324 "UMask": "0x10", 325 "Unit": "iMC" 326 }, 327 { 328 "BriefDescription": "Pre-charge for reads", 329 "EventCode": "0x02", 330 "EventName": "UNC_M_PRE_COUNT.RD", 331 "PerPkg": "1", 332 "PublicDescription": "DRAM Precharge commands. : Precharge due to read : Counts the number of DRAM Precharge commands sent on this channel. : Precharge from read bank scheduler", 333 "UMask": "0x4", 334 "Unit": "iMC" 335 }, 336 { 337 "BriefDescription": "Pre-charge for writes", 338 "EventCode": "0x02", 339 "EventName": "UNC_M_PRE_COUNT.WR", 340 "PerPkg": "1", 341 "PublicDescription": "DRAM Precharge commands. : Precharge due to write : Counts the number of DRAM Precharge commands sent on this channel. : Precharge from write bank scheduler", 342 "UMask": "0x8", 343 "Unit": "iMC" 344 }, 345 { 346 "BriefDescription": "Read Data Buffer Full", 347 "EventCode": "0x19", 348 "EventName": "UNC_M_RDB_FULL", 349 "PerPkg": "1", 350 "Unit": "iMC" 351 }, 352 { 353 "BriefDescription": "Read Data Buffer Inserts", 354 "EventCode": "0x17", 355 "EventName": "UNC_M_RDB_INSERTS", 356 "PerPkg": "1", 357 "Unit": "iMC" 358 }, 359 { 360 "BriefDescription": "Read Data Buffer Not Empty", 361 "EventCode": "0x18", 362 "EventName": "UNC_M_RDB_NOT_EMPTY", 363 "PerPkg": "1", 364 "Unit": "iMC" 365 }, 366 { 367 "BriefDescription": "Read Data Buffer Occupancy", 368 "EventCode": "0x1A", 369 "EventName": "UNC_M_RDB_OCCUPANCY", 370 "PerPkg": "1", 371 "Unit": "iMC" 372 }, 373 { 374 "BriefDescription": "Read Pending Queue Full Cycles", 375 "EventCode": "0x12", 376 "EventName": "UNC_M_RPQ_CYCLES_FULL_PCH0", 377 "PerPkg": "1", 378 "PublicDescription": "Read Pending Queue Full Cycles : 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.", 379 "Unit": "iMC" 380 }, 381 { 382 "BriefDescription": "Read Pending Queue Full Cycles", 383 "EventCode": "0x15", 384 "EventName": "UNC_M_RPQ_CYCLES_FULL_PCH1", 385 "PerPkg": "1", 386 "PublicDescription": "Read Pending Queue Full Cycles : 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.", 387 "Unit": "iMC" 388 }, 389 { 390 "BriefDescription": "Read Pending Queue Not Empty", 391 "EventCode": "0x11", 392 "EventName": "UNC_M_RPQ_CYCLES_NE.PCH0", 393 "PerPkg": "1", 394 "PublicDescription": "Read Pending Queue Not Empty : 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.", 395 "UMask": "0x1", 396 "Unit": "iMC" 397 }, 398 { 399 "BriefDescription": "Read Pending Queue Not Empty", 400 "EventCode": "0x11", 401 "EventName": "UNC_M_RPQ_CYCLES_NE.PCH1", 402 "PerPkg": "1", 403 "PublicDescription": "Read Pending Queue Not Empty : 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.", 404 "UMask": "0x2", 405 "Unit": "iMC" 406 }, 407 { 408 "BriefDescription": "Read Pending Queue Allocations", 409 "EventCode": "0x10", 410 "EventName": "UNC_M_RPQ_INSERTS.PCH0", 411 "PerPkg": "1", 412 "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.", 413 "UMask": "0x1", 414 "Unit": "iMC" 415 }, 416 { 417 "BriefDescription": "Read Pending Queue Allocations", 418 "EventCode": "0x10", 419 "EventName": "UNC_M_RPQ_INSERTS.PCH1", 420 "PerPkg": "1", 421 "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.", 422 "UMask": "0x2", 423 "Unit": "iMC" 424 }, 425 { 426 "BriefDescription": "Read Pending Queue Occupancy", 427 "EventCode": "0x80", 428 "EventName": "UNC_M_RPQ_OCCUPANCY_PCH0", 429 "PerPkg": "1", 430 "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.", 431 "Unit": "iMC" 432 }, 433 { 434 "BriefDescription": "Read Pending Queue Occupancy", 435 "EventCode": "0x81", 436 "EventName": "UNC_M_RPQ_OCCUPANCY_PCH1", 437 "PerPkg": "1", 438 "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.", 439 "Unit": "iMC" 440 }, 441 { 442 "BriefDescription": "Write Pending Queue Full Cycles", 443 "EventCode": "0x22", 444 "EventName": "UNC_M_WPQ_CYCLES_FULL_PCH0", 445 "PerPkg": "1", 446 "PublicDescription": "Write Pending Queue Full Cycles : 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 write requests into the iMC. This count should be similar count in the CHA which tracks the number of cycles that the CHA has no WPQ credits, just somewhat smaller to account for the credit return overhead.", 447 "Unit": "iMC" 448 }, 449 { 450 "BriefDescription": "Write Pending Queue Full Cycles", 451 "EventCode": "0x16", 452 "EventName": "UNC_M_WPQ_CYCLES_FULL_PCH1", 453 "PerPkg": "1", 454 "PublicDescription": "Write Pending Queue Full Cycles : 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 write requests into the iMC. This count should be similar count in the CHA which tracks the number of cycles that the CHA has no WPQ credits, just somewhat smaller to account for the credit return overhead.", 455 "Unit": "iMC" 456 }, 457 { 458 "BriefDescription": "Write Pending Queue Not Empty", 459 "EventCode": "0x21", 460 "EventName": "UNC_M_WPQ_CYCLES_NE.PCH0", 461 "PerPkg": "1", 462 "PublicDescription": "Write Pending Queue Not Empty : 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 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. 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.", 463 "UMask": "0x1", 464 "Unit": "iMC" 465 }, 466 { 467 "BriefDescription": "Write Pending Queue Not Empty", 468 "EventCode": "0x21", 469 "EventName": "UNC_M_WPQ_CYCLES_NE.PCH1", 470 "PerPkg": "1", 471 "PublicDescription": "Write Pending Queue Not Empty : 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 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. 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.", 472 "UMask": "0x2", 473 "Unit": "iMC" 474 }, 475 { 476 "BriefDescription": "Write Pending Queue Allocations", 477 "EventCode": "0x20", 478 "EventName": "UNC_M_WPQ_INSERTS.PCH0", 479 "PerPkg": "1", 480 "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.", 481 "UMask": "0x1", 482 "Unit": "iMC" 483 }, 484 { 485 "BriefDescription": "Write Pending Queue Allocations", 486 "EventCode": "0x20", 487 "EventName": "UNC_M_WPQ_INSERTS.PCH1", 488 "PerPkg": "1", 489 "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.", 490 "UMask": "0x2", 491 "Unit": "iMC" 492 }, 493 { 494 "BriefDescription": "Write Pending Queue Occupancy", 495 "EventCode": "0x82", 496 "EventName": "UNC_M_WPQ_OCCUPANCY_PCH0", 497 "PerPkg": "1", 498 "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.", 499 "Unit": "iMC" 500 }, 501 { 502 "BriefDescription": "Write Pending Queue Occupancy", 503 "EventCode": "0x83", 504 "EventName": "UNC_M_WPQ_OCCUPANCY_PCH1", 505 "PerPkg": "1", 506 "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.", 507 "Unit": "iMC" 508 }, 509 { 510 "BriefDescription": "Write Pending Queue CAM Match", 511 "EventCode": "0x23", 512 "EventName": "UNC_M_WPQ_READ_HIT.PCH0", 513 "PerPkg": "1", 514 "PublicDescription": "Write Pending Queue CAM Match : 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.", 515 "UMask": "0x1", 516 "Unit": "iMC" 517 }, 518 { 519 "BriefDescription": "Write Pending Queue CAM Match", 520 "EventCode": "0x23", 521 "EventName": "UNC_M_WPQ_READ_HIT.PCH1", 522 "PerPkg": "1", 523 "PublicDescription": "Write Pending Queue CAM Match : 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.", 524 "UMask": "0x2", 525 "Unit": "iMC" 526 }, 527 { 528 "BriefDescription": "Write Pending Queue CAM Match", 529 "EventCode": "0x24", 530 "EventName": "UNC_M_WPQ_WRITE_HIT.PCH0", 531 "PerPkg": "1", 532 "PublicDescription": "Write Pending Queue CAM Match : 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.", 533 "UMask": "0x1", 534 "Unit": "iMC" 535 }, 536 { 537 "BriefDescription": "Write Pending Queue CAM Match", 538 "EventCode": "0x24", 539 "EventName": "UNC_M_WPQ_WRITE_HIT.PCH1", 540 "PerPkg": "1", 541 "PublicDescription": "Write Pending Queue CAM Match : 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.", 542 "UMask": "0x2", 543 "Unit": "iMC" 544 } 545] 546