1959826caSMatt Macy[ 2959826caSMatt Macy { 3*18054d02SAlexander Motin "BriefDescription": "Load misses in all DTLB levels that cause page walks", 452d973f5SAlexander Motin "Counter": "0,1,2,3", 552d973f5SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 6*18054d02SAlexander Motin "EventCode": "0x08", 7*18054d02SAlexander Motin "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK", 8*18054d02SAlexander Motin "PublicDescription": "Counts demand data loads that caused a page walk of any page size (4K/2M/4M/1G). This implies it missed in all TLB levels, but the walk need not have completed.", 952d973f5SAlexander Motin "SampleAfterValue": "100003", 1052d973f5SAlexander Motin "UMask": "0x1" 11959826caSMatt Macy }, 12959826caSMatt Macy { 1352d973f5SAlexander Motin "BriefDescription": "Loads that miss the DTLB and hit the STLB.", 1452d973f5SAlexander Motin "Counter": "0,1,2,3", 1552d973f5SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 1652d973f5SAlexander Motin "EventCode": "0x08", 1752d973f5SAlexander Motin "EventName": "DTLB_LOAD_MISSES.STLB_HIT", 1852d973f5SAlexander Motin "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).", 1952d973f5SAlexander Motin "SampleAfterValue": "2000003", 2052d973f5SAlexander Motin "UMask": "0x20" 2152d973f5SAlexander Motin }, 2252d973f5SAlexander Motin { 23*18054d02SAlexander Motin "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk duration are excluded in Skylake.", 2452d973f5SAlexander Motin "Counter": "0,1,2,3", 2552d973f5SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 26*18054d02SAlexander Motin "CounterMask": "1", 27*18054d02SAlexander Motin "EventCode": "0x08", 28*18054d02SAlexander Motin "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE", 29*18054d02SAlexander Motin "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a load.", 30*18054d02SAlexander Motin "SampleAfterValue": "100003", 3152d973f5SAlexander Motin "UMask": "0x10" 3252d973f5SAlexander Motin }, 3352d973f5SAlexander Motin { 34*18054d02SAlexander Motin "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 3552d973f5SAlexander Motin "Counter": "0,1,2,3", 3652d973f5SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 37*18054d02SAlexander Motin "EventCode": "0x08", 38*18054d02SAlexander Motin "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED", 39*18054d02SAlexander Motin "PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. This implies it missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.", 40*18054d02SAlexander Motin "SampleAfterValue": "100003", 41*18054d02SAlexander Motin "UMask": "0xe" 42*18054d02SAlexander Motin }, 43*18054d02SAlexander Motin { 44*18054d02SAlexander Motin "BriefDescription": "Page walk completed due to a demand data load to a 1G page", 45*18054d02SAlexander Motin "Counter": "0,1,2,3", 46*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 47*18054d02SAlexander Motin "EventCode": "0x08", 48*18054d02SAlexander Motin "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G", 49*18054d02SAlexander Motin "PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.", 50*18054d02SAlexander Motin "SampleAfterValue": "2000003", 51*18054d02SAlexander Motin "UMask": "0x8" 52*18054d02SAlexander Motin }, 53*18054d02SAlexander Motin { 54*18054d02SAlexander Motin "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page", 55*18054d02SAlexander Motin "Counter": "0,1,2,3", 56*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 57*18054d02SAlexander Motin "EventCode": "0x08", 58*18054d02SAlexander Motin "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M", 59*18054d02SAlexander Motin "PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.", 60*18054d02SAlexander Motin "SampleAfterValue": "2000003", 61*18054d02SAlexander Motin "UMask": "0x4" 62*18054d02SAlexander Motin }, 63*18054d02SAlexander Motin { 64*18054d02SAlexander Motin "BriefDescription": "Page walk completed due to a demand data load to a 4K page", 65*18054d02SAlexander Motin "Counter": "0,1,2,3", 66*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 67*18054d02SAlexander Motin "EventCode": "0x08", 68*18054d02SAlexander Motin "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K", 69*18054d02SAlexander Motin "PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.", 70*18054d02SAlexander Motin "SampleAfterValue": "2000003", 71*18054d02SAlexander Motin "UMask": "0x2" 7252d973f5SAlexander Motin }, 7352d973f5SAlexander Motin { 7452d973f5SAlexander Motin "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a load. EPT page walk duration are excluded in Skylake.", 7552d973f5SAlexander Motin "Counter": "0,1,2,3", 7652d973f5SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 7752d973f5SAlexander Motin "EventCode": "0x08", 7852d973f5SAlexander Motin "EventName": "DTLB_LOAD_MISSES.WALK_PENDING", 7952d973f5SAlexander Motin "PublicDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a load. EPT page walk duration are excluded in Skylake microarchitecture.", 8052d973f5SAlexander Motin "SampleAfterValue": "2000003", 8152d973f5SAlexander Motin "UMask": "0x10" 8252d973f5SAlexander Motin }, 8352d973f5SAlexander Motin { 84*18054d02SAlexander Motin "BriefDescription": "Store misses in all DTLB levels that cause page walks", 8552d973f5SAlexander Motin "Counter": "0,1,2,3", 8652d973f5SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 8752d973f5SAlexander Motin "EventCode": "0x49", 88*18054d02SAlexander Motin "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK", 89*18054d02SAlexander Motin "PublicDescription": "Counts demand data stores that caused a page walk of any page size (4K/2M/4M/1G). This implies it missed in all TLB levels, but the walk need not have completed.", 9052d973f5SAlexander Motin "SampleAfterValue": "100003", 9152d973f5SAlexander Motin "UMask": "0x1" 9252d973f5SAlexander Motin }, 9352d973f5SAlexander Motin { 9452d973f5SAlexander Motin "BriefDescription": "Stores that miss the DTLB and hit the STLB.", 9552d973f5SAlexander Motin "Counter": "0,1,2,3", 9652d973f5SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 9752d973f5SAlexander Motin "EventCode": "0x49", 9852d973f5SAlexander Motin "EventName": "DTLB_STORE_MISSES.STLB_HIT", 9952d973f5SAlexander Motin "PublicDescription": "Stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).", 10052d973f5SAlexander Motin "SampleAfterValue": "100003", 10152d973f5SAlexander Motin "UMask": "0x20" 10252d973f5SAlexander Motin }, 10352d973f5SAlexander Motin { 104*18054d02SAlexander Motin "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store. EPT page walk duration are excluded in Skylake.", 10552d973f5SAlexander Motin "Counter": "0,1,2,3", 10652d973f5SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 10752d973f5SAlexander Motin "CounterMask": "1", 108*18054d02SAlexander Motin "EventCode": "0x49", 109*18054d02SAlexander Motin "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE", 110*18054d02SAlexander Motin "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.", 11152d973f5SAlexander Motin "SampleAfterValue": "100003", 11252d973f5SAlexander Motin "UMask": "0x10" 11352d973f5SAlexander Motin }, 11452d973f5SAlexander Motin { 11552d973f5SAlexander Motin "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 11652d973f5SAlexander Motin "Counter": "0,1,2,3", 11752d973f5SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 11852d973f5SAlexander Motin "EventCode": "0x49", 11952d973f5SAlexander Motin "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED", 12052d973f5SAlexander Motin "PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. This implies it missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.", 12152d973f5SAlexander Motin "SampleAfterValue": "100003", 12252d973f5SAlexander Motin "UMask": "0xe" 12352d973f5SAlexander Motin }, 12452d973f5SAlexander Motin { 12552d973f5SAlexander Motin "BriefDescription": "Page walk completed due to a demand data store to a 1G page", 12652d973f5SAlexander Motin "Counter": "0,1,2,3", 12752d973f5SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 12852d973f5SAlexander Motin "EventCode": "0x49", 12952d973f5SAlexander Motin "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G", 13052d973f5SAlexander Motin "PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.", 13152d973f5SAlexander Motin "SampleAfterValue": "100003", 13252d973f5SAlexander Motin "UMask": "0x8" 133*18054d02SAlexander Motin }, 134*18054d02SAlexander Motin { 135*18054d02SAlexander Motin "BriefDescription": "Page walk completed due to a demand data store to a 2M/4M page", 136*18054d02SAlexander Motin "Counter": "0,1,2,3", 137*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 138*18054d02SAlexander Motin "EventCode": "0x49", 139*18054d02SAlexander Motin "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M", 140*18054d02SAlexander Motin "PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.", 141*18054d02SAlexander Motin "SampleAfterValue": "100003", 142*18054d02SAlexander Motin "UMask": "0x4" 143*18054d02SAlexander Motin }, 144*18054d02SAlexander Motin { 145*18054d02SAlexander Motin "BriefDescription": "Page walk completed due to a demand data store to a 4K page", 146*18054d02SAlexander Motin "Counter": "0,1,2,3", 147*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 148*18054d02SAlexander Motin "EventCode": "0x49", 149*18054d02SAlexander Motin "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K", 150*18054d02SAlexander Motin "PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.", 151*18054d02SAlexander Motin "SampleAfterValue": "100003", 152*18054d02SAlexander Motin "UMask": "0x2" 153*18054d02SAlexander Motin }, 154*18054d02SAlexander Motin { 155*18054d02SAlexander Motin "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a store. EPT page walk duration are excluded in Skylake.", 156*18054d02SAlexander Motin "Counter": "0,1,2,3", 157*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 158*18054d02SAlexander Motin "EventCode": "0x49", 159*18054d02SAlexander Motin "EventName": "DTLB_STORE_MISSES.WALK_PENDING", 160*18054d02SAlexander Motin "PublicDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a store. EPT page walk duration are excluded in Skylake microarchitecture.", 161*18054d02SAlexander Motin "SampleAfterValue": "2000003", 162*18054d02SAlexander Motin "UMask": "0x10" 163*18054d02SAlexander Motin }, 164*18054d02SAlexander Motin { 165*18054d02SAlexander Motin "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a EPT (Extended Page Table) walk for any request type.", 166*18054d02SAlexander Motin "Counter": "0,1,2,3", 167*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 168*18054d02SAlexander Motin "EventCode": "0x4f", 169*18054d02SAlexander Motin "EventName": "EPT.WALK_PENDING", 170*18054d02SAlexander Motin "PublicDescription": "Counts cycles for each PMH (Page Miss Handler) that is busy with an EPT (Extended Page Table) walk for any request type.", 171*18054d02SAlexander Motin "SampleAfterValue": "2000003", 172*18054d02SAlexander Motin "UMask": "0x10" 173*18054d02SAlexander Motin }, 174*18054d02SAlexander Motin { 175*18054d02SAlexander Motin "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.", 176*18054d02SAlexander Motin "Counter": "0,1,2,3", 177*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 178*18054d02SAlexander Motin "EventCode": "0xAE", 179*18054d02SAlexander Motin "EventName": "ITLB.ITLB_FLUSH", 180*18054d02SAlexander Motin "PublicDescription": "Counts the number of flushes of the big or small ITLB pages. Counting include both TLB Flush (covering all sets) and TLB Set Clear (set-specific).", 181*18054d02SAlexander Motin "SampleAfterValue": "100007", 182*18054d02SAlexander Motin "UMask": "0x1" 183*18054d02SAlexander Motin }, 184*18054d02SAlexander Motin { 185*18054d02SAlexander Motin "BriefDescription": "Misses at all ITLB levels that cause page walks", 186*18054d02SAlexander Motin "Counter": "0,1,2,3", 187*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 188*18054d02SAlexander Motin "EventCode": "0x85", 189*18054d02SAlexander Motin "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK", 190*18054d02SAlexander Motin "PublicDescription": "Counts page walks of any page size (4K/2M/4M/1G) caused by a code fetch. This implies it missed in the ITLB and further levels of TLB, but the walk need not have completed.", 191*18054d02SAlexander Motin "SampleAfterValue": "100003", 192*18054d02SAlexander Motin "UMask": "0x1" 193*18054d02SAlexander Motin }, 194*18054d02SAlexander Motin { 195*18054d02SAlexander Motin "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.", 196*18054d02SAlexander Motin "Counter": "0,1,2,3", 197*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 198*18054d02SAlexander Motin "EventCode": "0x85", 199*18054d02SAlexander Motin "EventName": "ITLB_MISSES.STLB_HIT", 200*18054d02SAlexander Motin "SampleAfterValue": "100003", 201*18054d02SAlexander Motin "UMask": "0x20" 202*18054d02SAlexander Motin }, 203*18054d02SAlexander Motin { 204*18054d02SAlexander Motin "BriefDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request. EPT page walk duration are excluded in Skylake.", 205*18054d02SAlexander Motin "Counter": "0,1,2,3", 206*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 207*18054d02SAlexander Motin "CounterMask": "1", 208*18054d02SAlexander Motin "EventCode": "0x85", 209*18054d02SAlexander Motin "EventName": "ITLB_MISSES.WALK_ACTIVE", 210*18054d02SAlexander Motin "PublicDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request. EPT page walk duration are excluded in Skylake microarchitecture.", 211*18054d02SAlexander Motin "SampleAfterValue": "100003", 212*18054d02SAlexander Motin "UMask": "0x10" 213*18054d02SAlexander Motin }, 214*18054d02SAlexander Motin { 215*18054d02SAlexander Motin "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)", 216*18054d02SAlexander Motin "Counter": "0,1,2,3", 217*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 218*18054d02SAlexander Motin "EventCode": "0x85", 219*18054d02SAlexander Motin "EventName": "ITLB_MISSES.WALK_COMPLETED", 220*18054d02SAlexander Motin "PublicDescription": "Counts completed page walks (all page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.", 221*18054d02SAlexander Motin "SampleAfterValue": "100003", 222*18054d02SAlexander Motin "UMask": "0xe" 223*18054d02SAlexander Motin }, 224*18054d02SAlexander Motin { 225*18054d02SAlexander Motin "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (1G)", 226*18054d02SAlexander Motin "Counter": "0,1,2,3", 227*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 228*18054d02SAlexander Motin "EventCode": "0x85", 229*18054d02SAlexander Motin "EventName": "ITLB_MISSES.WALK_COMPLETED_1G", 230*18054d02SAlexander Motin "PublicDescription": "Counts completed page walks (1G page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.", 231*18054d02SAlexander Motin "SampleAfterValue": "100003", 232*18054d02SAlexander Motin "UMask": "0x8" 233*18054d02SAlexander Motin }, 234*18054d02SAlexander Motin { 235*18054d02SAlexander Motin "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)", 236*18054d02SAlexander Motin "Counter": "0,1,2,3", 237*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 238*18054d02SAlexander Motin "EventCode": "0x85", 239*18054d02SAlexander Motin "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M", 240*18054d02SAlexander Motin "PublicDescription": "Counts completed page walks (2M/4M page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.", 241*18054d02SAlexander Motin "SampleAfterValue": "100003", 242*18054d02SAlexander Motin "UMask": "0x4" 243*18054d02SAlexander Motin }, 244*18054d02SAlexander Motin { 245*18054d02SAlexander Motin "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)", 246*18054d02SAlexander Motin "Counter": "0,1,2,3", 247*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 248*18054d02SAlexander Motin "EventCode": "0x85", 249*18054d02SAlexander Motin "EventName": "ITLB_MISSES.WALK_COMPLETED_4K", 250*18054d02SAlexander Motin "PublicDescription": "Counts completed page walks (4K page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.", 251*18054d02SAlexander Motin "SampleAfterValue": "100003", 252*18054d02SAlexander Motin "UMask": "0x2" 253*18054d02SAlexander Motin }, 254*18054d02SAlexander Motin { 255*18054d02SAlexander Motin "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for an instruction fetch request. EPT page walk duration are excluded in Skylake.", 256*18054d02SAlexander Motin "Counter": "0,1,2,3", 257*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 258*18054d02SAlexander Motin "EventCode": "0x85", 259*18054d02SAlexander Motin "EventName": "ITLB_MISSES.WALK_PENDING", 260*18054d02SAlexander Motin "PublicDescription": "Counts 1 per cycle for each PMH (Page Miss Handler) that is busy with a page walk for an instruction fetch request. EPT page walk duration are excluded in Skylake michroarchitecture.", 261*18054d02SAlexander Motin "SampleAfterValue": "100003", 262*18054d02SAlexander Motin "UMask": "0x10" 263*18054d02SAlexander Motin }, 264*18054d02SAlexander Motin { 265*18054d02SAlexander Motin "BriefDescription": "DTLB flush attempts of the thread-specific entries", 266*18054d02SAlexander Motin "Counter": "0,1,2,3", 267*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 268*18054d02SAlexander Motin "EventCode": "0xBD", 269*18054d02SAlexander Motin "EventName": "TLB_FLUSH.DTLB_THREAD", 270*18054d02SAlexander Motin "PublicDescription": "Counts the number of DTLB flush attempts of the thread-specific entries.", 271*18054d02SAlexander Motin "SampleAfterValue": "100007", 272*18054d02SAlexander Motin "UMask": "0x1" 273*18054d02SAlexander Motin }, 274*18054d02SAlexander Motin { 275*18054d02SAlexander Motin "BriefDescription": "STLB flush attempts", 276*18054d02SAlexander Motin "Counter": "0,1,2,3", 277*18054d02SAlexander Motin "CounterHTOff": "0,1,2,3,4,5,6,7", 278*18054d02SAlexander Motin "EventCode": "0xBD", 279*18054d02SAlexander Motin "EventName": "TLB_FLUSH.STLB_ANY", 280*18054d02SAlexander Motin "PublicDescription": "Counts the number of any STLB flush attempts (such as entire, VPID, PCID, InvPage, CR3 write, etc.).", 281*18054d02SAlexander Motin "SampleAfterValue": "100007", 282*18054d02SAlexander Motin "UMask": "0x20" 283959826caSMatt Macy } 284959826caSMatt Macy]