1ecd94f1bSKan Liang[ 2ecd94f1bSKan Liang { 37fcf1b89SHaiyan Song "BriefDescription": "Load misses in all DTLB levels that cause page walks", 4*4cc49942SIan Rogers "Counter": "0,1,2,3", 57fcf1b89SHaiyan Song "EventCode": "0x08", 67fcf1b89SHaiyan Song "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK", 77fcf1b89SHaiyan Song "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.", 8ecd94f1bSKan Liang "SampleAfterValue": "100003", 97fcf1b89SHaiyan Song "UMask": "0x1" 10ecd94f1bSKan Liang }, 11ecd94f1bSKan Liang { 12e0ddfd8dSJin Yao "BriefDescription": "Loads that miss the DTLB and hit the STLB.", 13*4cc49942SIan Rogers "Counter": "0,1,2,3", 14e0ddfd8dSJin Yao "EventCode": "0x08", 15e0ddfd8dSJin Yao "EventName": "DTLB_LOAD_MISSES.STLB_HIT", 16e0ddfd8dSJin Yao "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).", 17e0ddfd8dSJin Yao "SampleAfterValue": "2000003", 187fcf1b89SHaiyan Song "UMask": "0x20" 197fcf1b89SHaiyan Song }, 207fcf1b89SHaiyan Song { 217fcf1b89SHaiyan Song "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk duration are excluded in Skylake.", 22*4cc49942SIan Rogers "Counter": "0,1,2,3", 237fcf1b89SHaiyan Song "CounterMask": "1", 247fcf1b89SHaiyan Song "EventCode": "0x08", 257fcf1b89SHaiyan Song "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE", 267fcf1b89SHaiyan Song "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a load.", 277fcf1b89SHaiyan Song "SampleAfterValue": "100003", 287fcf1b89SHaiyan Song "UMask": "0x10" 297fcf1b89SHaiyan Song }, 307fcf1b89SHaiyan Song { 31e0ddfd8dSJin Yao "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 32*4cc49942SIan Rogers "Counter": "0,1,2,3", 337fcf1b89SHaiyan Song "EventCode": "0x08", 34e0ddfd8dSJin Yao "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED", 35e0ddfd8dSJin Yao "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.", 36e0ddfd8dSJin Yao "SampleAfterValue": "100003", 37e0ddfd8dSJin Yao "UMask": "0xe" 38e0ddfd8dSJin Yao }, 39e0ddfd8dSJin Yao { 40e0ddfd8dSJin Yao "BriefDescription": "Page walk completed due to a demand data load to a 1G page", 41*4cc49942SIan Rogers "Counter": "0,1,2,3", 42e0ddfd8dSJin Yao "EventCode": "0x08", 43e0ddfd8dSJin Yao "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G", 44e0ddfd8dSJin Yao "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.", 457fcf1b89SHaiyan Song "SampleAfterValue": "2000003", 46e0ddfd8dSJin Yao "UMask": "0x8" 477fcf1b89SHaiyan Song }, 487fcf1b89SHaiyan Song { 497fcf1b89SHaiyan Song "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page", 50*4cc49942SIan Rogers "Counter": "0,1,2,3", 517fcf1b89SHaiyan Song "EventCode": "0x08", 527fcf1b89SHaiyan Song "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M", 53e0ddfd8dSJin Yao "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.", 547fcf1b89SHaiyan Song "SampleAfterValue": "2000003", 557fcf1b89SHaiyan Song "UMask": "0x4" 567fcf1b89SHaiyan Song }, 577fcf1b89SHaiyan Song { 58e0ddfd8dSJin Yao "BriefDescription": "Page walk completed due to a demand data load to a 4K page", 59*4cc49942SIan Rogers "Counter": "0,1,2,3", 60e0ddfd8dSJin Yao "EventCode": "0x08", 61e0ddfd8dSJin Yao "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K", 62e0ddfd8dSJin Yao "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.", 63e0ddfd8dSJin Yao "SampleAfterValue": "2000003", 64e0ddfd8dSJin Yao "UMask": "0x2" 65e0ddfd8dSJin Yao }, 66e0ddfd8dSJin Yao { 677fcf1b89SHaiyan Song "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.", 68*4cc49942SIan Rogers "Counter": "0,1,2,3", 697fcf1b89SHaiyan Song "EventCode": "0x08", 707fcf1b89SHaiyan Song "EventName": "DTLB_LOAD_MISSES.WALK_PENDING", 717fcf1b89SHaiyan Song "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.", 727fcf1b89SHaiyan Song "SampleAfterValue": "2000003", 737fcf1b89SHaiyan Song "UMask": "0x10" 747fcf1b89SHaiyan Song }, 757fcf1b89SHaiyan Song { 76e0ddfd8dSJin Yao "BriefDescription": "Store misses in all DTLB levels that cause page walks", 77*4cc49942SIan Rogers "Counter": "0,1,2,3", 787fcf1b89SHaiyan Song "EventCode": "0x49", 79e0ddfd8dSJin Yao "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK", 80e0ddfd8dSJin Yao "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.", 817fcf1b89SHaiyan Song "SampleAfterValue": "100003", 827fcf1b89SHaiyan Song "UMask": "0x1" 837fcf1b89SHaiyan Song }, 847fcf1b89SHaiyan Song { 857fcf1b89SHaiyan Song "BriefDescription": "Stores that miss the DTLB and hit the STLB.", 86*4cc49942SIan Rogers "Counter": "0,1,2,3", 877fcf1b89SHaiyan Song "EventCode": "0x49", 887fcf1b89SHaiyan Song "EventName": "DTLB_STORE_MISSES.STLB_HIT", 897fcf1b89SHaiyan Song "PublicDescription": "Stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).", 907fcf1b89SHaiyan Song "SampleAfterValue": "100003", 917fcf1b89SHaiyan Song "UMask": "0x20" 927fcf1b89SHaiyan Song }, 937fcf1b89SHaiyan Song { 94e0ddfd8dSJin Yao "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store. EPT page walk duration are excluded in Skylake.", 95*4cc49942SIan Rogers "Counter": "0,1,2,3", 96e0ddfd8dSJin Yao "CounterMask": "1", 97e0ddfd8dSJin Yao "EventCode": "0x49", 98e0ddfd8dSJin Yao "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE", 99e0ddfd8dSJin Yao "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.", 100e0ddfd8dSJin Yao "SampleAfterValue": "100003", 101e0ddfd8dSJin Yao "UMask": "0x10" 102e0ddfd8dSJin Yao }, 103e0ddfd8dSJin Yao { 104e0ddfd8dSJin Yao "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 105*4cc49942SIan Rogers "Counter": "0,1,2,3", 106e0ddfd8dSJin Yao "EventCode": "0x49", 107e0ddfd8dSJin Yao "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED", 108e0ddfd8dSJin Yao "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.", 1097fcf1b89SHaiyan Song "SampleAfterValue": "100003", 1107fcf1b89SHaiyan Song "UMask": "0xe" 1117fcf1b89SHaiyan Song }, 1127fcf1b89SHaiyan Song { 113e0ddfd8dSJin Yao "BriefDescription": "Page walk completed due to a demand data store to a 1G page", 114*4cc49942SIan Rogers "Counter": "0,1,2,3", 115e0ddfd8dSJin Yao "EventCode": "0x49", 116e0ddfd8dSJin Yao "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G", 117e0ddfd8dSJin Yao "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.", 118e0ddfd8dSJin Yao "SampleAfterValue": "100003", 119e0ddfd8dSJin Yao "UMask": "0x8" 120e0ddfd8dSJin Yao }, 121e0ddfd8dSJin Yao { 122e0ddfd8dSJin Yao "BriefDescription": "Page walk completed due to a demand data store to a 2M/4M page", 123*4cc49942SIan Rogers "Counter": "0,1,2,3", 124e0ddfd8dSJin Yao "EventCode": "0x49", 125e0ddfd8dSJin Yao "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M", 126e0ddfd8dSJin Yao "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.", 127e0ddfd8dSJin Yao "SampleAfterValue": "100003", 128e0ddfd8dSJin Yao "UMask": "0x4" 129e0ddfd8dSJin Yao }, 130e0ddfd8dSJin Yao { 1317fcf1b89SHaiyan Song "BriefDescription": "Page walk completed due to a demand data store to a 4K page", 132*4cc49942SIan Rogers "Counter": "0,1,2,3", 1337fcf1b89SHaiyan Song "EventCode": "0x49", 1347fcf1b89SHaiyan Song "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K", 135e0ddfd8dSJin Yao "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.", 1367fcf1b89SHaiyan Song "SampleAfterValue": "100003", 1377fcf1b89SHaiyan Song "UMask": "0x2" 1387fcf1b89SHaiyan Song }, 1397fcf1b89SHaiyan Song { 140e0ddfd8dSJin Yao "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.", 141*4cc49942SIan Rogers "Counter": "0,1,2,3", 142e0ddfd8dSJin Yao "EventCode": "0x49", 143e0ddfd8dSJin Yao "EventName": "DTLB_STORE_MISSES.WALK_PENDING", 144e0ddfd8dSJin Yao "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.", 145e0ddfd8dSJin Yao "SampleAfterValue": "2000003", 146e0ddfd8dSJin Yao "UMask": "0x10" 1477fcf1b89SHaiyan Song }, 1487fcf1b89SHaiyan Song { 149e0ddfd8dSJin Yao "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a EPT (Extended Page Table) walk for any request type.", 150*4cc49942SIan Rogers "Counter": "0,1,2,3", 151e0ddfd8dSJin Yao "EventCode": "0x4f", 152e0ddfd8dSJin Yao "EventName": "EPT.WALK_PENDING", 153e0ddfd8dSJin Yao "PublicDescription": "Counts cycles for each PMH (Page Miss Handler) that is busy with an EPT (Extended Page Table) walk for any request type.", 154e0ddfd8dSJin Yao "SampleAfterValue": "2000003", 155e0ddfd8dSJin Yao "UMask": "0x10" 156e0ddfd8dSJin Yao }, 157e0ddfd8dSJin Yao { 158e0ddfd8dSJin Yao "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.", 159*4cc49942SIan Rogers "Counter": "0,1,2,3", 160e0ddfd8dSJin Yao "EventCode": "0xAE", 161e0ddfd8dSJin Yao "EventName": "ITLB.ITLB_FLUSH", 162e0ddfd8dSJin Yao "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).", 163e0ddfd8dSJin Yao "SampleAfterValue": "100007", 164e0ddfd8dSJin Yao "UMask": "0x1" 165e0ddfd8dSJin Yao }, 166e0ddfd8dSJin Yao { 167e0ddfd8dSJin Yao "BriefDescription": "Misses at all ITLB levels that cause page walks", 168*4cc49942SIan Rogers "Counter": "0,1,2,3", 1697fcf1b89SHaiyan Song "EventCode": "0x85", 170e0ddfd8dSJin Yao "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK", 171e0ddfd8dSJin Yao "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.", 1727fcf1b89SHaiyan Song "SampleAfterValue": "100003", 173e0ddfd8dSJin Yao "UMask": "0x1" 1747fcf1b89SHaiyan Song }, 1757fcf1b89SHaiyan Song { 1767fcf1b89SHaiyan Song "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.", 177*4cc49942SIan Rogers "Counter": "0,1,2,3", 1787fcf1b89SHaiyan Song "EventCode": "0x85", 1797fcf1b89SHaiyan Song "EventName": "ITLB_MISSES.STLB_HIT", 1807fcf1b89SHaiyan Song "SampleAfterValue": "100003", 1817fcf1b89SHaiyan Song "UMask": "0x20" 1827fcf1b89SHaiyan Song }, 1837fcf1b89SHaiyan Song { 1847fcf1b89SHaiyan Song "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.", 185*4cc49942SIan Rogers "Counter": "0,1,2,3", 1867fcf1b89SHaiyan Song "CounterMask": "1", 1877fcf1b89SHaiyan Song "EventCode": "0x85", 1887fcf1b89SHaiyan Song "EventName": "ITLB_MISSES.WALK_ACTIVE", 1897fcf1b89SHaiyan Song "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.", 1907fcf1b89SHaiyan Song "SampleAfterValue": "100003", 1917fcf1b89SHaiyan Song "UMask": "0x10" 1927fcf1b89SHaiyan Song }, 1937fcf1b89SHaiyan Song { 194e0ddfd8dSJin Yao "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)", 195*4cc49942SIan Rogers "Counter": "0,1,2,3", 196e0ddfd8dSJin Yao "EventCode": "0x85", 197e0ddfd8dSJin Yao "EventName": "ITLB_MISSES.WALK_COMPLETED", 198e0ddfd8dSJin Yao "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.", 199e0ddfd8dSJin Yao "SampleAfterValue": "100003", 200e0ddfd8dSJin Yao "UMask": "0xe" 201e0ddfd8dSJin Yao }, 202e0ddfd8dSJin Yao { 203e0ddfd8dSJin Yao "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (1G)", 204*4cc49942SIan Rogers "Counter": "0,1,2,3", 205e0ddfd8dSJin Yao "EventCode": "0x85", 206e0ddfd8dSJin Yao "EventName": "ITLB_MISSES.WALK_COMPLETED_1G", 207e0ddfd8dSJin Yao "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.", 208e0ddfd8dSJin Yao "SampleAfterValue": "100003", 209e0ddfd8dSJin Yao "UMask": "0x8" 210e0ddfd8dSJin Yao }, 211e0ddfd8dSJin Yao { 212e0ddfd8dSJin Yao "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)", 213*4cc49942SIan Rogers "Counter": "0,1,2,3", 214e0ddfd8dSJin Yao "EventCode": "0x85", 215e0ddfd8dSJin Yao "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M", 216e0ddfd8dSJin Yao "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.", 217e0ddfd8dSJin Yao "SampleAfterValue": "100003", 218e0ddfd8dSJin Yao "UMask": "0x4" 219e0ddfd8dSJin Yao }, 220e0ddfd8dSJin Yao { 221e0ddfd8dSJin Yao "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)", 222*4cc49942SIan Rogers "Counter": "0,1,2,3", 223e0ddfd8dSJin Yao "EventCode": "0x85", 224e0ddfd8dSJin Yao "EventName": "ITLB_MISSES.WALK_COMPLETED_4K", 225e0ddfd8dSJin Yao "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.", 226e0ddfd8dSJin Yao "SampleAfterValue": "100003", 227e0ddfd8dSJin Yao "UMask": "0x2" 228e0ddfd8dSJin Yao }, 229e0ddfd8dSJin Yao { 230e0ddfd8dSJin Yao "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.", 231*4cc49942SIan Rogers "Counter": "0,1,2,3", 232e0ddfd8dSJin Yao "EventCode": "0x85", 233e0ddfd8dSJin Yao "EventName": "ITLB_MISSES.WALK_PENDING", 2344376424aSIan Rogers "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 microarchitecture.", 235e0ddfd8dSJin Yao "SampleAfterValue": "100003", 236e0ddfd8dSJin Yao "UMask": "0x10" 2377fcf1b89SHaiyan Song }, 2387fcf1b89SHaiyan Song { 2397fcf1b89SHaiyan Song "BriefDescription": "DTLB flush attempts of the thread-specific entries", 240*4cc49942SIan Rogers "Counter": "0,1,2,3", 2417fcf1b89SHaiyan Song "EventCode": "0xBD", 2427fcf1b89SHaiyan Song "EventName": "TLB_FLUSH.DTLB_THREAD", 2437fcf1b89SHaiyan Song "PublicDescription": "Counts the number of DTLB flush attempts of the thread-specific entries.", 2447fcf1b89SHaiyan Song "SampleAfterValue": "100007", 2457fcf1b89SHaiyan Song "UMask": "0x1" 246e0ddfd8dSJin Yao }, 247e0ddfd8dSJin Yao { 248e0ddfd8dSJin Yao "BriefDescription": "STLB flush attempts", 249*4cc49942SIan Rogers "Counter": "0,1,2,3", 250e0ddfd8dSJin Yao "EventCode": "0xBD", 251e0ddfd8dSJin Yao "EventName": "TLB_FLUSH.STLB_ANY", 252e0ddfd8dSJin Yao "PublicDescription": "Counts the number of any STLB flush attempts (such as entire, VPID, PCID, InvPage, CR3 write, etc.).", 253e0ddfd8dSJin Yao "SampleAfterValue": "100007", 254e0ddfd8dSJin Yao "UMask": "0x20" 255ecd94f1bSKan Liang } 256ecd94f1bSKan Liang] 257