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