1[ 2 { 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 5 "MetricGroup": "Power", 6 "MetricName": "C2_Pkg_Residency", 7 "ScaleUnit": "100%" 8 }, 9 { 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 12 "MetricGroup": "Power", 13 "MetricName": "C3_Core_Residency", 14 "ScaleUnit": "100%" 15 }, 16 { 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 19 "MetricGroup": "Power", 20 "MetricName": "C3_Pkg_Residency", 21 "ScaleUnit": "100%" 22 }, 23 { 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 26 "MetricGroup": "Power", 27 "MetricName": "C6_Core_Residency", 28 "ScaleUnit": "100%" 29 }, 30 { 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", 33 "MetricGroup": "Power", 34 "MetricName": "C6_Pkg_Residency", 35 "ScaleUnit": "100%" 36 }, 37 { 38 "BriefDescription": "C7 residency percent per core", 39 "MetricExpr": "cstate_core@c7\\-residency@ / TSC", 40 "MetricGroup": "Power", 41 "MetricName": "C7_Core_Residency", 42 "ScaleUnit": "100%" 43 }, 44 { 45 "BriefDescription": "C7 residency percent per package", 46 "MetricExpr": "cstate_pkg@c7\\-residency@ / TSC", 47 "MetricGroup": "Power", 48 "MetricName": "C7_Pkg_Residency", 49 "ScaleUnit": "100%" 50 }, 51 { 52 "BriefDescription": "Uncore frequency per die [GHZ]", 53 "MetricExpr": "tma_info_system_socket_clks / #num_dies / duration_time / 1e9", 54 "MetricGroup": "SoC", 55 "MetricName": "UNCORE_FREQ" 56 }, 57 { 58 "BriefDescription": "Cycles per instruction retired; indicating how much time each executed instruction took; in units of cycles.", 59 "MetricExpr": "CPU_CLK_UNHALTED.THREAD / INST_RETIRED.ANY", 60 "MetricName": "cpi", 61 "ScaleUnit": "1per_instr" 62 }, 63 { 64 "BriefDescription": "CPU operating frequency (in GHz)", 65 "MetricExpr": "CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC * #SYSTEM_TSC_FREQ / 1e9", 66 "MetricName": "cpu_operating_frequency", 67 "ScaleUnit": "1GHz" 68 }, 69 { 70 "BriefDescription": "Percentage of time spent in the active CPU power state C0", 71 "MetricExpr": "tma_info_system_cpu_utilization", 72 "MetricName": "cpu_utilization", 73 "ScaleUnit": "100%" 74 }, 75 { 76 "BriefDescription": "Ratio of number of completed page walks (for 2 megabyte page sizes) caused by demand data loads to the total number of completed instructions", 77 "MetricExpr": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M / INST_RETIRED.ANY", 78 "MetricName": "dtlb_2mb_large_page_load_mpi", 79 "PublicDescription": "Ratio of number of completed page walks (for 2 megabyte page sizes) caused by demand data loads to the total number of completed instructions. This implies it missed in the Data Translation Lookaside Buffer (DTLB) and further levels of TLB.", 80 "ScaleUnit": "1per_instr" 81 }, 82 { 83 "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data loads to the total number of completed instructions", 84 "MetricExpr": "DTLB_LOAD_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 85 "MetricName": "dtlb_load_mpi", 86 "PublicDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data loads to the total number of completed instructions. This implies it missed in the DTLB and further levels of TLB.", 87 "ScaleUnit": "1per_instr" 88 }, 89 { 90 "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data stores to the total number of completed instructions", 91 "MetricExpr": "DTLB_STORE_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 92 "MetricName": "dtlb_store_mpi", 93 "PublicDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data stores to the total number of completed instructions. This implies it missed in the DTLB and further levels of TLB.", 94 "ScaleUnit": "1per_instr" 95 }, 96 { 97 "BriefDescription": "Bandwidth of IO reads that are initiated by end device controllers that are requesting memory from the CPU.", 98 "MetricExpr": "(UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART3) * 4 / 1e6 / duration_time", 99 "MetricName": "io_bandwidth_read", 100 "ScaleUnit": "1MB/s" 101 }, 102 { 103 "BriefDescription": "Bandwidth of IO writes that are initiated by end device controllers that are writing memory to the CPU.", 104 "MetricExpr": "(UNC_IIO_PAYLOAD_BYTES_IN.MEM_WRITE.PART0 + UNC_IIO_PAYLOAD_BYTES_IN.MEM_WRITE.PART1 + UNC_IIO_PAYLOAD_BYTES_IN.MEM_WRITE.PART2 + UNC_IIO_PAYLOAD_BYTES_IN.MEM_WRITE.PART3) * 4 / 1e6 / duration_time", 105 "MetricName": "io_bandwidth_write", 106 "ScaleUnit": "1MB/s" 107 }, 108 { 109 "BriefDescription": "Ratio of number of completed page walks (for 2 megabyte and 4 megabyte page sizes) caused by a code fetch to the total number of completed instructions", 110 "MetricExpr": "ITLB_MISSES.WALK_COMPLETED_2M_4M / INST_RETIRED.ANY", 111 "MetricName": "itlb_large_page_mpi", 112 "PublicDescription": "Ratio of number of completed page walks (for 2 megabyte and 4 megabyte page sizes) caused by a code fetch to the total number of completed instructions. This implies it missed in the Instruction Translation Lookaside Buffer (ITLB) and further levels of TLB.", 113 "ScaleUnit": "1per_instr" 114 }, 115 { 116 "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by a code fetch to the total number of completed instructions", 117 "MetricExpr": "ITLB_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 118 "MetricName": "itlb_mpi", 119 "PublicDescription": "Ratio of number of completed page walks (for all page sizes) caused by a code fetch to the total number of completed instructions. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB.", 120 "ScaleUnit": "1per_instr" 121 }, 122 { 123 "BriefDescription": "Ratio of number of code read requests missing in L1 instruction cache (includes prefetches) to the total number of completed instructions", 124 "MetricExpr": "L2_RQSTS.ALL_CODE_RD / INST_RETIRED.ANY", 125 "MetricName": "l1_i_code_read_misses_with_prefetches_per_instr", 126 "ScaleUnit": "1per_instr" 127 }, 128 { 129 "BriefDescription": "Ratio of number of demand load requests hitting in L1 data cache to the total number of completed instructions", 130 "MetricExpr": "MEM_LOAD_RETIRED.L1_HIT / INST_RETIRED.ANY", 131 "MetricName": "l1d_demand_data_read_hits_per_instr", 132 "ScaleUnit": "1per_instr" 133 }, 134 { 135 "BriefDescription": "Ratio of number of requests missing L1 data cache (includes data+rfo w/ prefetches) to the total number of completed instructions", 136 "MetricExpr": "L1D.REPLACEMENT / INST_RETIRED.ANY", 137 "MetricName": "l1d_mpi", 138 "ScaleUnit": "1per_instr" 139 }, 140 { 141 "BriefDescription": "Ratio of number of code read request missing L2 cache to the total number of completed instructions", 142 "MetricExpr": "L2_RQSTS.CODE_RD_MISS / INST_RETIRED.ANY", 143 "MetricName": "l2_demand_code_mpi", 144 "ScaleUnit": "1per_instr" 145 }, 146 { 147 "BriefDescription": "Ratio of number of completed demand load requests hitting in L2 cache to the total number of completed instructions", 148 "MetricExpr": "MEM_LOAD_RETIRED.L2_HIT / INST_RETIRED.ANY", 149 "MetricName": "l2_demand_data_read_hits_per_instr", 150 "ScaleUnit": "1per_instr" 151 }, 152 { 153 "BriefDescription": "Ratio of number of completed data read request missing L2 cache to the total number of completed instructions", 154 "MetricExpr": "MEM_LOAD_RETIRED.L2_MISS / INST_RETIRED.ANY", 155 "MetricName": "l2_demand_data_read_mpi", 156 "ScaleUnit": "1per_instr" 157 }, 158 { 159 "BriefDescription": "Ratio of number of requests missing L2 cache (includes code+data+rfo w/ prefetches) to the total number of completed instructions", 160 "MetricExpr": "L2_LINES_IN.ALL / INST_RETIRED.ANY", 161 "MetricName": "l2_mpi", 162 "ScaleUnit": "1per_instr" 163 }, 164 { 165 "BriefDescription": "Ratio of number of code read requests missing last level core cache (includes demand w/ prefetches) to the total number of completed instructions", 166 "MetricExpr": "cha@UNC_CHA_TOR_INSERTS.IA_MISS\\,config1\\=0x12CC0233@ / INST_RETIRED.ANY", 167 "MetricName": "llc_code_read_mpi_demand_plus_prefetch", 168 "ScaleUnit": "1per_instr" 169 }, 170 { 171 "BriefDescription": "Average latency of a last level cache (LLC) demand and prefetch data read miss (read memory access) in nano seconds", 172 "MetricExpr": "1e9 * (cha@UNC_CHA_TOR_OCCUPANCY.IA_MISS\\,config1\\=0x40433@ / cha@UNC_CHA_TOR_INSERTS.IA_MISS\\,config1\\=0x40433@) / (UNC_CHA_CLOCKTICKS / (#num_cores / #num_packages * #num_packages)) * duration_time", 173 "MetricName": "llc_data_read_demand_plus_prefetch_miss_latency", 174 "ScaleUnit": "1ns" 175 }, 176 { 177 "BriefDescription": "Average latency of a last level cache (LLC) demand and prefetch data read miss (read memory access) addressed to local memory in nano seconds", 178 "MetricExpr": "1e9 * (cha@UNC_CHA_TOR_OCCUPANCY.IA_MISS\\,config1\\=0x40432@ / cha@UNC_CHA_TOR_INSERTS.IA_MISS\\,config1\\=0x40432@) / (UNC_CHA_CLOCKTICKS / (#num_cores / #num_packages * #num_packages)) * duration_time", 179 "MetricName": "llc_data_read_demand_plus_prefetch_miss_latency_for_local_requests", 180 "ScaleUnit": "1ns" 181 }, 182 { 183 "BriefDescription": "Average latency of a last level cache (LLC) demand and prefetch data read miss (read memory access) addressed to remote memory in nano seconds", 184 "MetricExpr": "1e9 * (cha@UNC_CHA_TOR_OCCUPANCY.IA_MISS\\,config1\\=0x40431@ / cha@UNC_CHA_TOR_INSERTS.IA_MISS\\,config1\\=0x40431@) / (UNC_CHA_CLOCKTICKS / (#num_cores / #num_packages * #num_packages)) * duration_time", 185 "MetricName": "llc_data_read_demand_plus_prefetch_miss_latency_for_remote_requests", 186 "ScaleUnit": "1ns" 187 }, 188 { 189 "BriefDescription": "Ratio of number of data read requests missing last level core cache (includes demand w/ prefetches) to the total number of completed instructions", 190 "MetricExpr": "cha@UNC_CHA_TOR_INSERTS.IA_MISS\\,config1\\=0x12D40433@ / INST_RETIRED.ANY", 191 "MetricName": "llc_data_read_mpi_demand_plus_prefetch", 192 "ScaleUnit": "1per_instr" 193 }, 194 { 195 "BriefDescription": "Bandwidth (MB/sec) of read requests that miss the last level cache (LLC) and go to local memory.", 196 "MetricExpr": "UNC_CHA_REQUESTS.READS_LOCAL * 64 / 1e6 / duration_time", 197 "MetricName": "llc_miss_local_memory_bandwidth_read", 198 "ScaleUnit": "1MB/s" 199 }, 200 { 201 "BriefDescription": "Bandwidth (MB/sec) of write requests that miss the last level cache (LLC) and go to local memory.", 202 "MetricExpr": "UNC_CHA_REQUESTS.WRITES_LOCAL * 64 / 1e6 / duration_time", 203 "MetricName": "llc_miss_local_memory_bandwidth_write", 204 "ScaleUnit": "1MB/s" 205 }, 206 { 207 "BriefDescription": "Bandwidth (MB/sec) of read requests that miss the last level cache (LLC) and go to remote memory.", 208 "MetricExpr": "UNC_CHA_REQUESTS.READS_REMOTE * 64 / 1e6 / duration_time", 209 "MetricName": "llc_miss_remote_memory_bandwidth_read", 210 "ScaleUnit": "1MB/s" 211 }, 212 { 213 "BriefDescription": "Bandwidth (MB/sec) of write requests that miss the last level cache (LLC) and go to remote memory.", 214 "MetricExpr": "UNC_CHA_REQUESTS.WRITES_REMOTE * 64 / 1e6 / duration_time", 215 "MetricName": "llc_miss_remote_memory_bandwidth_write", 216 "ScaleUnit": "1MB/s" 217 }, 218 { 219 "BriefDescription": "The ratio of number of completed memory load instructions to the total number completed instructions", 220 "MetricExpr": "MEM_INST_RETIRED.ALL_LOADS / INST_RETIRED.ANY", 221 "MetricName": "loads_per_instr", 222 "ScaleUnit": "1per_instr" 223 }, 224 { 225 "BriefDescription": "DDR memory read bandwidth (MB/sec)", 226 "MetricExpr": "UNC_M_CAS_COUNT.RD * 64 / 1e6 / duration_time", 227 "MetricName": "memory_bandwidth_read", 228 "ScaleUnit": "1MB/s" 229 }, 230 { 231 "BriefDescription": "DDR memory bandwidth (MB/sec)", 232 "MetricExpr": "(UNC_M_CAS_COUNT.RD + UNC_M_CAS_COUNT.WR) * 64 / 1e6 / duration_time", 233 "MetricName": "memory_bandwidth_total", 234 "ScaleUnit": "1MB/s" 235 }, 236 { 237 "BriefDescription": "DDR memory write bandwidth (MB/sec)", 238 "MetricExpr": "UNC_M_CAS_COUNT.WR * 64 / 1e6 / duration_time", 239 "MetricName": "memory_bandwidth_write", 240 "ScaleUnit": "1MB/s" 241 }, 242 { 243 "BriefDescription": "Memory read that miss the last level cache (LLC) addressed to local DRAM as a percentage of total memory read accesses, does not include LLC prefetches.", 244 "MetricExpr": "cha@UNC_CHA_TOR_INSERTS.IA_MISS\\,config1\\=0x40432@ / (cha@UNC_CHA_TOR_INSERTS.IA_MISS\\,config1\\=0x40432@ + cha@UNC_CHA_TOR_INSERTS.IA_MISS\\,config1\\=0x40431@)", 245 "MetricName": "numa_reads_addressed_to_local_dram", 246 "ScaleUnit": "100%" 247 }, 248 { 249 "BriefDescription": "Memory reads that miss the last level cache (LLC) addressed to remote DRAM as a percentage of total memory read accesses, does not include LLC prefetches.", 250 "MetricExpr": "cha@UNC_CHA_TOR_INSERTS.IA_MISS\\,config1\\=0x40431@ / (cha@UNC_CHA_TOR_INSERTS.IA_MISS\\,config1\\=0x40432@ + cha@UNC_CHA_TOR_INSERTS.IA_MISS\\,config1\\=0x40431@)", 251 "MetricName": "numa_reads_addressed_to_remote_dram", 252 "ScaleUnit": "100%" 253 }, 254 { 255 "BriefDescription": "Uops delivered from decoded instruction cache (decoded stream buffer or DSB) as a percent of total uops delivered to Instruction Decode Queue", 256 "MetricExpr": "IDQ.DSB_UOPS / UOPS_ISSUED.ANY", 257 "MetricName": "percent_uops_delivered_from_decoded_icache", 258 "ScaleUnit": "100%" 259 }, 260 { 261 "BriefDescription": "Uops delivered from legacy decode pipeline (Micro-instruction Translation Engine or MITE) as a percent of total uops delivered to Instruction Decode Queue", 262 "MetricExpr": "IDQ.MITE_UOPS / UOPS_ISSUED.ANY", 263 "MetricName": "percent_uops_delivered_from_legacy_decode_pipeline", 264 "ScaleUnit": "100%" 265 }, 266 { 267 "BriefDescription": "Uops delivered from microcode sequencer (MS) as a percent of total uops delivered to Instruction Decode Queue", 268 "MetricExpr": "IDQ.MS_UOPS / UOPS_ISSUED.ANY", 269 "MetricName": "percent_uops_delivered_from_microcode_sequencer", 270 "ScaleUnit": "100%" 271 }, 272 { 273 "BriefDescription": "Percentage of cycles spent in System Management Interrupts.", 274 "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", 275 "MetricGroup": "smi", 276 "MetricName": "smi_cycles", 277 "MetricThreshold": "smi_cycles > 0.1", 278 "ScaleUnit": "100%" 279 }, 280 { 281 "BriefDescription": "Number of SMI interrupts.", 282 "MetricExpr": "msr@smi@", 283 "MetricGroup": "smi", 284 "MetricName": "smi_num", 285 "ScaleUnit": "1SMI#" 286 }, 287 { 288 "BriefDescription": "The ratio of number of completed memory store instructions to the total number completed instructions", 289 "MetricExpr": "MEM_INST_RETIRED.ALL_STORES / INST_RETIRED.ANY", 290 "MetricName": "stores_per_instr", 291 "ScaleUnit": "1per_instr" 292 }, 293 { 294 "BriefDescription": "This metric estimates how often memory load accesses were aliased by preceding stores (in program order) with a 4K address offset", 295 "MetricExpr": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS / tma_info_thread_clks", 296 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 297 "MetricName": "tma_4k_aliasing", 298 "MetricThreshold": "tma_4k_aliasing > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 299 "PublicDescription": "This metric estimates how often memory load accesses were aliased by preceding stores (in program order) with a 4K address offset. False match is possible; which incur a few cycles load re-issue. However; the short re-issue duration is often hidden by the out-of-order core and HW optimizations; hence a user may safely ignore a high value of this metric unless it manages to propagate up into parent nodes of the hierarchy (e.g. to L1_Bound).", 300 "ScaleUnit": "100%" 301 }, 302 { 303 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution ports for ALU operations.", 304 "MetricExpr": "(UOPS_DISPATCHED_PORT.PORT_0 + UOPS_DISPATCHED_PORT.PORT_1 + UOPS_DISPATCHED_PORT.PORT_5 + UOPS_DISPATCHED_PORT.PORT_6) / tma_info_thread_slots", 305 "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", 306 "MetricName": "tma_alu_op_utilization", 307 "MetricThreshold": "tma_alu_op_utilization > 0.4", 308 "ScaleUnit": "100%" 309 }, 310 { 311 "BriefDescription": "This metric estimates fraction of slots the CPU retired uops delivered by the Microcode_Sequencer as a result of Assists", 312 "MetricExpr": "34 * (FP_ASSIST.ANY + OTHER_ASSISTS.ANY) / tma_info_thread_slots", 313 "MetricGroup": "TopdownL4;tma_L4_group;tma_microcode_sequencer_group", 314 "MetricName": "tma_assists", 315 "MetricThreshold": "tma_assists > 0.1 & (tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1)", 316 "PublicDescription": "This metric estimates fraction of slots the CPU retired uops delivered by the Microcode_Sequencer as a result of Assists. Assists are long sequences of uops that are required in certain corner-cases for operations that cannot be handled natively by the execution pipeline. For example; when working with very small floating point values (so-called Denormals); the FP units are not set up to perform these operations natively. Instead; a sequence of instructions to perform the computation on the Denormals is injected into the pipeline. Since these microcode sequences might be dozens of uops long; Assists can be extremely deleterious to performance and they can be avoided in many cases. Sample with: OTHER_ASSISTS.ANY", 317 "ScaleUnit": "100%" 318 }, 319 { 320 "BriefDescription": "This category represents fraction of slots where no uops are being delivered due to a lack of required resources for accepting new uops in the Backend", 321 "MetricExpr": "1 - tma_frontend_bound - (UOPS_ISSUED.ANY + 4 * (INT_MISC.RECOVERY_CYCLES_ANY / 2 if #SMT_on else INT_MISC.RECOVERY_CYCLES)) / tma_info_thread_slots", 322 "MetricGroup": "TmaL1;TopdownL1;tma_L1_group", 323 "MetricName": "tma_backend_bound", 324 "MetricThreshold": "tma_backend_bound > 0.2", 325 "MetricgroupNoGroup": "TopdownL1", 326 "PublicDescription": "This category represents fraction of slots where no uops are being delivered due to a lack of required resources for accepting new uops in the Backend. Backend is the portion of the processor core where the out-of-order scheduler dispatches ready uops into their respective execution units; and once completed these uops get retired according to program order. For example; stalls due to data-cache misses or stalls due to the divider unit being overloaded are both categorized under Backend Bound. Backend Bound is further divided into two main categories: Memory Bound and Core Bound.", 327 "ScaleUnit": "100%" 328 }, 329 { 330 "BriefDescription": "This category represents fraction of slots wasted due to incorrect speculations", 331 "MetricExpr": "(UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * (INT_MISC.RECOVERY_CYCLES_ANY / 2 if #SMT_on else INT_MISC.RECOVERY_CYCLES)) / tma_info_thread_slots", 332 "MetricGroup": "TmaL1;TopdownL1;tma_L1_group", 333 "MetricName": "tma_bad_speculation", 334 "MetricThreshold": "tma_bad_speculation > 0.15", 335 "MetricgroupNoGroup": "TopdownL1", 336 "PublicDescription": "This category represents fraction of slots wasted due to incorrect speculations. This include slots used to issue uops that do not eventually get retired and slots for which the issue-pipeline was blocked due to recovery from earlier incorrect speculation. For example; wasted work due to miss-predicted branches are categorized under Bad Speculation category. Incorrect data speculation followed by Memory Ordering Nukes is another example.", 337 "ScaleUnit": "100%" 338 }, 339 { 340 "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Branch Misprediction", 341 "MetricConstraint": "NO_GROUP_EVENTS", 342 "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES / (BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT) * tma_bad_speculation", 343 "MetricGroup": "BadSpec;BrMispredicts;TmaL2;TopdownL2;tma_L2_group;tma_bad_speculation_group;tma_issueBM", 344 "MetricName": "tma_branch_mispredicts", 345 "MetricThreshold": "tma_branch_mispredicts > 0.1 & tma_bad_speculation > 0.15", 346 "MetricgroupNoGroup": "TopdownL2", 347 "PublicDescription": "This metric represents fraction of slots the CPU has wasted due to Branch Misprediction. These slots are either wasted by uops fetched from an incorrectly speculated program path; or stalls when the out-of-order part of the machine needs to recover its state from a speculative path. Sample with: BR_MISP_RETIRED.ALL_BRANCHES. Related metrics: tma_info_bad_spec_branch_misprediction_cost, tma_info_bottleneck_mispredictions, tma_mispredicts_resteers", 348 "ScaleUnit": "100%" 349 }, 350 { 351 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers", 352 "MetricExpr": "INT_MISC.CLEAR_RESTEER_CYCLES / tma_info_thread_clks + tma_unknown_branches", 353 "MetricGroup": "FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group", 354 "MetricName": "tma_branch_resteers", 355 "MetricThreshold": "tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 356 "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers. Branch Resteers estimates the Frontend delay in fetching operations from corrected path; following all sorts of miss-predicted branches. For example; branchy code with lots of miss-predictions might get categorized under Branch Resteers. Note the value of this node may overlap with its siblings. Sample with: BR_MISP_RETIRED.ALL_BRANCHES", 357 "ScaleUnit": "100%" 358 }, 359 { 360 "BriefDescription": "This metric estimates fraction of cycles the CPU retired uops originated from CISC (complex instruction set computer) instruction", 361 "MetricExpr": "max(0, tma_microcode_sequencer - tma_assists)", 362 "MetricGroup": "TopdownL4;tma_L4_group;tma_microcode_sequencer_group", 363 "MetricName": "tma_cisc", 364 "MetricThreshold": "tma_cisc > 0.1 & (tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1)", 365 "PublicDescription": "This metric estimates fraction of cycles the CPU retired uops originated from CISC (complex instruction set computer) instruction. A CISC instruction has multiple uops that are required to perform the instruction's functionality as in the case of read-modify-write as an example. Since these instructions require multiple uops they may or may not imply sub-optimal use of machine resources.", 366 "ScaleUnit": "100%" 367 }, 368 { 369 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Machine Clears", 370 "MetricExpr": "(1 - BR_MISP_RETIRED.ALL_BRANCHES / (BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT)) * INT_MISC.CLEAR_RESTEER_CYCLES / tma_info_thread_clks", 371 "MetricGroup": "BadSpec;MachineClears;TopdownL4;tma_L4_group;tma_branch_resteers_group;tma_issueMC", 372 "MetricName": "tma_clears_resteers", 373 "MetricThreshold": "tma_clears_resteers > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))", 374 "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Machine Clears. Sample with: INT_MISC.CLEAR_RESTEER_CYCLES. Related metrics: tma_l1_bound, tma_machine_clears, tma_microcode_sequencer, tma_ms_switches", 375 "ScaleUnit": "100%" 376 }, 377 { 378 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to contested accesses", 379 "MetricConstraint": "NO_GROUP_EVENTS", 380 "MetricExpr": "(44 * tma_info_system_core_frequency * (MEM_LOAD_L3_HIT_RETIRED.XSNP_HITM * (OFFCORE_RESPONSE.DEMAND_DATA_RD.L3_HIT.HITM_OTHER_CORE / (OFFCORE_RESPONSE.DEMAND_DATA_RD.L3_HIT.HITM_OTHER_CORE + OFFCORE_RESPONSE.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD))) + 44 * tma_info_system_core_frequency * MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS) * (1 + MEM_LOAD_RETIRED.FB_HIT / MEM_LOAD_RETIRED.L1_MISS / 2) / tma_info_thread_clks", 381 "MetricGroup": "DataSharing;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_l3_bound_group", 382 "MetricName": "tma_contested_accesses", 383 "MetricThreshold": "tma_contested_accesses > 0.05 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 384 "PublicDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to contested accesses. Contested accesses occur when data written by one Logical Processor are read by another Logical Processor on a different Physical Core. Examples of contested accesses include synchronizations such as locks; true data sharing such as modified locked variables; and false sharing. Sample with: MEM_LOAD_L3_HIT_RETIRED.XSNP_HITM_PS;MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS_PS. Related metrics: tma_data_sharing, tma_false_sharing, tma_machine_clears, tma_remote_cache", 385 "ScaleUnit": "100%" 386 }, 387 { 388 "BriefDescription": "This metric represents fraction of slots where Core non-memory issues were of a bottleneck", 389 "MetricConstraint": "NO_GROUP_EVENTS", 390 "MetricExpr": "tma_backend_bound - tma_memory_bound", 391 "MetricGroup": "Backend;Compute;TmaL2;TopdownL2;tma_L2_group;tma_backend_bound_group", 392 "MetricName": "tma_core_bound", 393 "MetricThreshold": "tma_core_bound > 0.1 & tma_backend_bound > 0.2", 394 "MetricgroupNoGroup": "TopdownL2", 395 "PublicDescription": "This metric represents fraction of slots where Core non-memory issues were of a bottleneck. Shortage in hardware compute resources; or dependencies in software's instructions are both categorized under Core Bound. Hence it may indicate the machine ran out of an out-of-order resource; certain execution units are overloaded or dependencies in program's data- or instruction-flow are limiting the performance (e.g. FP-chained long-latency arithmetic operations).", 396 "ScaleUnit": "100%" 397 }, 398 { 399 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to data-sharing accesses", 400 "MetricConstraint": "NO_GROUP_EVENTS", 401 "MetricExpr": "44 * tma_info_system_core_frequency * (MEM_LOAD_L3_HIT_RETIRED.XSNP_HIT + MEM_LOAD_L3_HIT_RETIRED.XSNP_HITM * (1 - OFFCORE_RESPONSE.DEMAND_DATA_RD.L3_HIT.HITM_OTHER_CORE / (OFFCORE_RESPONSE.DEMAND_DATA_RD.L3_HIT.HITM_OTHER_CORE + OFFCORE_RESPONSE.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD))) * (1 + MEM_LOAD_RETIRED.FB_HIT / MEM_LOAD_RETIRED.L1_MISS / 2) / tma_info_thread_clks", 402 "MetricGroup": "Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_l3_bound_group", 403 "MetricName": "tma_data_sharing", 404 "MetricThreshold": "tma_data_sharing > 0.05 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 405 "PublicDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to data-sharing accesses. Data shared by multiple Logical Processors (even just read shared) may cause increased access latency due to cache coherency. Excessive data sharing can drastically harm multithreaded performance. Sample with: MEM_LOAD_L3_HIT_RETIRED.XSNP_HIT_PS. Related metrics: tma_contested_accesses, tma_false_sharing, tma_machine_clears, tma_remote_cache", 406 "ScaleUnit": "100%" 407 }, 408 { 409 "BriefDescription": "This metric represents fraction of cycles where decoder-0 was the only active decoder", 410 "MetricExpr": "(cpu@INST_DECODED.DECODERS\\,cmask\\=1@ - cpu@INST_DECODED.DECODERS\\,cmask\\=2@) / tma_info_core_core_clks / 2", 411 "MetricGroup": "DSBmiss;FetchBW;TopdownL4;tma_L4_group;tma_issueD0;tma_mite_group", 412 "MetricName": "tma_decoder0_alone", 413 "MetricThreshold": "tma_decoder0_alone > 0.1 & (tma_mite > 0.1 & tma_fetch_bandwidth > 0.2)", 414 "PublicDescription": "This metric represents fraction of cycles where decoder-0 was the only active decoder. Related metrics: tma_few_uops_instructions", 415 "ScaleUnit": "100%" 416 }, 417 { 418 "BriefDescription": "This metric represents fraction of cycles where the Divider unit was active", 419 "MetricExpr": "ARITH.DIVIDER_ACTIVE / tma_info_thread_clks", 420 "MetricGroup": "TopdownL3;tma_L3_group;tma_core_bound_group", 421 "MetricName": "tma_divider", 422 "MetricThreshold": "tma_divider > 0.2 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", 423 "PublicDescription": "This metric represents fraction of cycles where the Divider unit was active. Divide and square root instructions are performed by the Divider unit and can take considerably longer latency than integer or Floating Point addition; subtraction; or multiplication. Sample with: ARITH.DIVIDER_ACTIVE", 424 "ScaleUnit": "100%" 425 }, 426 { 427 "BriefDescription": "This metric estimates how often the CPU was stalled on accesses to external memory (DRAM) by loads", 428 "MetricConstraint": "NO_GROUP_EVENTS", 429 "MetricExpr": "CYCLE_ACTIVITY.STALLS_L3_MISS / tma_info_thread_clks + (CYCLE_ACTIVITY.STALLS_L1D_MISS - CYCLE_ACTIVITY.STALLS_L2_MISS) / tma_info_thread_clks - tma_l2_bound", 430 "MetricGroup": "MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 431 "MetricName": "tma_dram_bound", 432 "MetricThreshold": "tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 433 "PublicDescription": "This metric estimates how often the CPU was stalled on accesses to external memory (DRAM) by loads. Better caching can improve the latency and increase performance. Sample with: MEM_LOAD_RETIRED.L3_MISS_PS", 434 "ScaleUnit": "100%" 435 }, 436 { 437 "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to DSB (decoded uop cache) fetch pipeline", 438 "MetricExpr": "(IDQ.DSB_CYCLES_ANY - IDQ.DSB_CYCLES_OK) / tma_info_core_core_clks / 2", 439 "MetricGroup": "DSB;FetchBW;TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 440 "MetricName": "tma_dsb", 441 "MetricThreshold": "tma_dsb > 0.15 & tma_fetch_bandwidth > 0.2", 442 "PublicDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to DSB (decoded uop cache) fetch pipeline. For example; inefficient utilization of the DSB cache structure or bank conflict when reading from it; are categorized here.", 443 "ScaleUnit": "100%" 444 }, 445 { 446 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to switches from DSB to MITE pipelines", 447 "MetricExpr": "DSB2MITE_SWITCHES.PENALTY_CYCLES / tma_info_thread_clks", 448 "MetricGroup": "DSBmiss;FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueFB", 449 "MetricName": "tma_dsb_switches", 450 "MetricThreshold": "tma_dsb_switches > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 451 "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to switches from DSB to MITE pipelines. The DSB (decoded i-cache) is a Uop Cache where the front-end directly delivers Uops (micro operations) avoiding heavy x86 decoding. The DSB pipeline has shorter latency and delivered higher bandwidth than the MITE (legacy instruction decode pipeline). Switching between the two pipelines can cause penalties hence this metric measures the exposed penalty. Sample with: FRONTEND_RETIRED.DSB_MISS_PS. Related metrics: tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp", 452 "ScaleUnit": "100%" 453 }, 454 { 455 "BriefDescription": "This metric roughly estimates the fraction of cycles where the Data TLB (DTLB) was missed by load accesses", 456 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 457 "MetricExpr": "min(9 * cpu@DTLB_LOAD_MISSES.STLB_HIT\\,cmask\\=1@ + DTLB_LOAD_MISSES.WALK_ACTIVE, max(CYCLE_ACTIVITY.CYCLES_MEM_ANY - CYCLE_ACTIVITY.CYCLES_L1D_MISS, 0)) / tma_info_thread_clks", 458 "MetricGroup": "MemoryTLB;TopdownL4;tma_L4_group;tma_issueTLB;tma_l1_bound_group", 459 "MetricName": "tma_dtlb_load", 460 "MetricThreshold": "tma_dtlb_load > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 461 "PublicDescription": "This metric roughly estimates the fraction of cycles where the Data TLB (DTLB) was missed by load accesses. TLBs (Translation Look-aside Buffers) are processor caches for recently used entries out of the Page Tables that are used to map virtual- to physical-addresses by the operating system. This metric approximates the potential delay of demand loads missing the first-level data TLB (assuming worst case scenario with back to back misses to different pages). This includes hitting in the second-level TLB (STLB) as well as performing a hardware page walk on an STLB miss. Sample with: MEM_INST_RETIRED.STLB_MISS_LOADS_PS. Related metrics: tma_dtlb_store, tma_info_bottleneck_memory_data_tlbs, tma_info_bottleneck_memory_synchronization", 462 "ScaleUnit": "100%" 463 }, 464 { 465 "BriefDescription": "This metric roughly estimates the fraction of cycles spent handling first-level data TLB store misses", 466 "MetricExpr": "(9 * cpu@DTLB_STORE_MISSES.STLB_HIT\\,cmask\\=1@ + DTLB_STORE_MISSES.WALK_ACTIVE) / tma_info_core_core_clks", 467 "MetricGroup": "MemoryTLB;TopdownL4;tma_L4_group;tma_issueTLB;tma_store_bound_group", 468 "MetricName": "tma_dtlb_store", 469 "MetricThreshold": "tma_dtlb_store > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 470 "PublicDescription": "This metric roughly estimates the fraction of cycles spent handling first-level data TLB store misses. As with ordinary data caching; focus on improving data locality and reducing working-set size to reduce DTLB overhead. Additionally; consider using profile-guided optimization (PGO) to collocate frequently-used data on the same page. Try using larger page sizes for large amounts of frequently-used data. Sample with: MEM_INST_RETIRED.STLB_MISS_STORES_PS. Related metrics: tma_dtlb_load, tma_info_bottleneck_memory_data_tlbs, tma_info_bottleneck_memory_synchronization", 471 "ScaleUnit": "100%" 472 }, 473 { 474 "BriefDescription": "This metric roughly estimates how often CPU was handling synchronizations due to False Sharing", 475 "MetricConstraint": "NO_GROUP_EVENTS", 476 "MetricExpr": "(110 * tma_info_system_core_frequency * (OFFCORE_RESPONSE.DEMAND_RFO.L3_MISS.REMOTE_HITM + OFFCORE_RESPONSE.PF_L2_RFO.L3_MISS.REMOTE_HITM) + 47.5 * tma_info_system_core_frequency * (OFFCORE_RESPONSE.DEMAND_RFO.L3_HIT.HITM_OTHER_CORE + OFFCORE_RESPONSE.PF_L2_RFO.L3_HIT.HITM_OTHER_CORE)) / tma_info_thread_clks", 477 "MetricGroup": "DataSharing;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_store_bound_group", 478 "MetricName": "tma_false_sharing", 479 "MetricThreshold": "tma_false_sharing > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 480 "PublicDescription": "This metric roughly estimates how often CPU was handling synchronizations due to False Sharing. False Sharing is a multithreading hiccup; where multiple Logical Processors contend on different data-elements mapped into the same cache line. Sample with: MEM_LOAD_L3_HIT_RETIRED.XSNP_HITM_PS;OFFCORE_RESPONSE.DEMAND_RFO.L3_HIT.SNOOP_HITM. Related metrics: tma_contested_accesses, tma_data_sharing, tma_machine_clears, tma_remote_cache", 481 "ScaleUnit": "100%" 482 }, 483 { 484 "BriefDescription": "This metric does a *rough estimation* of how often L1D Fill Buffer unavailability limited additional L1D miss memory access requests to proceed", 485 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 486 "MetricExpr": "tma_info_memory_load_miss_real_latency * cpu@L1D_PEND_MISS.FB_FULL\\,cmask\\=1@ / tma_info_thread_clks", 487 "MetricGroup": "MemoryBW;TopdownL4;tma_L4_group;tma_issueBW;tma_issueSL;tma_issueSmSt;tma_l1_bound_group", 488 "MetricName": "tma_fb_full", 489 "MetricThreshold": "tma_fb_full > 0.3", 490 "PublicDescription": "This metric does a *rough estimation* of how often L1D Fill Buffer unavailability limited additional L1D miss memory access requests to proceed. The higher the metric value; the deeper the memory hierarchy level the misses are satisfied from (metric values >1 are valid). Often it hints on approaching bandwidth limits (to L2 cache; L3 cache or external memory). Related metrics: tma_info_bottleneck_cache_memory_bandwidth, tma_info_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full, tma_store_latency, tma_streaming_stores", 491 "ScaleUnit": "100%" 492 }, 493 { 494 "BriefDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend bandwidth issues", 495 "MetricExpr": "tma_frontend_bound - tma_fetch_latency", 496 "MetricGroup": "FetchBW;Frontend;TmaL2;TopdownL2;tma_L2_group;tma_frontend_bound_group;tma_issueFB", 497 "MetricName": "tma_fetch_bandwidth", 498 "MetricThreshold": "tma_fetch_bandwidth > 0.2", 499 "MetricgroupNoGroup": "TopdownL2", 500 "PublicDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend bandwidth issues. For example; inefficiencies at the instruction decoders; or restrictions for caching in the DSB (decoded uops cache) are categorized under Fetch Bandwidth. In such cases; the Frontend typically delivers suboptimal amount of uops to the Backend. Sample with: FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1_PS;FRONTEND_RETIRED.LATENCY_GE_1_PS;FRONTEND_RETIRED.LATENCY_GE_2_PS. Related metrics: tma_dsb_switches, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp", 501 "ScaleUnit": "100%" 502 }, 503 { 504 "BriefDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend latency issues", 505 "MetricExpr": "4 * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / tma_info_thread_slots", 506 "MetricGroup": "Frontend;TmaL2;TopdownL2;tma_L2_group;tma_frontend_bound_group", 507 "MetricName": "tma_fetch_latency", 508 "MetricThreshold": "tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15", 509 "MetricgroupNoGroup": "TopdownL2", 510 "PublicDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend latency issues. For example; instruction-cache misses; iTLB misses or fetch stalls after a branch misprediction are categorized under Frontend Latency. In such cases; the Frontend eventually delivers no uops for some period. Sample with: FRONTEND_RETIRED.LATENCY_GE_16_PS;FRONTEND_RETIRED.LATENCY_GE_8_PS", 511 "ScaleUnit": "100%" 512 }, 513 { 514 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring instructions that that are decoder into two or up to ([SNB+] four; [ADL+] five) uops", 515 "MetricExpr": "tma_heavy_operations - tma_microcode_sequencer", 516 "MetricGroup": "TopdownL3;tma_L3_group;tma_heavy_operations_group;tma_issueD0", 517 "MetricName": "tma_few_uops_instructions", 518 "MetricThreshold": "tma_few_uops_instructions > 0.05 & tma_heavy_operations > 0.1", 519 "PublicDescription": "This metric represents fraction of slots where the CPU was retiring instructions that that are decoder into two or up to ([SNB+] four; [ADL+] five) uops. This highly-correlates with the number of uops in such instructions. Related metrics: tma_decoder0_alone", 520 "ScaleUnit": "100%" 521 }, 522 { 523 "BriefDescription": "This metric represents overall arithmetic floating-point (FP) operations fraction the CPU has executed (retired)", 524 "MetricConstraint": "NO_GROUP_EVENTS", 525 "MetricExpr": "tma_x87_use + tma_fp_scalar + tma_fp_vector", 526 "MetricGroup": "HPC;TopdownL3;tma_L3_group;tma_light_operations_group", 527 "MetricName": "tma_fp_arith", 528 "MetricThreshold": "tma_fp_arith > 0.2 & tma_light_operations > 0.6", 529 "PublicDescription": "This metric represents overall arithmetic floating-point (FP) operations fraction the CPU has executed (retired). Note this metric's value may exceed its parent due to use of \"Uops\" CountDomain and FMA double-counting.", 530 "ScaleUnit": "100%" 531 }, 532 { 533 "BriefDescription": "This metric roughly estimates fraction of slots the CPU retired uops as a result of handing Floating Point (FP) Assists", 534 "MetricExpr": "34 * FP_ASSIST.ANY / tma_info_thread_slots", 535 "MetricGroup": "HPC;TopdownL5;tma_L5_group;tma_assists_group", 536 "MetricName": "tma_fp_assists", 537 "MetricThreshold": "tma_fp_assists > 0.1", 538 "PublicDescription": "This metric roughly estimates fraction of slots the CPU retired uops as a result of handing Floating Point (FP) Assists. FP Assist may apply when working with very small floating point values (so-called Denormals).", 539 "ScaleUnit": "100%" 540 }, 541 { 542 "BriefDescription": "This metric approximates arithmetic floating-point (FP) scalar uops fraction the CPU has retired", 543 "MetricExpr": "cpu@FP_ARITH_INST_RETIRED.SCALAR_SINGLE\\,umask\\=0x03@ / UOPS_RETIRED.RETIRE_SLOTS", 544 "MetricGroup": "Compute;Flops;TopdownL4;tma_L4_group;tma_fp_arith_group;tma_issue2P", 545 "MetricName": "tma_fp_scalar", 546 "MetricThreshold": "tma_fp_scalar > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", 547 "PublicDescription": "This metric approximates arithmetic floating-point (FP) scalar uops fraction the CPU has retired. May overcount due to FMA double counting. Related metrics: tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 548 "ScaleUnit": "100%" 549 }, 550 { 551 "BriefDescription": "This metric approximates arithmetic floating-point (FP) vector uops fraction the CPU has retired aggregated across all vector widths", 552 "MetricConstraint": "NO_GROUP_EVENTS", 553 "MetricExpr": "cpu@FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE\\,umask\\=0xfc@ / UOPS_RETIRED.RETIRE_SLOTS", 554 "MetricGroup": "Compute;Flops;TopdownL4;tma_L4_group;tma_fp_arith_group;tma_issue2P", 555 "MetricName": "tma_fp_vector", 556 "MetricThreshold": "tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", 557 "PublicDescription": "This metric approximates arithmetic floating-point (FP) vector uops fraction the CPU has retired aggregated across all vector widths. May overcount due to FMA double counting. Related metrics: tma_fp_scalar, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 558 "ScaleUnit": "100%" 559 }, 560 { 561 "BriefDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 128-bit wide vectors", 562 "MetricExpr": "(FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE) / UOPS_RETIRED.RETIRE_SLOTS", 563 "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P", 564 "MetricName": "tma_fp_vector_128b", 565 "MetricThreshold": "tma_fp_vector_128b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))", 566 "PublicDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 128-bit wide vectors. May overcount due to FMA double counting. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 567 "ScaleUnit": "100%" 568 }, 569 { 570 "BriefDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 256-bit wide vectors", 571 "MetricExpr": "(FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE) / UOPS_RETIRED.RETIRE_SLOTS", 572 "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P", 573 "MetricName": "tma_fp_vector_256b", 574 "MetricThreshold": "tma_fp_vector_256b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))", 575 "PublicDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 256-bit wide vectors. May overcount due to FMA double counting. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 576 "ScaleUnit": "100%" 577 }, 578 { 579 "BriefDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 512-bit wide vectors", 580 "MetricExpr": "(FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE) / UOPS_RETIRED.RETIRE_SLOTS", 581 "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P", 582 "MetricName": "tma_fp_vector_512b", 583 "MetricThreshold": "tma_fp_vector_512b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))", 584 "PublicDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 512-bit wide vectors. May overcount due to FMA double counting. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 585 "ScaleUnit": "100%" 586 }, 587 { 588 "BriefDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend", 589 "MetricExpr": "IDQ_UOPS_NOT_DELIVERED.CORE / tma_info_thread_slots", 590 "MetricGroup": "PGO;TmaL1;TopdownL1;tma_L1_group", 591 "MetricName": "tma_frontend_bound", 592 "MetricThreshold": "tma_frontend_bound > 0.15", 593 "MetricgroupNoGroup": "TopdownL1", 594 "PublicDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of the processor core responsible to fetch operations that are executed later on by the Backend part. Within the Frontend; a branch predictor predicts the next address to fetch; cache-lines are fetched from the memory subsystem; parsed into instructions; and lastly decoded into micro-operations (uops). Ideally the Frontend can issue Pipeline_Width uops every cycle to the Backend. Frontend Bound denotes unutilized issue-slots when there is no Backend stall; i.e. bubbles where Frontend delivered no uops while Backend could have accepted them. For example; stalls due to instruction-cache misses would be categorized under Frontend Bound. Sample with: FRONTEND_RETIRED.LATENCY_GE_4_PS", 595 "ScaleUnit": "100%" 596 }, 597 { 598 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring fused instructions -- where one uop can represent multiple contiguous instructions", 599 "MetricExpr": "tma_light_operations * UOPS_RETIRED.MACRO_FUSED / UOPS_RETIRED.RETIRE_SLOTS", 600 "MetricGroup": "Branches;Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group", 601 "MetricName": "tma_fused_instructions", 602 "MetricThreshold": "tma_fused_instructions > 0.1 & tma_light_operations > 0.6", 603 "PublicDescription": "This metric represents fraction of slots where the CPU was retiring fused instructions -- where one uop can represent multiple contiguous instructions. CMP+JCC or DEC+JCC are common examples of legacy fusions. {([MTL] Note new MOV+OP and Load+OP fusions appear under Other_Light_Ops in MTL!)}", 604 "ScaleUnit": "100%" 605 }, 606 { 607 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring heavy-weight operations -- instructions that require two or more uops or micro-coded sequences", 608 "MetricExpr": "(UOPS_RETIRED.RETIRE_SLOTS + UOPS_RETIRED.MACRO_FUSED - INST_RETIRED.ANY) / tma_info_thread_slots", 609 "MetricGroup": "Retire;TmaL2;TopdownL2;tma_L2_group;tma_retiring_group", 610 "MetricName": "tma_heavy_operations", 611 "MetricThreshold": "tma_heavy_operations > 0.1", 612 "MetricgroupNoGroup": "TopdownL2", 613 "PublicDescription": "This metric represents fraction of slots where the CPU was retiring heavy-weight operations -- instructions that require two or more uops or micro-coded sequences. This highly-correlates with the uop length of these instructions/sequences. ([ICL+] Note this may overcount due to approximation using indirect events; [ADL+] .)", 614 "ScaleUnit": "100%" 615 }, 616 { 617 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to instruction cache misses", 618 "MetricExpr": "(ICACHE_16B.IFDATA_STALL + 2 * cpu@ICACHE_16B.IFDATA_STALL\\,cmask\\=1\\,edge@) / tma_info_thread_clks", 619 "MetricGroup": "BigFootprint;FetchLat;IcMiss;TopdownL3;tma_L3_group;tma_fetch_latency_group", 620 "MetricName": "tma_icache_misses", 621 "MetricThreshold": "tma_icache_misses > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 622 "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to instruction cache misses. Sample with: FRONTEND_RETIRED.L2_MISS_PS;FRONTEND_RETIRED.L1I_MISS_PS", 623 "ScaleUnit": "100%" 624 }, 625 { 626 "BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative branch misprediction (retired JEClear)", 627 "MetricExpr": "tma_info_bottleneck_mispredictions * tma_info_thread_slots / BR_MISP_RETIRED.ALL_BRANCHES / 100", 628 "MetricGroup": "Bad;BrMispredicts;tma_issueBM", 629 "MetricName": "tma_info_bad_spec_branch_misprediction_cost", 630 "PublicDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative branch misprediction (retired JEClear). Related metrics: tma_branch_mispredicts, tma_info_bottleneck_mispredictions, tma_mispredicts_resteers" 631 }, 632 { 633 "BriefDescription": "Instructions per retired mispredicts for indirect CALL or JMP branches (lower number means higher occurrence rate).", 634 "MetricExpr": "tma_info_inst_mix_instructions / (UOPS_RETIRED.RETIRE_SLOTS / UOPS_ISSUED.ANY * BR_MISP_EXEC.INDIRECT)", 635 "MetricGroup": "Bad;BrMispredicts", 636 "MetricName": "tma_info_bad_spec_ipmisp_indirect", 637 "MetricThreshold": "tma_info_bad_spec_ipmisp_indirect < 1e3" 638 }, 639 { 640 "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction (JEClear) (lower number means higher occurrence rate)", 641 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES", 642 "MetricGroup": "Bad;BadSpec;BrMispredicts", 643 "MetricName": "tma_info_bad_spec_ipmispredict", 644 "MetricThreshold": "tma_info_bad_spec_ipmispredict < 200" 645 }, 646 { 647 "BriefDescription": "Speculative to Retired ratio of all clears (covering mispredicts and nukes)", 648 "MetricExpr": "INT_MISC.CLEARS_COUNT / (BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT)", 649 "MetricGroup": "BrMispredicts", 650 "MetricName": "tma_info_bad_spec_spec_clears_ratio" 651 }, 652 { 653 "BriefDescription": "Probability of Core Bound bottleneck hidden by SMT-profiling artifacts", 654 "MetricExpr": "(100 * (1 - tma_core_bound / (((EXE_ACTIVITY.EXE_BOUND_0_PORTS + tma_core_bound * RS_EVENTS.EMPTY_CYCLES) / CPU_CLK_UNHALTED.THREAD * (CYCLE_ACTIVITY.STALLS_TOTAL - CYCLE_ACTIVITY.STALLS_MEM_ANY) / CPU_CLK_UNHALTED.THREAD * CPU_CLK_UNHALTED.THREAD + (EXE_ACTIVITY.1_PORTS_UTIL + tma_retiring * EXE_ACTIVITY.2_PORTS_UTIL)) / CPU_CLK_UNHALTED.THREAD if ARITH.DIVIDER_ACTIVE < CYCLE_ACTIVITY.STALLS_TOTAL - CYCLE_ACTIVITY.STALLS_MEM_ANY else (EXE_ACTIVITY.1_PORTS_UTIL + tma_retiring * EXE_ACTIVITY.2_PORTS_UTIL) / CPU_CLK_UNHALTED.THREAD) if tma_core_bound < (((EXE_ACTIVITY.EXE_BOUND_0_PORTS + tma_core_bound * RS_EVENTS.EMPTY_CYCLES) / CPU_CLK_UNHALTED.THREAD * (CYCLE_ACTIVITY.STALLS_TOTAL - CYCLE_ACTIVITY.STALLS_MEM_ANY) / CPU_CLK_UNHALTED.THREAD * CPU_CLK_UNHALTED.THREAD + (EXE_ACTIVITY.1_PORTS_UTIL + tma_retiring * EXE_ACTIVITY.2_PORTS_UTIL)) / CPU_CLK_UNHALTED.THREAD if ARITH.DIVIDER_ACTIVE < CYCLE_ACTIVITY.STALLS_TOTAL - CYCLE_ACTIVITY.STALLS_MEM_ANY else (EXE_ACTIVITY.1_PORTS_UTIL + tma_retiring * EXE_ACTIVITY.2_PORTS_UTIL) / CPU_CLK_UNHALTED.THREAD) else 1) if tma_info_system_smt_2t_utilization > 0.5 else 0)", 655 "MetricGroup": "Cor;SMT", 656 "MetricName": "tma_info_botlnk_core_bound_likely" 657 }, 658 { 659 "BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fetch_BW Bottleneck.", 660 "MetricExpr": "100 * (100 * (tma_fetch_latency * (DSB2MITE_SWITCHES.PENALTY_CYCLES / CPU_CLK_UNHALTED.THREAD) / ((ICACHE_16B.IFDATA_STALL + 2 * cpu@ICACHE_16B.IFDATA_STALL\\,cmask\\=0x1\\,edge\\=0x1@) / CPU_CLK_UNHALTED.THREAD + ICACHE_TAG.STALLS / CPU_CLK_UNHALTED.THREAD + (INT_MISC.CLEAR_RESTEER_CYCLES / CPU_CLK_UNHALTED.THREAD + 9 * BACLEARS.ANY / CPU_CLK_UNHALTED.THREAD) + min(2 * IDQ.MS_SWITCHES / CPU_CLK_UNHALTED.THREAD, 1) + DECODE.LCP / CPU_CLK_UNHALTED.THREAD + DSB2MITE_SWITCHES.PENALTY_CYCLES / CPU_CLK_UNHALTED.THREAD) + tma_fetch_bandwidth * tma_mite / (tma_mite + tma_dsb)))", 661 "MetricGroup": "DSBmiss;Fed", 662 "MetricName": "tma_info_botlnk_dsb_misses" 663 }, 664 { 665 "BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bottleneck.", 666 "MetricExpr": "100 * (100 * (tma_fetch_latency * ((ICACHE_16B.IFDATA_STALL + 2 * cpu@ICACHE_16B.IFDATA_STALL\\,cmask\\=0x1\\,edge\\=0x1@) / CPU_CLK_UNHALTED.THREAD) / ((ICACHE_16B.IFDATA_STALL + 2 * cpu@ICACHE_16B.IFDATA_STALL\\,cmask\\=0x1\\,edge\\=0x1@) / CPU_CLK_UNHALTED.THREAD + ICACHE_TAG.STALLS / CPU_CLK_UNHALTED.THREAD + (INT_MISC.CLEAR_RESTEER_CYCLES / CPU_CLK_UNHALTED.THREAD + 9 * BACLEARS.ANY / CPU_CLK_UNHALTED.THREAD) + min(2 * IDQ.MS_SWITCHES / CPU_CLK_UNHALTED.THREAD, 1) + DECODE.LCP / CPU_CLK_UNHALTED.THREAD + DSB2MITE_SWITCHES.PENALTY_CYCLES / CPU_CLK_UNHALTED.THREAD)))", 667 "MetricGroup": "Fed;FetchLat;IcMiss", 668 "MetricName": "tma_info_botlnk_ic_misses" 669 }, 670 { 671 "BriefDescription": "Probability of Core Bound bottleneck hidden by SMT-profiling artifacts", 672 "MetricConstraint": "NO_GROUP_EVENTS", 673 "MetricExpr": "(100 * (1 - tma_core_bound / tma_ports_utilization if tma_core_bound < tma_ports_utilization else 1) if tma_info_system_smt_2t_utilization > 0.5 else 0)", 674 "MetricGroup": "Cor;SMT", 675 "MetricName": "tma_info_botlnk_l0_core_bound_likely", 676 "MetricThreshold": "tma_info_botlnk_l0_core_bound_likely > 0.5" 677 }, 678 { 679 "BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fetch_BW Bottleneck", 680 "MetricConstraint": "NO_GROUP_EVENTS", 681 "MetricExpr": "100 * (tma_fetch_latency * tma_dsb_switches / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches) + tma_fetch_bandwidth * tma_mite / (tma_dsb + tma_mite))", 682 "MetricGroup": "DSBmiss;Fed;tma_issueFB", 683 "MetricName": "tma_info_botlnk_l2_dsb_misses", 684 "MetricThreshold": "tma_info_botlnk_l2_dsb_misses > 10", 685 "PublicDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fetch_BW Bottleneck. Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp" 686 }, 687 { 688 "BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bottleneck", 689 "MetricExpr": "100 * (tma_fetch_latency * tma_icache_misses / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches))", 690 "MetricGroup": "Fed;FetchLat;IcMiss;tma_issueFL", 691 "MetricName": "tma_info_botlnk_l2_ic_misses", 692 "MetricThreshold": "tma_info_botlnk_l2_ic_misses > 5", 693 "PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bottleneck. Related metrics: " 694 }, 695 { 696 "BriefDescription": "Total pipeline cost of \"useful operations\" - the baseline operations not covered by Branching_Overhead nor Irregular_Overhead.", 697 "MetricExpr": "100 * (tma_retiring - (BR_INST_RETIRED.ALL_BRANCHES + BR_INST_RETIRED.NEAR_CALL) / tma_info_thread_slots - tma_microcode_sequencer / (tma_few_uops_instructions + tma_microcode_sequencer) * (tma_assists / tma_microcode_sequencer) * tma_heavy_operations)", 698 "MetricGroup": "Ret", 699 "MetricName": "tma_info_bottleneck_base_non_br", 700 "MetricThreshold": "tma_info_bottleneck_base_non_br > 20" 701 }, 702 { 703 "BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code footprint programs (i-side cache; TLB and BTB misses)", 704 "MetricConstraint": "NO_GROUP_EVENTS", 705 "MetricExpr": "100 * tma_fetch_latency * (tma_itlb_misses + tma_icache_misses + tma_unknown_branches) / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches)", 706 "MetricGroup": "BigFootprint;Fed;Frontend;IcMiss;MemoryTLB", 707 "MetricName": "tma_info_bottleneck_big_code", 708 "MetricThreshold": "tma_info_bottleneck_big_code > 20" 709 }, 710 { 711 "BriefDescription": "Total pipeline cost of branch related instructions (used for program control-flow including function calls)", 712 "MetricExpr": "100 * ((BR_INST_RETIRED.ALL_BRANCHES + BR_INST_RETIRED.NEAR_CALL) / tma_info_thread_slots)", 713 "MetricGroup": "Ret", 714 "MetricName": "tma_info_bottleneck_branching_overhead", 715 "MetricThreshold": "tma_info_bottleneck_branching_overhead > 5" 716 }, 717 { 718 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks", 719 "MetricExpr": "100 * (tma_memory_bound * (tma_dram_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_mem_bandwidth / (tma_mem_bandwidth + tma_mem_latency)) + tma_memory_bound * (tma_l3_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_sq_full / (tma_contested_accesses + tma_data_sharing + tma_l3_hit_latency + tma_sq_full)) + tma_memory_bound * (tma_l1_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_fb_full / (tma_4k_aliasing + tma_dtlb_load + tma_fb_full + tma_lock_latency + tma_split_loads + tma_store_fwd_blk)))", 720 "MetricGroup": "Mem;MemoryBW;Offcore;tma_issueBW", 721 "MetricName": "tma_info_bottleneck_cache_memory_bandwidth", 722 "MetricThreshold": "tma_info_bottleneck_cache_memory_bandwidth > 20", 723 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks. Related metrics: tma_fb_full, tma_info_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full" 724 }, 725 { 726 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks", 727 "MetricExpr": "100 * (tma_memory_bound * (tma_dram_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_mem_latency / (tma_mem_bandwidth + tma_mem_latency)) + tma_memory_bound * (tma_l3_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_l3_hit_latency / (tma_contested_accesses + tma_data_sharing + tma_l3_hit_latency + tma_sq_full)) + tma_memory_bound * tma_l2_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound) + tma_memory_bound * (tma_store_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_store_latency / (tma_dtlb_store + tma_false_sharing + tma_split_stores + tma_store_latency)))", 728 "MetricGroup": "Mem;MemoryLat;Offcore;tma_issueLat", 729 "MetricName": "tma_info_bottleneck_cache_memory_latency", 730 "MetricThreshold": "tma_info_bottleneck_cache_memory_latency > 20", 731 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks. Related metrics: tma_l3_hit_latency, tma_mem_latency" 732 }, 733 { 734 "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation", 735 "MetricExpr": "100 * (tma_core_bound * tma_divider / (tma_divider + tma_ports_utilization + tma_serializing_operation) + tma_core_bound * (tma_ports_utilization / (tma_divider + tma_ports_utilization + tma_serializing_operation)) * (tma_ports_utilized_3m / (tma_ports_utilized_0 + tma_ports_utilized_1 + tma_ports_utilized_2 + tma_ports_utilized_3m)))", 736 "MetricGroup": "Cor;tma_issueComp", 737 "MetricName": "tma_info_bottleneck_compute_bound_est", 738 "MetricThreshold": "tma_info_bottleneck_compute_bound_est > 20", 739 "PublicDescription": "Total pipeline cost when the execution is compute-bound - an estimation. Covers Core Bound when High ILP as well as when long-latency execution units are busy. Related metrics: " 740 }, 741 { 742 "BriefDescription": "Total pipeline cost of instruction fetch bandwidth related bottlenecks", 743 "MetricConstraint": "NO_GROUP_EVENTS", 744 "MetricExpr": "100 * (tma_frontend_bound - (1 - 10 * tma_microcode_sequencer * tma_other_mispredicts / tma_branch_mispredicts) * tma_fetch_latency * tma_mispredicts_resteers / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches) - tma_microcode_sequencer / (tma_few_uops_instructions + tma_microcode_sequencer) * (tma_assists / tma_microcode_sequencer) * tma_fetch_latency * (tma_ms_switches + tma_branch_resteers * (tma_clears_resteers + tma_mispredicts_resteers * (10 * tma_microcode_sequencer * tma_other_mispredicts / tma_branch_mispredicts)) / (tma_clears_resteers + tma_mispredicts_resteers + tma_unknown_branches)) / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches)) - tma_info_bottleneck_big_code", 745 "MetricGroup": "Fed;FetchBW;Frontend", 746 "MetricName": "tma_info_bottleneck_instruction_fetch_bw", 747 "MetricThreshold": "tma_info_bottleneck_instruction_fetch_bw > 20" 748 }, 749 { 750 "BriefDescription": "Total pipeline cost of irregular execution (e.g", 751 "MetricExpr": "100 * (tma_microcode_sequencer / (tma_few_uops_instructions + tma_microcode_sequencer) * (tma_assists / tma_microcode_sequencer) * tma_fetch_latency * (tma_ms_switches + tma_branch_resteers * (tma_clears_resteers + tma_mispredicts_resteers * (10 * tma_microcode_sequencer * tma_other_mispredicts / tma_branch_mispredicts)) / (tma_clears_resteers + tma_mispredicts_resteers + tma_unknown_branches)) / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches) + 10 * tma_microcode_sequencer * tma_other_mispredicts / tma_branch_mispredicts * tma_branch_mispredicts + tma_machine_clears * tma_other_nukes / tma_other_nukes + tma_core_bound * (tma_serializing_operation + tma_core_bound * RS_EVENTS.EMPTY_CYCLES / tma_info_thread_clks * tma_ports_utilized_0) / (tma_divider + tma_ports_utilization + tma_serializing_operation) + tma_microcode_sequencer / (tma_few_uops_instructions + tma_microcode_sequencer) * (tma_assists / tma_microcode_sequencer) * tma_heavy_operations)", 752 "MetricGroup": "Bad;Cor;Ret;tma_issueMS", 753 "MetricName": "tma_info_bottleneck_irregular_overhead", 754 "MetricThreshold": "tma_info_bottleneck_irregular_overhead > 10", 755 "PublicDescription": "Total pipeline cost of irregular execution (e.g. FP-assists in HPC, Wait time with work imbalance multithreaded workloads, overhead in system services or virtualized environments). Related metrics: tma_microcode_sequencer, tma_ms_switches" 756 }, 757 { 758 "BriefDescription": "Total pipeline cost of Memory Address Translation related bottlenecks (data-side TLBs)", 759 "MetricConstraint": "NO_GROUP_EVENTS", 760 "MetricExpr": "100 * (tma_memory_bound * (tma_l1_bound / max(tma_memory_bound, tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_dtlb_load / max(tma_l1_bound, tma_4k_aliasing + tma_dtlb_load + tma_fb_full + tma_lock_latency + tma_split_loads + tma_store_fwd_blk)) + tma_memory_bound * (tma_store_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound)) * (tma_dtlb_store / (tma_dtlb_store + tma_false_sharing + tma_split_stores + tma_store_latency)))", 761 "MetricGroup": "Mem;MemoryTLB;Offcore;tma_issueTLB", 762 "MetricName": "tma_info_bottleneck_memory_data_tlbs", 763 "MetricThreshold": "tma_info_bottleneck_memory_data_tlbs > 20", 764 "PublicDescription": "Total pipeline cost of Memory Address Translation related bottlenecks (data-side TLBs). Related metrics: tma_dtlb_load, tma_dtlb_store, tma_info_bottleneck_memory_synchronization" 765 }, 766 { 767 "BriefDescription": "Total pipeline cost of Memory Synchronization related bottlenecks (data transfers and coherency updates across processors)", 768 "MetricExpr": "100 * (tma_memory_bound * (tma_dram_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound) * (tma_mem_latency / (tma_mem_bandwidth + tma_mem_latency)) * tma_remote_cache / (tma_local_mem + tma_remote_cache + tma_remote_mem) + tma_l3_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound) * (tma_contested_accesses + tma_data_sharing) / (tma_contested_accesses + tma_data_sharing + tma_l3_hit_latency + tma_sq_full) + tma_store_bound / (tma_dram_bound + tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_store_bound) * tma_false_sharing / (tma_dtlb_store + tma_false_sharing + tma_split_stores + tma_store_latency - tma_store_latency)) + tma_machine_clears * (1 - tma_other_nukes / tma_other_nukes))", 769 "MetricGroup": "Mem;Offcore;tma_issueTLB", 770 "MetricName": "tma_info_bottleneck_memory_synchronization", 771 "MetricThreshold": "tma_info_bottleneck_memory_synchronization > 10", 772 "PublicDescription": "Total pipeline cost of Memory Synchronization related bottlenecks (data transfers and coherency updates across processors). Related metrics: tma_dtlb_load, tma_dtlb_store, tma_info_bottleneck_memory_data_tlbs" 773 }, 774 { 775 "BriefDescription": "Total pipeline cost of Branch Misprediction related bottlenecks", 776 "MetricConstraint": "NO_GROUP_EVENTS", 777 "MetricExpr": "100 * (1 - 10 * tma_microcode_sequencer * tma_other_mispredicts / tma_branch_mispredicts) * (tma_branch_mispredicts + tma_fetch_latency * tma_mispredicts_resteers / (tma_branch_resteers + tma_dsb_switches + tma_icache_misses + tma_itlb_misses + tma_lcp + tma_ms_switches))", 778 "MetricGroup": "Bad;BadSpec;BrMispredicts;tma_issueBM", 779 "MetricName": "tma_info_bottleneck_mispredictions", 780 "MetricThreshold": "tma_info_bottleneck_mispredictions > 20", 781 "PublicDescription": "Total pipeline cost of Branch Misprediction related bottlenecks. Related metrics: tma_branch_mispredicts, tma_info_bad_spec_branch_misprediction_cost, tma_mispredicts_resteers" 782 }, 783 { 784 "BriefDescription": "Total pipeline cost of remaining bottlenecks (apart from those listed in the Info.Bottlenecks metrics class)", 785 "MetricExpr": "100 - (tma_info_bottleneck_big_code + tma_info_bottleneck_instruction_fetch_bw + tma_info_bottleneck_mispredictions + tma_info_bottleneck_cache_memory_bandwidth + tma_info_bottleneck_cache_memory_latency + tma_info_bottleneck_memory_data_tlbs + tma_info_bottleneck_memory_synchronization + tma_info_bottleneck_compute_bound_est + tma_info_bottleneck_irregular_overhead + tma_info_bottleneck_branching_overhead + tma_info_bottleneck_base_non_br)", 786 "MetricGroup": "Cor;Offcore", 787 "MetricName": "tma_info_bottleneck_other_bottlenecks", 788 "MetricThreshold": "tma_info_bottleneck_other_bottlenecks > 20", 789 "PublicDescription": "Total pipeline cost of remaining bottlenecks (apart from those listed in the Info.Bottlenecks metrics class). Examples include data-dependencies (Core Bound when Low ILP) and other unlisted memory-related stalls." 790 }, 791 { 792 "BriefDescription": "Fraction of branches that are CALL or RET", 793 "MetricExpr": "(BR_INST_RETIRED.NEAR_CALL + BR_INST_RETIRED.NEAR_RETURN) / BR_INST_RETIRED.ALL_BRANCHES", 794 "MetricGroup": "Bad;Branches", 795 "MetricName": "tma_info_branches_callret" 796 }, 797 { 798 "BriefDescription": "Fraction of branches that are non-taken conditionals", 799 "MetricExpr": "BR_INST_RETIRED.NOT_TAKEN / BR_INST_RETIRED.ALL_BRANCHES", 800 "MetricGroup": "Bad;Branches;CodeGen;PGO", 801 "MetricName": "tma_info_branches_cond_nt" 802 }, 803 { 804 "BriefDescription": "Fraction of branches that are taken conditionals", 805 "MetricExpr": "(BR_INST_RETIRED.CONDITIONAL - BR_INST_RETIRED.NOT_TAKEN) / BR_INST_RETIRED.ALL_BRANCHES", 806 "MetricGroup": "Bad;Branches;CodeGen;PGO", 807 "MetricName": "tma_info_branches_cond_tk" 808 }, 809 { 810 "BriefDescription": "Fraction of branches that are unconditional (direct or indirect) jumps", 811 "MetricConstraint": "NO_GROUP_EVENTS", 812 "MetricExpr": "(BR_INST_RETIRED.NEAR_TAKEN - (BR_INST_RETIRED.COND - BR_INST_RETIRED.NOT_TAKEN) - 2 * BR_INST_RETIRED.NEAR_CALL) / BR_INST_RETIRED.ALL_BRANCHES", 813 "MetricGroup": "Bad;Branches", 814 "MetricName": "tma_info_branches_jump" 815 }, 816 { 817 "BriefDescription": "Core actual clocks when any Logical Processor is active on the Physical Core", 818 "MetricExpr": "(CPU_CLK_UNHALTED.THREAD / 2 * (1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK) if #core_wide < 1 else (CPU_CLK_UNHALTED.THREAD_ANY / 2 if #SMT_on else tma_info_thread_clks))", 819 "MetricGroup": "SMT", 820 "MetricName": "tma_info_core_core_clks" 821 }, 822 { 823 "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)", 824 "MetricExpr": "INST_RETIRED.ANY / tma_info_core_core_clks", 825 "MetricGroup": "Ret;SMT;TmaL1;tma_L1_group", 826 "MetricName": "tma_info_core_coreipc" 827 }, 828 { 829 "BriefDescription": "uops Executed per Cycle", 830 "MetricExpr": "UOPS_EXECUTED.THREAD / tma_info_thread_clks", 831 "MetricGroup": "Power", 832 "MetricName": "tma_info_core_epc" 833 }, 834 { 835 "BriefDescription": "Floating Point Operations Per Cycle", 836 "MetricConstraint": "NO_GROUP_EVENTS", 837 "MetricExpr": "(FP_ARITH_INST_RETIRED.SCALAR + 2 * FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + 4 * FP_ARITH_INST_RETIRED.4_FLOPS + 8 * FP_ARITH_INST_RETIRED.8_FLOPS + 16 * FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE) / tma_info_core_core_clks", 838 "MetricGroup": "Flops;Ret", 839 "MetricName": "tma_info_core_flopc" 840 }, 841 { 842 "BriefDescription": "Actual per-core usage of the Floating Point non-X87 execution units (regardless of precision or vector-width)", 843 "MetricExpr": "(cpu@FP_ARITH_INST_RETIRED.SCALAR_SINGLE\\,umask\\=0x03@ + cpu@FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE\\,umask\\=0xfc@) / (2 * tma_info_core_core_clks)", 844 "MetricGroup": "Cor;Flops;HPC", 845 "MetricName": "tma_info_core_fp_arith_utilization", 846 "PublicDescription": "Actual per-core usage of the Floating Point non-X87 execution units (regardless of precision or vector-width). Values > 1 are possible due to ([BDW+] Fused-Multiply Add (FMA) counting - common; [ADL+] use all of ADD/MUL/FMA in Scalar or 128/256-bit vectors - less common)." 847 }, 848 { 849 "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is execution) per thread (logical-processor)", 850 "MetricExpr": "UOPS_EXECUTED.THREAD / cpu@UOPS_EXECUTED.THREAD\\,cmask\\=1@", 851 "MetricGroup": "Backend;Cor;Pipeline;PortsUtil", 852 "MetricName": "tma_info_core_ilp" 853 }, 854 { 855 "BriefDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache)", 856 "MetricExpr": "IDQ.DSB_UOPS / (IDQ.DSB_UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS)", 857 "MetricGroup": "DSB;Fed;FetchBW;tma_issueFB", 858 "MetricName": "tma_info_frontend_dsb_coverage", 859 "MetricThreshold": "tma_info_frontend_dsb_coverage < 0.7 & tma_info_thread_ipc / 4 > 0.35", 860 "PublicDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache). Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_inst_mix_iptb, tma_lcp" 861 }, 862 { 863 "BriefDescription": "Average number of cycles of a switch from the DSB fetch-unit to MITE fetch unit - see DSB_Switches tree node for details.", 864 "MetricExpr": "DSB2MITE_SWITCHES.PENALTY_CYCLES / DSB2MITE_SWITCHES.COUNT", 865 "MetricGroup": "DSBmiss", 866 "MetricName": "tma_info_frontend_dsb_switch_cost" 867 }, 868 { 869 "BriefDescription": "Average number of Uops issued by front-end when it issued something", 870 "MetricExpr": "UOPS_ISSUED.ANY / cpu@UOPS_ISSUED.ANY\\,cmask\\=1@", 871 "MetricGroup": "Fed;FetchBW", 872 "MetricName": "tma_info_frontend_fetch_upc" 873 }, 874 { 875 "BriefDescription": "Average Latency for L1 instruction cache misses", 876 "MetricExpr": "ICACHE_16B.IFDATA_STALL / cpu@ICACHE_16B.IFDATA_STALL\\,cmask\\=1\\,edge@ + 2", 877 "MetricGroup": "Fed;FetchLat;IcMiss", 878 "MetricName": "tma_info_frontend_icache_miss_latency" 879 }, 880 { 881 "BriefDescription": "Instructions per non-speculative DSB miss (lower number means higher occurrence rate)", 882 "MetricExpr": "INST_RETIRED.ANY / FRONTEND_RETIRED.ANY_DSB_MISS", 883 "MetricGroup": "DSBmiss;Fed", 884 "MetricName": "tma_info_frontend_ipdsb_miss_ret", 885 "MetricThreshold": "tma_info_frontend_ipdsb_miss_ret < 50" 886 }, 887 { 888 "BriefDescription": "Instructions per speculative Unknown Branch Misprediction (BAClear) (lower number means higher occurrence rate)", 889 "MetricExpr": "tma_info_inst_mix_instructions / BACLEARS.ANY", 890 "MetricGroup": "Fed", 891 "MetricName": "tma_info_frontend_ipunknown_branch" 892 }, 893 { 894 "BriefDescription": "L2 cache true code cacheline misses per kilo instruction", 895 "MetricExpr": "1e3 * FRONTEND_RETIRED.L2_MISS / INST_RETIRED.ANY", 896 "MetricGroup": "IcMiss", 897 "MetricName": "tma_info_frontend_l2mpki_code" 898 }, 899 { 900 "BriefDescription": "L2 cache speculative code cacheline misses per kilo instruction", 901 "MetricExpr": "1e3 * L2_RQSTS.CODE_RD_MISS / INST_RETIRED.ANY", 902 "MetricGroup": "IcMiss", 903 "MetricName": "tma_info_frontend_l2mpki_code_all" 904 }, 905 { 906 "BriefDescription": "Branch instructions per taken branch.", 907 "MetricExpr": "BR_INST_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.NEAR_TAKEN", 908 "MetricGroup": "Branches;Fed;PGO", 909 "MetricName": "tma_info_inst_mix_bptkbranch" 910 }, 911 { 912 "BriefDescription": "Total number of retired Instructions", 913 "MetricExpr": "INST_RETIRED.ANY", 914 "MetricGroup": "Summary;TmaL1;tma_L1_group", 915 "MetricName": "tma_info_inst_mix_instructions", 916 "PublicDescription": "Total number of retired Instructions. Sample with: INST_RETIRED.PREC_DIST" 917 }, 918 { 919 "BriefDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate)", 920 "MetricConstraint": "NO_GROUP_EVENTS", 921 "MetricExpr": "INST_RETIRED.ANY / (cpu@FP_ARITH_INST_RETIRED.SCALAR_SINGLE\\,umask\\=0x03@ + cpu@FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE\\,umask\\=0xfc@)", 922 "MetricGroup": "Flops;InsType", 923 "MetricName": "tma_info_inst_mix_iparith", 924 "MetricThreshold": "tma_info_inst_mix_iparith < 10", 925 "PublicDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting. Approximated prior to BDW." 926 }, 927 { 928 "BriefDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate)", 929 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE)", 930 "MetricGroup": "Flops;FpVector;InsType", 931 "MetricName": "tma_info_inst_mix_iparith_avx128", 932 "MetricThreshold": "tma_info_inst_mix_iparith_avx128 < 10", 933 "PublicDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting." 934 }, 935 { 936 "BriefDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate)", 937 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE)", 938 "MetricGroup": "Flops;FpVector;InsType", 939 "MetricName": "tma_info_inst_mix_iparith_avx256", 940 "MetricThreshold": "tma_info_inst_mix_iparith_avx256 < 10", 941 "PublicDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting." 942 }, 943 { 944 "BriefDescription": "Instructions per FP Arithmetic AVX 512-bit instruction (lower number means higher occurrence rate)", 945 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE)", 946 "MetricGroup": "Flops;FpVector;InsType", 947 "MetricName": "tma_info_inst_mix_iparith_avx512", 948 "MetricThreshold": "tma_info_inst_mix_iparith_avx512 < 10", 949 "PublicDescription": "Instructions per FP Arithmetic AVX 512-bit instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting." 950 }, 951 { 952 "BriefDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate)", 953 "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_DOUBLE", 954 "MetricGroup": "Flops;FpScalar;InsType", 955 "MetricName": "tma_info_inst_mix_iparith_scalar_dp", 956 "MetricThreshold": "tma_info_inst_mix_iparith_scalar_dp < 10", 957 "PublicDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting." 958 }, 959 { 960 "BriefDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate)", 961 "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_SINGLE", 962 "MetricGroup": "Flops;FpScalar;InsType", 963 "MetricName": "tma_info_inst_mix_iparith_scalar_sp", 964 "MetricThreshold": "tma_info_inst_mix_iparith_scalar_sp < 10", 965 "PublicDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting." 966 }, 967 { 968 "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)", 969 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES", 970 "MetricGroup": "Branches;Fed;InsType", 971 "MetricName": "tma_info_inst_mix_ipbranch", 972 "MetricThreshold": "tma_info_inst_mix_ipbranch < 8" 973 }, 974 { 975 "BriefDescription": "Instructions per (near) call (lower number means higher occurrence rate)", 976 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_CALL", 977 "MetricGroup": "Branches;Fed;PGO", 978 "MetricName": "tma_info_inst_mix_ipcall", 979 "MetricThreshold": "tma_info_inst_mix_ipcall < 200" 980 }, 981 { 982 "BriefDescription": "Instructions per Floating Point (FP) Operation (lower number means higher occurrence rate)", 983 "MetricConstraint": "NO_GROUP_EVENTS", 984 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.SCALAR + 2 * FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + 4 * FP_ARITH_INST_RETIRED.4_FLOPS + 8 * FP_ARITH_INST_RETIRED.8_FLOPS + 16 * FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE)", 985 "MetricGroup": "Flops;InsType", 986 "MetricName": "tma_info_inst_mix_ipflop", 987 "MetricThreshold": "tma_info_inst_mix_ipflop < 10" 988 }, 989 { 990 "BriefDescription": "Instructions per Load (lower number means higher occurrence rate)", 991 "MetricExpr": "INST_RETIRED.ANY / MEM_INST_RETIRED.ALL_LOADS", 992 "MetricGroup": "InsType", 993 "MetricName": "tma_info_inst_mix_ipload", 994 "MetricThreshold": "tma_info_inst_mix_ipload < 3" 995 }, 996 { 997 "BriefDescription": "Instructions per Store (lower number means higher occurrence rate)", 998 "MetricExpr": "INST_RETIRED.ANY / MEM_INST_RETIRED.ALL_STORES", 999 "MetricGroup": "InsType", 1000 "MetricName": "tma_info_inst_mix_ipstore", 1001 "MetricThreshold": "tma_info_inst_mix_ipstore < 8" 1002 }, 1003 { 1004 "BriefDescription": "Instructions per Software prefetch instruction (of any type: NTA/T0/T1/T2/Prefetch) (lower number means higher occurrence rate)", 1005 "MetricExpr": "INST_RETIRED.ANY / cpu@SW_PREFETCH_ACCESS.T0\\,umask\\=0xF@", 1006 "MetricGroup": "Prefetches", 1007 "MetricName": "tma_info_inst_mix_ipswpf", 1008 "MetricThreshold": "tma_info_inst_mix_ipswpf < 100" 1009 }, 1010 { 1011 "BriefDescription": "Instruction per taken branch", 1012 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_TAKEN", 1013 "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO;tma_issueFB", 1014 "MetricName": "tma_info_inst_mix_iptb", 1015 "MetricThreshold": "tma_info_inst_mix_iptb < 9", 1016 "PublicDescription": "Instruction per taken branch. Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_lcp" 1017 }, 1018 { 1019 "BriefDescription": "STLB (2nd level TLB) code speculative misses per kilo instruction (misses of any page-size that complete the page walk)", 1020 "MetricExpr": "tma_info_memory_tlb_code_stlb_mpki", 1021 "MetricGroup": "Fed;MemoryTLB", 1022 "MetricName": "tma_info_memory_code_stlb_mpki" 1023 }, 1024 { 1025 "BriefDescription": "Average per-core data fill bandwidth to the L1 data cache [GB / sec]", 1026 "MetricExpr": "tma_info_memory_l1d_cache_fill_bw", 1027 "MetricGroup": "Mem;MemoryBW", 1028 "MetricName": "tma_info_memory_core_l1d_cache_fill_bw_2t" 1029 }, 1030 { 1031 "BriefDescription": "Average per-core data fill bandwidth to the L2 cache [GB / sec]", 1032 "MetricExpr": "tma_info_memory_l2_cache_fill_bw", 1033 "MetricGroup": "Mem;MemoryBW", 1034 "MetricName": "tma_info_memory_core_l2_cache_fill_bw_2t" 1035 }, 1036 { 1037 "BriefDescription": "Rate of non silent evictions from the L2 cache per Kilo instruction", 1038 "MetricExpr": "1e3 * L2_LINES_OUT.NON_SILENT / tma_info_inst_mix_instructions", 1039 "MetricGroup": "L2Evicts;Mem;Server", 1040 "MetricName": "tma_info_memory_core_l2_evictions_nonsilent_pki" 1041 }, 1042 { 1043 "BriefDescription": "Rate of silent evictions from the L2 cache per Kilo instruction where the evicted lines are dropped (no writeback to L3 or memory)", 1044 "MetricExpr": "1e3 * L2_LINES_OUT.SILENT / tma_info_inst_mix_instructions", 1045 "MetricGroup": "L2Evicts;Mem;Server", 1046 "MetricName": "tma_info_memory_core_l2_evictions_silent_pki" 1047 }, 1048 { 1049 "BriefDescription": "Average per-core data access bandwidth to the L3 cache [GB / sec]", 1050 "MetricExpr": "tma_info_memory_l3_cache_access_bw", 1051 "MetricGroup": "Mem;MemoryBW;Offcore", 1052 "MetricName": "tma_info_memory_core_l3_cache_access_bw_2t" 1053 }, 1054 { 1055 "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]", 1056 "MetricExpr": "tma_info_memory_l3_cache_fill_bw", 1057 "MetricGroup": "Mem;MemoryBW", 1058 "MetricName": "tma_info_memory_core_l3_cache_fill_bw_2t" 1059 }, 1060 { 1061 "BriefDescription": "Average Parallel L2 cache miss data reads", 1062 "MetricExpr": "tma_info_memory_latency_data_l2_mlp", 1063 "MetricGroup": "Memory_BW;Offcore", 1064 "MetricName": "tma_info_memory_data_l2_mlp" 1065 }, 1066 { 1067 "BriefDescription": "Fill Buffer (FB) hits per kilo instructions for retired demand loads (L1D misses that merge into ongoing miss-handling entries)", 1068 "MetricExpr": "1e3 * MEM_LOAD_RETIRED.FB_HIT / INST_RETIRED.ANY", 1069 "MetricGroup": "CacheHits;Mem", 1070 "MetricName": "tma_info_memory_fb_hpki" 1071 }, 1072 { 1073 "BriefDescription": "", 1074 "MetricExpr": "64 * L1D.REPLACEMENT / 1e9 / duration_time", 1075 "MetricGroup": "Mem;MemoryBW", 1076 "MetricName": "tma_info_memory_l1d_cache_fill_bw" 1077 }, 1078 { 1079 "BriefDescription": "Average per-core data fill bandwidth to the L1 data cache [GB / sec]", 1080 "MetricExpr": "64 * L1D.REPLACEMENT / 1e9 / (duration_time * 1e3 / 1e3)", 1081 "MetricGroup": "Mem;MemoryBW", 1082 "MetricName": "tma_info_memory_l1d_cache_fill_bw_2t" 1083 }, 1084 { 1085 "BriefDescription": "L1 cache true misses per kilo instruction for retired demand loads", 1086 "MetricExpr": "1e3 * MEM_LOAD_RETIRED.L1_MISS / INST_RETIRED.ANY", 1087 "MetricGroup": "CacheHits;Mem", 1088 "MetricName": "tma_info_memory_l1mpki" 1089 }, 1090 { 1091 "BriefDescription": "L1 cache true misses per kilo instruction for all demand loads (including speculative)", 1092 "MetricExpr": "1e3 * L2_RQSTS.ALL_DEMAND_DATA_RD / INST_RETIRED.ANY", 1093 "MetricGroup": "CacheHits;Mem", 1094 "MetricName": "tma_info_memory_l1mpki_load" 1095 }, 1096 { 1097 "BriefDescription": "", 1098 "MetricExpr": "64 * L2_LINES_IN.ALL / 1e9 / duration_time", 1099 "MetricGroup": "Mem;MemoryBW", 1100 "MetricName": "tma_info_memory_l2_cache_fill_bw" 1101 }, 1102 { 1103 "BriefDescription": "Average per-core data fill bandwidth to the L2 cache [GB / sec]", 1104 "MetricExpr": "64 * L2_LINES_IN.ALL / 1e9 / (duration_time * 1e3 / 1e3)", 1105 "MetricGroup": "Mem;MemoryBW", 1106 "MetricName": "tma_info_memory_l2_cache_fill_bw_2t" 1107 }, 1108 { 1109 "BriefDescription": "Rate of non silent evictions from the L2 cache per Kilo instruction", 1110 "MetricExpr": "1e3 * L2_LINES_OUT.NON_SILENT / INST_RETIRED.ANY", 1111 "MetricGroup": "L2Evicts;Mem;Server", 1112 "MetricName": "tma_info_memory_l2_evictions_nonsilent_pki" 1113 }, 1114 { 1115 "BriefDescription": "Rate of silent evictions from the L2 cache per Kilo instruction where the evicted lines are dropped (no writeback to L3 or memory)", 1116 "MetricExpr": "1e3 * L2_LINES_OUT.SILENT / INST_RETIRED.ANY", 1117 "MetricGroup": "L2Evicts;Mem;Server", 1118 "MetricName": "tma_info_memory_l2_evictions_silent_pki" 1119 }, 1120 { 1121 "BriefDescription": "L2 cache hits per kilo instruction for all request types (including speculative)", 1122 "MetricExpr": "1e3 * (L2_RQSTS.REFERENCES - L2_RQSTS.MISS) / INST_RETIRED.ANY", 1123 "MetricGroup": "CacheHits;Mem", 1124 "MetricName": "tma_info_memory_l2hpki_all" 1125 }, 1126 { 1127 "BriefDescription": "L2 cache hits per kilo instruction for all demand loads (including speculative)", 1128 "MetricExpr": "1e3 * L2_RQSTS.DEMAND_DATA_RD_HIT / INST_RETIRED.ANY", 1129 "MetricGroup": "CacheHits;Mem", 1130 "MetricName": "tma_info_memory_l2hpki_load" 1131 }, 1132 { 1133 "BriefDescription": "L2 cache true misses per kilo instruction for retired demand loads", 1134 "MetricExpr": "1e3 * MEM_LOAD_RETIRED.L2_MISS / INST_RETIRED.ANY", 1135 "MetricGroup": "Backend;CacheHits;Mem", 1136 "MetricName": "tma_info_memory_l2mpki" 1137 }, 1138 { 1139 "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all request types (including speculative)", 1140 "MetricExpr": "1e3 * L2_RQSTS.MISS / INST_RETIRED.ANY", 1141 "MetricGroup": "CacheHits;Mem;Offcore", 1142 "MetricName": "tma_info_memory_l2mpki_all" 1143 }, 1144 { 1145 "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all demand loads (including speculative)", 1146 "MetricExpr": "1e3 * L2_RQSTS.DEMAND_DATA_RD_MISS / INST_RETIRED.ANY", 1147 "MetricGroup": "CacheHits;Mem", 1148 "MetricName": "tma_info_memory_l2mpki_load" 1149 }, 1150 { 1151 "BriefDescription": "", 1152 "MetricExpr": "64 * OFFCORE_REQUESTS.ALL_REQUESTS / 1e9 / duration_time", 1153 "MetricGroup": "Mem;MemoryBW;Offcore", 1154 "MetricName": "tma_info_memory_l3_cache_access_bw" 1155 }, 1156 { 1157 "BriefDescription": "Average per-core data access bandwidth to the L3 cache [GB / sec]", 1158 "MetricExpr": "64 * OFFCORE_REQUESTS.ALL_REQUESTS / 1e9 / (duration_time * 1e3 / 1e3)", 1159 "MetricGroup": "Mem;MemoryBW;Offcore", 1160 "MetricName": "tma_info_memory_l3_cache_access_bw_2t" 1161 }, 1162 { 1163 "BriefDescription": "", 1164 "MetricExpr": "64 * LONGEST_LAT_CACHE.MISS / 1e9 / duration_time", 1165 "MetricGroup": "Mem;MemoryBW", 1166 "MetricName": "tma_info_memory_l3_cache_fill_bw" 1167 }, 1168 { 1169 "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]", 1170 "MetricExpr": "64 * LONGEST_LAT_CACHE.MISS / 1e9 / (duration_time * 1e3 / 1e3)", 1171 "MetricGroup": "Mem;MemoryBW", 1172 "MetricName": "tma_info_memory_l3_cache_fill_bw_2t" 1173 }, 1174 { 1175 "BriefDescription": "L3 cache true misses per kilo instruction for retired demand loads", 1176 "MetricExpr": "1e3 * MEM_LOAD_RETIRED.L3_MISS / INST_RETIRED.ANY", 1177 "MetricGroup": "Mem", 1178 "MetricName": "tma_info_memory_l3mpki" 1179 }, 1180 { 1181 "BriefDescription": "Average Parallel L2 cache miss data reads", 1182 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD / OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD", 1183 "MetricGroup": "Memory_BW;Offcore", 1184 "MetricName": "tma_info_memory_latency_data_l2_mlp" 1185 }, 1186 { 1187 "BriefDescription": "Average Latency for L2 cache miss demand Loads", 1188 "MetricExpr": "tma_info_memory_load_l2_miss_latency", 1189 "MetricGroup": "Memory_Lat;Offcore", 1190 "MetricName": "tma_info_memory_latency_load_l2_miss_latency" 1191 }, 1192 { 1193 "BriefDescription": "Average Parallel L2 cache miss demand Loads", 1194 "MetricExpr": "tma_info_memory_load_l2_mlp", 1195 "MetricGroup": "Memory_BW;Offcore", 1196 "MetricName": "tma_info_memory_latency_load_l2_mlp" 1197 }, 1198 { 1199 "BriefDescription": "Average Latency for L2 cache miss demand Loads", 1200 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD / OFFCORE_REQUESTS.DEMAND_DATA_RD", 1201 "MetricGroup": "Memory_Lat;Offcore", 1202 "MetricName": "tma_info_memory_load_l2_miss_latency" 1203 }, 1204 { 1205 "BriefDescription": "Average Parallel L2 cache miss demand Loads", 1206 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD / OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_DATA_RD", 1207 "MetricGroup": "Memory_BW;Offcore", 1208 "MetricName": "tma_info_memory_load_l2_mlp" 1209 }, 1210 { 1211 "BriefDescription": "Actual Average Latency for L1 data-cache miss demand load operations (in core cycles)", 1212 "MetricExpr": "L1D_PEND_MISS.PENDING / (MEM_LOAD_RETIRED.L1_MISS + MEM_LOAD_RETIRED.FB_HIT)", 1213 "MetricGroup": "Mem;MemoryBound;MemoryLat", 1214 "MetricName": "tma_info_memory_load_miss_real_latency" 1215 }, 1216 { 1217 "BriefDescription": "STLB (2nd level TLB) data load speculative misses per kilo instruction (misses of any page-size that complete the page walk)", 1218 "MetricExpr": "tma_info_memory_tlb_load_stlb_mpki", 1219 "MetricGroup": "Mem;MemoryTLB", 1220 "MetricName": "tma_info_memory_load_stlb_mpki" 1221 }, 1222 { 1223 "BriefDescription": "Un-cacheable retired load per kilo instruction", 1224 "MetricExpr": "tma_info_memory_uc_load_pki", 1225 "MetricGroup": "Mem", 1226 "MetricName": "tma_info_memory_mix_uc_load_pki" 1227 }, 1228 { 1229 "BriefDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss", 1230 "MetricExpr": "L1D_PEND_MISS.PENDING / L1D_PEND_MISS.PENDING_CYCLES", 1231 "MetricGroup": "Mem;MemoryBW;MemoryBound", 1232 "MetricName": "tma_info_memory_mlp", 1233 "PublicDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss. Per-Logical Processor)" 1234 }, 1235 { 1236 "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses", 1237 "MetricExpr": "tma_info_memory_tlb_page_walks_utilization", 1238 "MetricGroup": "Mem;MemoryTLB", 1239 "MetricName": "tma_info_memory_page_walks_utilization" 1240 }, 1241 { 1242 "BriefDescription": "STLB (2nd level TLB) data store speculative misses per kilo instruction (misses of any page-size that complete the page walk)", 1243 "MetricExpr": "tma_info_memory_tlb_store_stlb_mpki", 1244 "MetricGroup": "Mem;MemoryTLB", 1245 "MetricName": "tma_info_memory_store_stlb_mpki" 1246 }, 1247 { 1248 "BriefDescription": "STLB (2nd level TLB) code speculative misses per kilo instruction (misses of any page-size that complete the page walk)", 1249 "MetricExpr": "1e3 * ITLB_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 1250 "MetricGroup": "Fed;MemoryTLB", 1251 "MetricName": "tma_info_memory_tlb_code_stlb_mpki" 1252 }, 1253 { 1254 "BriefDescription": "STLB (2nd level TLB) data load speculative misses per kilo instruction (misses of any page-size that complete the page walk)", 1255 "MetricExpr": "1e3 * DTLB_LOAD_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 1256 "MetricGroup": "Mem;MemoryTLB", 1257 "MetricName": "tma_info_memory_tlb_load_stlb_mpki" 1258 }, 1259 { 1260 "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses", 1261 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 1262 "MetricExpr": "(ITLB_MISSES.WALK_PENDING + DTLB_LOAD_MISSES.WALK_PENDING + DTLB_STORE_MISSES.WALK_PENDING + EPT.WALK_PENDING) / (2 * tma_info_core_core_clks)", 1263 "MetricGroup": "Mem;MemoryTLB", 1264 "MetricName": "tma_info_memory_tlb_page_walks_utilization", 1265 "MetricThreshold": "tma_info_memory_tlb_page_walks_utilization > 0.5" 1266 }, 1267 { 1268 "BriefDescription": "STLB (2nd level TLB) data store speculative misses per kilo instruction (misses of any page-size that complete the page walk)", 1269 "MetricExpr": "1e3 * DTLB_STORE_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 1270 "MetricGroup": "Mem;MemoryTLB", 1271 "MetricName": "tma_info_memory_tlb_store_stlb_mpki" 1272 }, 1273 { 1274 "BriefDescription": "Un-cacheable retired load per kilo instruction", 1275 "MetricExpr": "1e3 * MEM_LOAD_MISC_RETIRED.UC / INST_RETIRED.ANY", 1276 "MetricGroup": "Mem", 1277 "MetricName": "tma_info_memory_uc_load_pki" 1278 }, 1279 { 1280 "BriefDescription": "", 1281 "MetricExpr": "UOPS_EXECUTED.THREAD / (UOPS_EXECUTED.CORE_CYCLES_GE_1 / 2 if #SMT_on else cpu@UOPS_EXECUTED.THREAD\\,cmask\\=1@)", 1282 "MetricGroup": "Cor;Pipeline;PortsUtil;SMT", 1283 "MetricName": "tma_info_pipeline_execute" 1284 }, 1285 { 1286 "BriefDescription": "Instructions per a microcode Assist invocation", 1287 "MetricExpr": "INST_RETIRED.ANY / (FP_ASSIST.ANY + OTHER_ASSISTS.ANY)", 1288 "MetricGroup": "MicroSeq;Pipeline;Ret;Retire", 1289 "MetricName": "tma_info_pipeline_ipassist", 1290 "MetricThreshold": "tma_info_pipeline_ipassist < 100e3", 1291 "PublicDescription": "Instructions per a microcode Assist invocation. See Assists tree node for details (lower number means higher occurrence rate)" 1292 }, 1293 { 1294 "BriefDescription": "Average number of Uops retired in cycles where at least one uop has retired.", 1295 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / cpu@UOPS_RETIRED.RETIRE_SLOTS\\,cmask\\=1@", 1296 "MetricGroup": "Pipeline;Ret", 1297 "MetricName": "tma_info_pipeline_retire" 1298 }, 1299 { 1300 "BriefDescription": "Measured Average Core Frequency for unhalted processors [GHz]", 1301 "MetricExpr": "tma_info_system_turbo_utilization * TSC / 1e9 / duration_time", 1302 "MetricGroup": "Power;Summary", 1303 "MetricName": "tma_info_system_core_frequency" 1304 }, 1305 { 1306 "BriefDescription": "Average CPU Utilization (percentage)", 1307 "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / TSC", 1308 "MetricGroup": "HPC;Summary", 1309 "MetricName": "tma_info_system_cpu_utilization" 1310 }, 1311 { 1312 "BriefDescription": "Average number of utilized CPUs", 1313 "MetricExpr": "#num_cpus_online * tma_info_system_cpu_utilization", 1314 "MetricGroup": "Summary", 1315 "MetricName": "tma_info_system_cpus_utilized" 1316 }, 1317 { 1318 "BriefDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]", 1319 "MetricExpr": "64 * (UNC_M_CAS_COUNT.RD + UNC_M_CAS_COUNT.WR) / 1e9 / duration_time", 1320 "MetricGroup": "HPC;MemOffcore;MemoryBW;SoC;tma_issueBW", 1321 "MetricName": "tma_info_system_dram_bw_use", 1322 "PublicDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]. Related metrics: tma_fb_full, tma_info_bottleneck_cache_memory_bandwidth, tma_mem_bandwidth, tma_sq_full" 1323 }, 1324 { 1325 "BriefDescription": "Giga Floating Point Operations Per Second", 1326 "MetricConstraint": "NO_GROUP_EVENTS", 1327 "MetricExpr": "(FP_ARITH_INST_RETIRED.SCALAR + 2 * FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + 4 * FP_ARITH_INST_RETIRED.4_FLOPS + 8 * FP_ARITH_INST_RETIRED.8_FLOPS + 16 * FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE) / 1e9 / duration_time", 1328 "MetricGroup": "Cor;Flops;HPC", 1329 "MetricName": "tma_info_system_gflops", 1330 "PublicDescription": "Giga Floating Point Operations Per Second. Aggregate across all supported options of: FP precisions, scalar and vector instructions, vector-width" 1331 }, 1332 { 1333 "BriefDescription": "Average IO (network or disk) Bandwidth Use for Reads [GB / sec]", 1334 "MetricExpr": "(UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART3) * 4 / 1e9 / duration_time", 1335 "MetricGroup": "IoBW;MemOffcore;Server;SoC", 1336 "MetricName": "tma_info_system_io_read_bw", 1337 "PublicDescription": "Average IO (network or disk) Bandwidth Use for Reads [GB / sec]. Bandwidth of IO reads that are initiated by end device controllers that are requesting memory from the CPU" 1338 }, 1339 { 1340 "BriefDescription": "Average IO (network or disk) Bandwidth Use for Writes [GB / sec]", 1341 "MetricExpr": "(UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART3) * 4 / 1e9 / duration_time", 1342 "MetricGroup": "IoBW;MemOffcore;Server;SoC", 1343 "MetricName": "tma_info_system_io_write_bw", 1344 "PublicDescription": "Average IO (network or disk) Bandwidth Use for Writes [GB / sec]. Bandwidth of IO writes that are initiated by end device controllers that are writing memory to the CPU" 1345 }, 1346 { 1347 "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]", 1348 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.FAR_BRANCH:u", 1349 "MetricGroup": "Branches;OS", 1350 "MetricName": "tma_info_system_ipfarbranch", 1351 "MetricThreshold": "tma_info_system_ipfarbranch < 1e6" 1352 }, 1353 { 1354 "BriefDescription": "Cycles Per Instruction for the Operating System (OS) Kernel mode", 1355 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / INST_RETIRED.ANY_P:k", 1356 "MetricGroup": "OS", 1357 "MetricName": "tma_info_system_kernel_cpi" 1358 }, 1359 { 1360 "BriefDescription": "Fraction of cycles spent in the Operating System (OS) Kernel mode", 1361 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / CPU_CLK_UNHALTED.THREAD", 1362 "MetricGroup": "OS", 1363 "MetricName": "tma_info_system_kernel_utilization", 1364 "MetricThreshold": "tma_info_system_kernel_utilization > 0.05" 1365 }, 1366 { 1367 "BriefDescription": "Average latency of data read request to external DRAM memory [in nanoseconds]", 1368 "MetricExpr": "1e9 * (UNC_M_RPQ_OCCUPANCY / UNC_M_RPQ_INSERTS) / imc_0@event\\=0x0@", 1369 "MetricGroup": "MemOffcore;MemoryLat;Server;SoC", 1370 "MetricName": "tma_info_system_mem_dram_read_latency", 1371 "PublicDescription": "Average latency of data read request to external DRAM memory [in nanoseconds]. Accounts for demand loads and L1/L2 data-read prefetches" 1372 }, 1373 { 1374 "BriefDescription": "Average number of parallel data read requests to external memory", 1375 "MetricExpr": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD / UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD@thresh\\=1@", 1376 "MetricGroup": "Mem;MemoryBW;SoC", 1377 "MetricName": "tma_info_system_mem_parallel_reads", 1378 "PublicDescription": "Average number of parallel data read requests to external memory. Accounts for demand loads and L1/L2 prefetches" 1379 }, 1380 { 1381 "BriefDescription": "Average latency of data read request to external memory (in nanoseconds)", 1382 "MetricExpr": "1e9 * (UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD / UNC_CHA_TOR_INSERTS.IA_MISS_DRD) / (tma_info_system_socket_clks / duration_time)", 1383 "MetricGroup": "Mem;MemoryLat;SoC", 1384 "MetricName": "tma_info_system_mem_read_latency", 1385 "PublicDescription": "Average latency of data read request to external memory (in nanoseconds). Accounts for demand loads and L1/L2 prefetches. ([RKL+]memory-controller only)" 1386 }, 1387 { 1388 "BriefDescription": "Fraction of Core cycles where the core was running with power-delivery for baseline license level 0", 1389 "MetricExpr": "(CORE_POWER.LVL0_TURBO_LICENSE / 2 / tma_info_core_core_clks if #SMT_on else CORE_POWER.LVL0_TURBO_LICENSE / tma_info_core_core_clks)", 1390 "MetricGroup": "Power", 1391 "MetricName": "tma_info_system_power_license0_utilization", 1392 "PublicDescription": "Fraction of Core cycles where the core was running with power-delivery for baseline license level 0. This includes non-AVX codes, SSE, AVX 128-bit, and low-current AVX 256-bit codes." 1393 }, 1394 { 1395 "BriefDescription": "Fraction of Core cycles where the core was running with power-delivery for license level 1", 1396 "MetricExpr": "(CORE_POWER.LVL1_TURBO_LICENSE / 2 / tma_info_core_core_clks if #SMT_on else CORE_POWER.LVL1_TURBO_LICENSE / tma_info_core_core_clks)", 1397 "MetricGroup": "Power", 1398 "MetricName": "tma_info_system_power_license1_utilization", 1399 "MetricThreshold": "tma_info_system_power_license1_utilization > 0.5", 1400 "PublicDescription": "Fraction of Core cycles where the core was running with power-delivery for license level 1. This includes high current AVX 256-bit instructions as well as low current AVX 512-bit instructions." 1401 }, 1402 { 1403 "BriefDescription": "Fraction of Core cycles where the core was running with power-delivery for license level 2 (introduced in SKX)", 1404 "MetricExpr": "(CORE_POWER.LVL2_TURBO_LICENSE / 2 / tma_info_core_core_clks if #SMT_on else CORE_POWER.LVL2_TURBO_LICENSE / tma_info_core_core_clks)", 1405 "MetricGroup": "Power", 1406 "MetricName": "tma_info_system_power_license2_utilization", 1407 "MetricThreshold": "tma_info_system_power_license2_utilization > 0.5", 1408 "PublicDescription": "Fraction of Core cycles where the core was running with power-delivery for license level 2 (introduced in SKX). This includes high current AVX 512-bit instructions." 1409 }, 1410 { 1411 "BriefDescription": "Fraction of cycles where both hardware Logical Processors were active", 1412 "MetricExpr": "(1 - CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / (CPU_CLK_UNHALTED.REF_XCLK_ANY / 2) if #SMT_on else 0)", 1413 "MetricGroup": "SMT", 1414 "MetricName": "tma_info_system_smt_2t_utilization" 1415 }, 1416 { 1417 "BriefDescription": "Socket actual clocks when any core is active on that socket", 1418 "MetricExpr": "cha_0@event\\=0x0@", 1419 "MetricGroup": "SoC", 1420 "MetricName": "tma_info_system_socket_clks" 1421 }, 1422 { 1423 "BriefDescription": "Average Frequency Utilization relative nominal frequency", 1424 "MetricExpr": "tma_info_thread_clks / CPU_CLK_UNHALTED.REF_TSC", 1425 "MetricGroup": "Power", 1426 "MetricName": "tma_info_system_turbo_utilization" 1427 }, 1428 { 1429 "BriefDescription": "Measured Average Uncore Frequency for the SoC [GHz]", 1430 "MetricExpr": "tma_info_system_socket_clks / 1e9 / duration_time", 1431 "MetricGroup": "SoC", 1432 "MetricName": "tma_info_system_uncore_frequency" 1433 }, 1434 { 1435 "BriefDescription": "Per-Logical Processor actual clocks when the Logical Processor is active.", 1436 "MetricExpr": "CPU_CLK_UNHALTED.THREAD", 1437 "MetricGroup": "Pipeline", 1438 "MetricName": "tma_info_thread_clks" 1439 }, 1440 { 1441 "BriefDescription": "Cycles Per Instruction (per Logical Processor)", 1442 "MetricExpr": "1 / tma_info_thread_ipc", 1443 "MetricGroup": "Mem;Pipeline", 1444 "MetricName": "tma_info_thread_cpi" 1445 }, 1446 { 1447 "BriefDescription": "The ratio of Executed- by Issued-Uops", 1448 "MetricExpr": "UOPS_EXECUTED.THREAD / UOPS_ISSUED.ANY", 1449 "MetricGroup": "Cor;Pipeline", 1450 "MetricName": "tma_info_thread_execute_per_issue", 1451 "PublicDescription": "The ratio of Executed- by Issued-Uops. Ratio > 1 suggests high rate of uop micro-fusions. Ratio < 1 suggest high rate of \"execute\" at rename stage." 1452 }, 1453 { 1454 "BriefDescription": "Instructions Per Cycle (per Logical Processor)", 1455 "MetricExpr": "INST_RETIRED.ANY / tma_info_thread_clks", 1456 "MetricGroup": "Ret;Summary", 1457 "MetricName": "tma_info_thread_ipc" 1458 }, 1459 { 1460 "BriefDescription": "Total issue-pipeline slots (per-Physical Core till ICL; per-Logical Processor ICL onward)", 1461 "MetricExpr": "4 * tma_info_core_core_clks", 1462 "MetricGroup": "TmaL1;tma_L1_group", 1463 "MetricName": "tma_info_thread_slots" 1464 }, 1465 { 1466 "BriefDescription": "Uops Per Instruction", 1467 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / INST_RETIRED.ANY", 1468 "MetricGroup": "Pipeline;Ret;Retire", 1469 "MetricName": "tma_info_thread_uoppi", 1470 "MetricThreshold": "tma_info_thread_uoppi > 1.05" 1471 }, 1472 { 1473 "BriefDescription": "Instruction per taken branch", 1474 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / BR_INST_RETIRED.NEAR_TAKEN", 1475 "MetricGroup": "Branches;Fed;FetchBW", 1476 "MetricName": "tma_info_thread_uptb", 1477 "MetricThreshold": "tma_info_thread_uptb < 6" 1478 }, 1479 { 1480 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Instruction TLB (ITLB) misses", 1481 "MetricExpr": "ICACHE_TAG.STALLS / tma_info_thread_clks", 1482 "MetricGroup": "BigFootprint;FetchLat;MemoryTLB;TopdownL3;tma_L3_group;tma_fetch_latency_group", 1483 "MetricName": "tma_itlb_misses", 1484 "MetricThreshold": "tma_itlb_misses > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 1485 "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to Instruction TLB (ITLB) misses. Sample with: FRONTEND_RETIRED.STLB_MISS_PS;FRONTEND_RETIRED.ITLB_MISS_PS", 1486 "ScaleUnit": "100%" 1487 }, 1488 { 1489 "BriefDescription": "This metric estimates how often the CPU was stalled without loads missing the L1 data cache", 1490 "MetricExpr": "max((CYCLE_ACTIVITY.STALLS_MEM_ANY - CYCLE_ACTIVITY.STALLS_L1D_MISS) / tma_info_thread_clks, 0)", 1491 "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_issueL1;tma_issueMC;tma_memory_bound_group", 1492 "MetricName": "tma_l1_bound", 1493 "MetricThreshold": "tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 1494 "PublicDescription": "This metric estimates how often the CPU was stalled without loads missing the L1 data cache. The L1 data cache typically has the shortest latency. However; in certain cases like loads blocked on older stores; a load might suffer due to high latency even though it is being satisfied by the L1. Another example is loads who miss in the TLB. These cases are characterized by execution unit stalls; while some non-completed demand load lives in the machine without having that demand load missing the L1 cache. Sample with: MEM_LOAD_RETIRED.L1_HIT_PS;MEM_LOAD_RETIRED.FB_HIT_PS. Related metrics: tma_clears_resteers, tma_machine_clears, tma_microcode_sequencer, tma_ms_switches, tma_ports_utilized_1", 1495 "ScaleUnit": "100%" 1496 }, 1497 { 1498 "BriefDescription": "This metric estimates how often the CPU was stalled due to L2 cache accesses by loads", 1499 "MetricConstraint": "NO_GROUP_EVENTS", 1500 "MetricExpr": "MEM_LOAD_RETIRED.L2_HIT * (1 + MEM_LOAD_RETIRED.FB_HIT / MEM_LOAD_RETIRED.L1_MISS) / (MEM_LOAD_RETIRED.L2_HIT * (1 + MEM_LOAD_RETIRED.FB_HIT / MEM_LOAD_RETIRED.L1_MISS) + cpu@L1D_PEND_MISS.FB_FULL\\,cmask\\=1@) * ((CYCLE_ACTIVITY.STALLS_L1D_MISS - CYCLE_ACTIVITY.STALLS_L2_MISS) / tma_info_thread_clks)", 1501 "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 1502 "MetricName": "tma_l2_bound", 1503 "MetricThreshold": "tma_l2_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 1504 "PublicDescription": "This metric estimates how often the CPU was stalled due to L2 cache accesses by loads. Avoiding cache misses (i.e. L1 misses/L2 hits) can improve the latency and increase performance. Sample with: MEM_LOAD_RETIRED.L2_HIT_PS", 1505 "ScaleUnit": "100%" 1506 }, 1507 { 1508 "BriefDescription": "This metric estimates how often the CPU was stalled due to loads accesses to L3 cache or contended with a sibling Core", 1509 "MetricExpr": "(CYCLE_ACTIVITY.STALLS_L2_MISS - CYCLE_ACTIVITY.STALLS_L3_MISS) / tma_info_thread_clks", 1510 "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 1511 "MetricName": "tma_l3_bound", 1512 "MetricThreshold": "tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 1513 "PublicDescription": "This metric estimates how often the CPU was stalled due to loads accesses to L3 cache or contended with a sibling Core. Avoiding cache misses (i.e. L2 misses/L3 hits) can improve the latency and increase performance. Sample with: MEM_LOAD_RETIRED.L3_HIT_PS", 1514 "ScaleUnit": "100%" 1515 }, 1516 { 1517 "BriefDescription": "This metric estimates fraction of cycles with demand load accesses that hit the L3 cache under unloaded scenarios (possibly L3 latency limited)", 1518 "MetricExpr": "17 * tma_info_system_core_frequency * (MEM_LOAD_RETIRED.L3_HIT * (1 + MEM_LOAD_RETIRED.FB_HIT / MEM_LOAD_RETIRED.L1_MISS / 2)) / tma_info_thread_clks", 1519 "MetricGroup": "MemoryLat;TopdownL4;tma_L4_group;tma_issueLat;tma_l3_bound_group", 1520 "MetricName": "tma_l3_hit_latency", 1521 "MetricThreshold": "tma_l3_hit_latency > 0.1 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1522 "PublicDescription": "This metric estimates fraction of cycles with demand load accesses that hit the L3 cache under unloaded scenarios (possibly L3 latency limited). Avoiding private cache misses (i.e. L2 misses/L3 hits) will improve the latency; reduce contention with sibling physical cores and increase performance. Note the value of this node may overlap with its siblings. Sample with: MEM_LOAD_RETIRED.L3_HIT_PS. Related metrics: tma_info_bottleneck_cache_memory_latency, tma_mem_latency", 1523 "ScaleUnit": "100%" 1524 }, 1525 { 1526 "BriefDescription": "This metric represents fraction of cycles CPU was stalled due to Length Changing Prefixes (LCPs)", 1527 "MetricExpr": "DECODE.LCP / tma_info_thread_clks", 1528 "MetricGroup": "FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueFB", 1529 "MetricName": "tma_lcp", 1530 "MetricThreshold": "tma_lcp > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 1531 "PublicDescription": "This metric represents fraction of cycles CPU was stalled due to Length Changing Prefixes (LCPs). Using proper compiler flags or Intel Compiler by default will certainly avoid this. #Link: Optimization Guide about LCP BKMs. Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb", 1532 "ScaleUnit": "100%" 1533 }, 1534 { 1535 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring light-weight operations -- instructions that require no more than one uop (micro-operation)", 1536 "MetricExpr": "tma_retiring - tma_heavy_operations", 1537 "MetricGroup": "Retire;TmaL2;TopdownL2;tma_L2_group;tma_retiring_group", 1538 "MetricName": "tma_light_operations", 1539 "MetricThreshold": "tma_light_operations > 0.6", 1540 "MetricgroupNoGroup": "TopdownL2", 1541 "PublicDescription": "This metric represents fraction of slots where the CPU was retiring light-weight operations -- instructions that require no more than one uop (micro-operation). This correlates with total number of instructions used by the program. A uops-per-instruction (see UopPI metric) ratio of 1 or less should be expected for decently optimized code running on Intel Core/Xeon products. While this often indicates efficient X86 instructions were executed; high value does not necessarily mean better performance cannot be achieved. ([ICL+] Note this may undercount due to approximation using indirect events; [ADL+] .). Sample with: INST_RETIRED.PREC_DIST", 1542 "ScaleUnit": "100%" 1543 }, 1544 { 1545 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Load operations", 1546 "MetricExpr": "(UOPS_DISPATCHED_PORT.PORT_2 + UOPS_DISPATCHED_PORT.PORT_3 + UOPS_DISPATCHED_PORT.PORT_7 - UOPS_DISPATCHED_PORT.PORT_4) / (2 * tma_info_core_core_clks)", 1547 "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", 1548 "MetricName": "tma_load_op_utilization", 1549 "MetricThreshold": "tma_load_op_utilization > 0.6", 1550 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Load operations. Sample with: UOPS_DISPATCHED.PORT_2_3", 1551 "ScaleUnit": "100%" 1552 }, 1553 { 1554 "BriefDescription": "This metric roughly estimates the fraction of cycles where the (first level) DTLB was missed by load accesses, that later on hit in second-level TLB (STLB)", 1555 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 1556 "MetricExpr": "tma_dtlb_load - tma_load_stlb_miss", 1557 "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_load_group", 1558 "MetricName": "tma_load_stlb_hit", 1559 "MetricThreshold": "tma_load_stlb_hit > 0.05 & (tma_dtlb_load > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))", 1560 "ScaleUnit": "100%" 1561 }, 1562 { 1563 "BriefDescription": "This metric estimates the fraction of cycles where the Second-level TLB (STLB) was missed by load accesses, performing a hardware page walk", 1564 "MetricExpr": "DTLB_LOAD_MISSES.WALK_ACTIVE / tma_info_thread_clks", 1565 "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_load_group", 1566 "MetricName": "tma_load_stlb_miss", 1567 "MetricThreshold": "tma_load_stlb_miss > 0.05 & (tma_dtlb_load > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))", 1568 "ScaleUnit": "100%" 1569 }, 1570 { 1571 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from local memory", 1572 "MetricExpr": "59.5 * tma_info_system_core_frequency * MEM_LOAD_L3_MISS_RETIRED.LOCAL_DRAM * (1 + MEM_LOAD_RETIRED.FB_HIT / MEM_LOAD_RETIRED.L1_MISS / 2) / tma_info_thread_clks", 1573 "MetricGroup": "Server;TopdownL5;tma_L5_group;tma_mem_latency_group", 1574 "MetricName": "tma_local_mem", 1575 "MetricThreshold": "tma_local_mem > 0.1 & (tma_mem_latency > 0.1 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))", 1576 "PublicDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from local memory. Caching will improve the latency and increase performance. Sample with: MEM_LOAD_L3_MISS_RETIRED.LOCAL_DRAM_PS", 1577 "ScaleUnit": "100%" 1578 }, 1579 { 1580 "BriefDescription": "This metric represents fraction of cycles the CPU spent handling cache misses due to lock operations", 1581 "MetricExpr": "(12 * max(0, MEM_INST_RETIRED.LOCK_LOADS - L2_RQSTS.ALL_RFO) + MEM_INST_RETIRED.LOCK_LOADS / MEM_INST_RETIRED.ALL_STORES * (11 * L2_RQSTS.RFO_HIT + min(CPU_CLK_UNHALTED.THREAD, OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_RFO))) / tma_info_thread_clks", 1582 "MetricGroup": "Offcore;TopdownL4;tma_L4_group;tma_issueRFO;tma_l1_bound_group", 1583 "MetricName": "tma_lock_latency", 1584 "MetricThreshold": "tma_lock_latency > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1585 "PublicDescription": "This metric represents fraction of cycles the CPU spent handling cache misses due to lock operations. Due to the microarchitecture handling of locks; they are classified as L1_Bound regardless of what memory source satisfied them. Sample with: MEM_INST_RETIRED.LOCK_LOADS_PS. Related metrics: tma_store_latency", 1586 "ScaleUnit": "100%" 1587 }, 1588 { 1589 "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Machine Clears", 1590 "MetricConstraint": "NO_GROUP_EVENTS", 1591 "MetricExpr": "tma_bad_speculation - tma_branch_mispredicts", 1592 "MetricGroup": "BadSpec;MachineClears;TmaL2;TopdownL2;tma_L2_group;tma_bad_speculation_group;tma_issueMC;tma_issueSyncxn", 1593 "MetricName": "tma_machine_clears", 1594 "MetricThreshold": "tma_machine_clears > 0.1 & tma_bad_speculation > 0.15", 1595 "MetricgroupNoGroup": "TopdownL2", 1596 "PublicDescription": "This metric represents fraction of slots the CPU has wasted due to Machine Clears. These slots are either wasted by uops fetched prior to the clear; or stalls the out-of-order portion of the machine needs to recover its state after the clear. For example; this can happen due to memory ordering Nukes (e.g. Memory Disambiguation) or Self-Modifying-Code (SMC) nukes. Sample with: MACHINE_CLEARS.COUNT. Related metrics: tma_clears_resteers, tma_contested_accesses, tma_data_sharing, tma_false_sharing, tma_l1_bound, tma_microcode_sequencer, tma_ms_switches, tma_remote_cache", 1597 "ScaleUnit": "100%" 1598 }, 1599 { 1600 "BriefDescription": "This metric estimates fraction of cycles where the core's performance was likely hurt due to approaching bandwidth limits of external memory - DRAM ([SPR-HBM] and/or HBM)", 1601 "MetricExpr": "min(CPU_CLK_UNHALTED.THREAD, cpu@OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD\\,cmask\\=4@) / tma_info_thread_clks", 1602 "MetricGroup": "MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_dram_bound_group;tma_issueBW", 1603 "MetricName": "tma_mem_bandwidth", 1604 "MetricThreshold": "tma_mem_bandwidth > 0.2 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1605 "PublicDescription": "This metric estimates fraction of cycles where the core's performance was likely hurt due to approaching bandwidth limits of external memory - DRAM ([SPR-HBM] and/or HBM). The underlying heuristic assumes that a similar off-core traffic is generated by all IA cores. This metric does not aggregate non-data-read requests by this logical processor; requests from other IA Logical Processors/Physical Cores/sockets; or other non-IA devices like GPU; hence the maximum external memory bandwidth limits may or may not be approached when this metric is flagged (see Uncore counters for that). Related metrics: tma_fb_full, tma_info_bottleneck_cache_memory_bandwidth, tma_info_system_dram_bw_use, tma_sq_full", 1606 "ScaleUnit": "100%" 1607 }, 1608 { 1609 "BriefDescription": "This metric estimates fraction of cycles where the performance was likely hurt due to latency from external memory - DRAM ([SPR-HBM] and/or HBM)", 1610 "MetricExpr": "min(CPU_CLK_UNHALTED.THREAD, OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD) / tma_info_thread_clks - tma_mem_bandwidth", 1611 "MetricGroup": "MemoryLat;Offcore;TopdownL4;tma_L4_group;tma_dram_bound_group;tma_issueLat", 1612 "MetricName": "tma_mem_latency", 1613 "MetricThreshold": "tma_mem_latency > 0.1 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1614 "PublicDescription": "This metric estimates fraction of cycles where the performance was likely hurt due to latency from external memory - DRAM ([SPR-HBM] and/or HBM). This metric does not aggregate requests from other Logical Processors/Physical Cores/sockets (see Uncore counters for that). Related metrics: tma_info_bottleneck_cache_memory_latency, tma_l3_hit_latency", 1615 "ScaleUnit": "100%" 1616 }, 1617 { 1618 "BriefDescription": "This metric represents fraction of slots the Memory subsystem within the Backend was a bottleneck", 1619 "MetricConstraint": "NO_GROUP_EVENTS", 1620 "MetricExpr": "(CYCLE_ACTIVITY.STALLS_MEM_ANY + EXE_ACTIVITY.BOUND_ON_STORES) / (CYCLE_ACTIVITY.STALLS_TOTAL + (EXE_ACTIVITY.1_PORTS_UTIL + tma_retiring * EXE_ACTIVITY.2_PORTS_UTIL) + EXE_ACTIVITY.BOUND_ON_STORES) * tma_backend_bound", 1621 "MetricGroup": "Backend;TmaL2;TopdownL2;tma_L2_group;tma_backend_bound_group", 1622 "MetricName": "tma_memory_bound", 1623 "MetricThreshold": "tma_memory_bound > 0.2 & tma_backend_bound > 0.2", 1624 "MetricgroupNoGroup": "TopdownL2", 1625 "PublicDescription": "This metric represents fraction of slots the Memory subsystem within the Backend was a bottleneck. Memory Bound estimates fraction of slots where pipeline is likely stalled due to demand load or store instructions. This accounts mainly for (1) non-completed in-flight memory demand loads which coincides with execution units starvation; in addition to (2) cases where stores could impose backpressure on the pipeline when many of them get buffered at the same time (less common out of the two).", 1626 "ScaleUnit": "100%" 1627 }, 1628 { 1629 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring memory operations -- uops for memory load or store accesses.", 1630 "MetricExpr": "tma_light_operations * MEM_INST_RETIRED.ANY / INST_RETIRED.ANY", 1631 "MetricGroup": "Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group", 1632 "MetricName": "tma_memory_operations", 1633 "MetricThreshold": "tma_memory_operations > 0.1 & tma_light_operations > 0.6", 1634 "ScaleUnit": "100%" 1635 }, 1636 { 1637 "BriefDescription": "This metric represents fraction of slots the CPU was retiring uops fetched by the Microcode Sequencer (MS) unit", 1638 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / UOPS_ISSUED.ANY * IDQ.MS_UOPS / tma_info_thread_slots", 1639 "MetricGroup": "MicroSeq;TopdownL3;tma_L3_group;tma_heavy_operations_group;tma_issueMC;tma_issueMS", 1640 "MetricName": "tma_microcode_sequencer", 1641 "MetricThreshold": "tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1", 1642 "PublicDescription": "This metric represents fraction of slots the CPU was retiring uops fetched by the Microcode Sequencer (MS) unit. The MS is used for CISC instructions not supported by the default decoders (like repeat move strings; or CPUID); or by microcode assists used to address some operation modes (like in Floating Point assists). These cases can often be avoided. Sample with: IDQ.MS_UOPS. Related metrics: tma_clears_resteers, tma_info_bottleneck_irregular_overhead, tma_l1_bound, tma_machine_clears, tma_ms_switches", 1643 "ScaleUnit": "100%" 1644 }, 1645 { 1646 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Branch Misprediction at execution stage", 1647 "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES / (BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT) * INT_MISC.CLEAR_RESTEER_CYCLES / tma_info_thread_clks", 1648 "MetricGroup": "BadSpec;BrMispredicts;TopdownL4;tma_L4_group;tma_branch_resteers_group;tma_issueBM", 1649 "MetricName": "tma_mispredicts_resteers", 1650 "MetricThreshold": "tma_mispredicts_resteers > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))", 1651 "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Branch Misprediction at execution stage. Sample with: INT_MISC.CLEAR_RESTEER_CYCLES. Related metrics: tma_branch_mispredicts, tma_info_bad_spec_branch_misprediction_cost, tma_info_bottleneck_mispredictions", 1652 "ScaleUnit": "100%" 1653 }, 1654 { 1655 "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to the MITE pipeline (the legacy decode pipeline)", 1656 "MetricExpr": "(IDQ.ALL_MITE_CYCLES_ANY_UOPS - IDQ.ALL_MITE_CYCLES_4_UOPS) / tma_info_core_core_clks / 2", 1657 "MetricGroup": "DSBmiss;FetchBW;TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 1658 "MetricName": "tma_mite", 1659 "MetricThreshold": "tma_mite > 0.1 & tma_fetch_bandwidth > 0.2", 1660 "PublicDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to the MITE pipeline (the legacy decode pipeline). This pipeline is used for code that was not pre-cached in the DSB or LSD. For example; inefficiencies due to asymmetric decoders; use of long immediate or LCP can manifest as MITE fetch bandwidth bottleneck. Sample with: FRONTEND_RETIRED.ANY_DSB_MISS", 1661 "ScaleUnit": "100%" 1662 }, 1663 { 1664 "BriefDescription": "This metric estimates penalty in terms of percentage of([SKL+] injected blend uops out of all Uops Issued -- the Count Domain; [ADL+] cycles)", 1665 "MetricExpr": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH / UOPS_ISSUED.ANY", 1666 "MetricGroup": "TopdownL5;tma_L5_group;tma_issueMV;tma_ports_utilized_0_group", 1667 "MetricName": "tma_mixing_vectors", 1668 "MetricThreshold": "tma_mixing_vectors > 0.05", 1669 "PublicDescription": "This metric estimates penalty in terms of percentage of([SKL+] injected blend uops out of all Uops Issued -- the Count Domain; [ADL+] cycles). Usually a Mixing_Vectors over 5% is worth investigating. Read more in Appendix B1 of the Optimizations Guide for this topic. Related metrics: tma_ms_switches", 1670 "ScaleUnit": "100%" 1671 }, 1672 { 1673 "BriefDescription": "This metric estimates the fraction of cycles when the CPU was stalled due to switches of uop delivery to the Microcode Sequencer (MS)", 1674 "MetricExpr": "2 * IDQ.MS_SWITCHES / tma_info_thread_clks", 1675 "MetricGroup": "FetchLat;MicroSeq;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueMC;tma_issueMS;tma_issueMV;tma_issueSO", 1676 "MetricName": "tma_ms_switches", 1677 "MetricThreshold": "tma_ms_switches > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 1678 "PublicDescription": "This metric estimates the fraction of cycles when the CPU was stalled due to switches of uop delivery to the Microcode Sequencer (MS). Commonly used instructions are optimized for delivery by the DSB (decoded i-cache) or MITE (legacy instruction decode) pipelines. Certain operations cannot be handled natively by the execution pipeline; and must be performed by microcode (small programs injected into the execution stream). Switching to the MS too often can negatively impact performance. The MS is designated to deliver long uop flows required by CISC instructions like CPUID; or uncommon conditions like Floating Point Assists when dealing with Denormals. Sample with: IDQ.MS_SWITCHES. Related metrics: tma_clears_resteers, tma_info_bottleneck_irregular_overhead, tma_l1_bound, tma_machine_clears, tma_microcode_sequencer, tma_mixing_vectors, tma_serializing_operation", 1679 "ScaleUnit": "100%" 1680 }, 1681 { 1682 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring branch instructions that were not fused", 1683 "MetricExpr": "tma_light_operations * (BR_INST_RETIRED.ALL_BRANCHES - UOPS_RETIRED.MACRO_FUSED) / UOPS_RETIRED.RETIRE_SLOTS", 1684 "MetricGroup": "Branches;Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group", 1685 "MetricName": "tma_non_fused_branches", 1686 "MetricThreshold": "tma_non_fused_branches > 0.1 & tma_light_operations > 0.6", 1687 "PublicDescription": "This metric represents fraction of slots where the CPU was retiring branch instructions that were not fused. Non-conditional branches like direct JMP or CALL would count here. Can be used to examine fusible conditional jumps that were not fused.", 1688 "ScaleUnit": "100%" 1689 }, 1690 { 1691 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring NOP (no op) instructions", 1692 "MetricExpr": "tma_light_operations * INST_RETIRED.NOP / UOPS_RETIRED.RETIRE_SLOTS", 1693 "MetricGroup": "Pipeline;TopdownL4;tma_L4_group;tma_other_light_ops_group", 1694 "MetricName": "tma_nop_instructions", 1695 "MetricThreshold": "tma_nop_instructions > 0.1 & (tma_other_light_ops > 0.3 & tma_light_operations > 0.6)", 1696 "PublicDescription": "This metric represents fraction of slots where the CPU was retiring NOP (no op) instructions. Compilers often use NOPs for certain address alignments - e.g. start address of a function or loop body. Sample with: INST_RETIRED.NOP", 1697 "ScaleUnit": "100%" 1698 }, 1699 { 1700 "BriefDescription": "This metric represents the remaining light uops fraction the CPU has executed - remaining means not covered by other sibling nodes", 1701 "MetricExpr": "max(0, tma_light_operations - (tma_fp_arith + tma_memory_operations + tma_fused_instructions + tma_non_fused_branches))", 1702 "MetricGroup": "Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group", 1703 "MetricName": "tma_other_light_ops", 1704 "MetricThreshold": "tma_other_light_ops > 0.3 & tma_light_operations > 0.6", 1705 "PublicDescription": "This metric represents the remaining light uops fraction the CPU has executed - remaining means not covered by other sibling nodes. May undercount due to FMA double counting", 1706 "ScaleUnit": "100%" 1707 }, 1708 { 1709 "BriefDescription": "This metric estimates fraction of slots the CPU was stalled due to other cases of misprediction (non-retired x86 branches or other types).", 1710 "MetricExpr": "max(tma_branch_mispredicts * (1 - BR_MISP_RETIRED.ALL_BRANCHES / (INT_MISC.CLEARS_COUNT - MACHINE_CLEARS.COUNT)), 0.0001)", 1711 "MetricGroup": "BrMispredicts;TopdownL3;tma_L3_group;tma_branch_mispredicts_group", 1712 "MetricName": "tma_other_mispredicts", 1713 "MetricThreshold": "tma_other_mispredicts > 0.05 & (tma_branch_mispredicts > 0.1 & tma_bad_speculation > 0.15)", 1714 "ScaleUnit": "100%" 1715 }, 1716 { 1717 "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Nukes (Machine Clears) not related to memory ordering.", 1718 "MetricExpr": "max(tma_machine_clears * (1 - MACHINE_CLEARS.MEMORY_ORDERING / MACHINE_CLEARS.COUNT), 0.0001)", 1719 "MetricGroup": "Machine_Clears;TopdownL3;tma_L3_group;tma_machine_clears_group", 1720 "MetricName": "tma_other_nukes", 1721 "MetricThreshold": "tma_other_nukes > 0.05 & (tma_machine_clears > 0.1 & tma_bad_speculation > 0.15)", 1722 "ScaleUnit": "100%" 1723 }, 1724 { 1725 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 0 ([SNB+] ALU; [HSW+] ALU and 2nd branch)", 1726 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_0 / tma_info_core_core_clks", 1727 "MetricGroup": "Compute;TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 1728 "MetricName": "tma_port_0", 1729 "MetricThreshold": "tma_port_0 > 0.6", 1730 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 0 ([SNB+] ALU; [HSW+] ALU and 2nd branch). Sample with: UOPS_DISPATCHED_PORT.PORT_0. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 1731 "ScaleUnit": "100%" 1732 }, 1733 { 1734 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 1 (ALU)", 1735 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_1 / tma_info_core_core_clks", 1736 "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 1737 "MetricName": "tma_port_1", 1738 "MetricThreshold": "tma_port_1 > 0.6", 1739 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 1 (ALU). Sample with: UOPS_DISPATCHED_PORT.PORT_1. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_5, tma_port_6, tma_ports_utilized_2", 1740 "ScaleUnit": "100%" 1741 }, 1742 { 1743 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 2 ([SNB+]Loads and Store-address; [ICL+] Loads)", 1744 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_2 / tma_info_core_core_clks", 1745 "MetricGroup": "TopdownL6;tma_L6_group;tma_load_op_utilization_group", 1746 "MetricName": "tma_port_2", 1747 "MetricThreshold": "tma_port_2 > 0.6", 1748 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 2 ([SNB+]Loads and Store-address; [ICL+] Loads). Sample with: UOPS_DISPATCHED_PORT.PORT_2", 1749 "ScaleUnit": "100%" 1750 }, 1751 { 1752 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 3 ([SNB+]Loads and Store-address; [ICL+] Loads)", 1753 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_3 / tma_info_core_core_clks", 1754 "MetricGroup": "TopdownL6;tma_L6_group;tma_load_op_utilization_group", 1755 "MetricName": "tma_port_3", 1756 "MetricThreshold": "tma_port_3 > 0.6", 1757 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 3 ([SNB+]Loads and Store-address; [ICL+] Loads). Sample with: UOPS_DISPATCHED_PORT.PORT_3", 1758 "ScaleUnit": "100%" 1759 }, 1760 { 1761 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 4 (Store-data)", 1762 "MetricExpr": "tma_store_op_utilization", 1763 "MetricGroup": "TopdownL6;tma_L6_group;tma_issueSpSt;tma_store_op_utilization_group", 1764 "MetricName": "tma_port_4", 1765 "MetricThreshold": "tma_port_4 > 0.6", 1766 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 4 (Store-data). Sample with: UOPS_DISPATCHED_PORT.PORT_4. Related metrics: tma_split_stores", 1767 "ScaleUnit": "100%" 1768 }, 1769 { 1770 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 5 ([SNB+] Branches and ALU; [HSW+] ALU)", 1771 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_5 / tma_info_core_core_clks", 1772 "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 1773 "MetricName": "tma_port_5", 1774 "MetricThreshold": "tma_port_5 > 0.6", 1775 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 5 ([SNB+] Branches and ALU; [HSW+] ALU). Sample with: UOPS_DISPATCHED.PORT_5. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_6, tma_ports_utilized_2", 1776 "ScaleUnit": "100%" 1777 }, 1778 { 1779 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 6 ([HSW+] Primary Branch and simple ALU)", 1780 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_6 / tma_info_core_core_clks", 1781 "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 1782 "MetricName": "tma_port_6", 1783 "MetricThreshold": "tma_port_6 > 0.6", 1784 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 6 ([HSW+] Primary Branch and simple ALU). Sample with: UOPS_DISPATCHED_PORT.PORT_6. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_5, tma_ports_utilized_2", 1785 "ScaleUnit": "100%" 1786 }, 1787 { 1788 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 7 ([HSW+]simple Store-address)", 1789 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_7 / tma_info_core_core_clks", 1790 "MetricGroup": "TopdownL6;tma_L6_group;tma_store_op_utilization_group", 1791 "MetricName": "tma_port_7", 1792 "MetricThreshold": "tma_port_7 > 0.6", 1793 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 7 ([HSW+]simple Store-address). Sample with: UOPS_DISPATCHED_PORT.PORT_7", 1794 "ScaleUnit": "100%" 1795 }, 1796 { 1797 "BriefDescription": "This metric estimates fraction of cycles the CPU performance was potentially limited due to Core computation issues (non divider-related)", 1798 "MetricExpr": "((tma_ports_utilized_0 * tma_info_thread_clks + (EXE_ACTIVITY.1_PORTS_UTIL + tma_retiring * EXE_ACTIVITY.2_PORTS_UTIL)) / tma_info_thread_clks if ARITH.DIVIDER_ACTIVE < CYCLE_ACTIVITY.STALLS_TOTAL - CYCLE_ACTIVITY.STALLS_MEM_ANY else (EXE_ACTIVITY.1_PORTS_UTIL + tma_retiring * EXE_ACTIVITY.2_PORTS_UTIL) / tma_info_thread_clks)", 1799 "MetricGroup": "PortsUtil;TopdownL3;tma_L3_group;tma_core_bound_group", 1800 "MetricName": "tma_ports_utilization", 1801 "MetricThreshold": "tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", 1802 "PublicDescription": "This metric estimates fraction of cycles the CPU performance was potentially limited due to Core computation issues (non divider-related). Two distinct categories can be attributed into this metric: (1) heavy data-dependency among contiguous instructions would manifest in this metric - such cases are often referred to as low Instruction Level Parallelism (ILP). (2) Contention on some hardware execution unit other than Divider. For example; when there are too many multiply operations.", 1803 "ScaleUnit": "100%" 1804 }, 1805 { 1806 "BriefDescription": "This metric represents fraction of cycles CPU executed no uops on any execution port (Logical Processor cycles since ICL, Physical Core cycles otherwise)", 1807 "MetricExpr": "(EXE_ACTIVITY.EXE_BOUND_0_PORTS + tma_core_bound * RS_EVENTS.EMPTY_CYCLES) / tma_info_thread_clks * (CYCLE_ACTIVITY.STALLS_TOTAL - CYCLE_ACTIVITY.STALLS_MEM_ANY) / tma_info_thread_clks", 1808 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_ports_utilization_group", 1809 "MetricName": "tma_ports_utilized_0", 1810 "MetricThreshold": "tma_ports_utilized_0 > 0.2 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1811 "PublicDescription": "This metric represents fraction of cycles CPU executed no uops on any execution port (Logical Processor cycles since ICL, Physical Core cycles otherwise). Long-latency instructions like divides may contribute to this metric.", 1812 "ScaleUnit": "100%" 1813 }, 1814 { 1815 "BriefDescription": "This metric represents fraction of cycles where the CPU executed total of 1 uop per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise)", 1816 "MetricExpr": "((UOPS_EXECUTED.CORE_CYCLES_GE_1 - UOPS_EXECUTED.CORE_CYCLES_GE_2) / 2 if #SMT_on else EXE_ACTIVITY.1_PORTS_UTIL) / tma_info_core_core_clks", 1817 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_issueL1;tma_ports_utilization_group", 1818 "MetricName": "tma_ports_utilized_1", 1819 "MetricThreshold": "tma_ports_utilized_1 > 0.2 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1820 "PublicDescription": "This metric represents fraction of cycles where the CPU executed total of 1 uop per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise). This can be due to heavy data-dependency among software instructions; or over oversubscribing a particular hardware resource. In some other cases with high 1_Port_Utilized and L1_Bound; this metric can point to L1 data-cache latency bottleneck that may not necessarily manifest with complete execution starvation (due to the short L1 latency e.g. walking a linked list) - looking at the assembly can be helpful. Related metrics: tma_l1_bound", 1821 "ScaleUnit": "100%" 1822 }, 1823 { 1824 "BriefDescription": "This metric represents fraction of cycles CPU executed total of 2 uops per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise)", 1825 "MetricExpr": "((UOPS_EXECUTED.CORE_CYCLES_GE_2 - UOPS_EXECUTED.CORE_CYCLES_GE_3) / 2 if #SMT_on else EXE_ACTIVITY.2_PORTS_UTIL) / tma_info_core_core_clks", 1826 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_issue2P;tma_ports_utilization_group", 1827 "MetricName": "tma_ports_utilized_2", 1828 "MetricThreshold": "tma_ports_utilized_2 > 0.15 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1829 "PublicDescription": "This metric represents fraction of cycles CPU executed total of 2 uops per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise). Loop Vectorization -most compilers feature auto-Vectorization options today- reduces pressure on the execution ports as multiple elements are calculated with same uop. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_5, tma_port_6", 1830 "ScaleUnit": "100%" 1831 }, 1832 { 1833 "BriefDescription": "This metric represents fraction of cycles CPU executed total of 3 or more uops per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise).", 1834 "MetricExpr": "(UOPS_EXECUTED.CORE_CYCLES_GE_3 / 2 if #SMT_on else UOPS_EXECUTED.CORE_CYCLES_GE_3) / tma_info_core_core_clks", 1835 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_ports_utilization_group", 1836 "MetricName": "tma_ports_utilized_3m", 1837 "MetricThreshold": "tma_ports_utilized_3m > 0.4 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1838 "ScaleUnit": "100%" 1839 }, 1840 { 1841 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from remote cache in other sockets including synchronizations issues", 1842 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 1843 "MetricExpr": "(89.5 * tma_info_system_core_frequency * MEM_LOAD_L3_MISS_RETIRED.REMOTE_HITM + 89.5 * tma_info_system_core_frequency * MEM_LOAD_L3_MISS_RETIRED.REMOTE_FWD) * (1 + MEM_LOAD_RETIRED.FB_HIT / MEM_LOAD_RETIRED.L1_MISS / 2) / tma_info_thread_clks", 1844 "MetricGroup": "Offcore;Server;Snoop;TopdownL5;tma_L5_group;tma_issueSyncxn;tma_mem_latency_group", 1845 "MetricName": "tma_remote_cache", 1846 "MetricThreshold": "tma_remote_cache > 0.05 & (tma_mem_latency > 0.1 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))", 1847 "PublicDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from remote cache in other sockets including synchronizations issues. This is caused often due to non-optimal NUMA allocations. #link to NUMA article. Sample with: MEM_LOAD_L3_MISS_RETIRED.REMOTE_HITM_PS;MEM_LOAD_L3_MISS_RETIRED.REMOTE_FWD_PS. Related metrics: tma_contested_accesses, tma_data_sharing, tma_false_sharing, tma_machine_clears", 1848 "ScaleUnit": "100%" 1849 }, 1850 { 1851 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from remote memory", 1852 "MetricExpr": "127 * tma_info_system_core_frequency * MEM_LOAD_L3_MISS_RETIRED.REMOTE_DRAM * (1 + MEM_LOAD_RETIRED.FB_HIT / MEM_LOAD_RETIRED.L1_MISS / 2) / tma_info_thread_clks", 1853 "MetricGroup": "Server;Snoop;TopdownL5;tma_L5_group;tma_mem_latency_group", 1854 "MetricName": "tma_remote_mem", 1855 "MetricThreshold": "tma_remote_mem > 0.1 & (tma_mem_latency > 0.1 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))", 1856 "PublicDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from remote memory. This is caused often due to non-optimal NUMA allocations. #link to NUMA article. Sample with: MEM_LOAD_L3_MISS_RETIRED.REMOTE_DRAM_PS", 1857 "ScaleUnit": "100%" 1858 }, 1859 { 1860 "BriefDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired", 1861 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / tma_info_thread_slots", 1862 "MetricGroup": "TmaL1;TopdownL1;tma_L1_group", 1863 "MetricName": "tma_retiring", 1864 "MetricThreshold": "tma_retiring > 0.7 | tma_heavy_operations > 0.1", 1865 "MetricgroupNoGroup": "TopdownL1", 1866 "PublicDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired. Ideally; all pipeline slots would be attributed to the Retiring category. Retiring of 100% would indicate the maximum Pipeline_Width throughput was achieved. Maximizing Retiring typically increases the Instructions-per-cycle (see IPC metric). Note that a high Retiring value does not necessary mean there is no room for more performance. For example; Heavy-operations or Microcode Assists are categorized under Retiring. They often indicate suboptimal performance and can often be optimized or avoided. Sample with: UOPS_RETIRED.RETIRE_SLOTS", 1867 "ScaleUnit": "100%" 1868 }, 1869 { 1870 "BriefDescription": "This metric represents fraction of cycles the CPU issue-pipeline was stalled due to serializing operations", 1871 "MetricExpr": "PARTIAL_RAT_STALLS.SCOREBOARD / tma_info_thread_clks", 1872 "MetricGroup": "PortsUtil;TopdownL3;tma_L3_group;tma_core_bound_group;tma_issueSO", 1873 "MetricName": "tma_serializing_operation", 1874 "MetricThreshold": "tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", 1875 "PublicDescription": "This metric represents fraction of cycles the CPU issue-pipeline was stalled due to serializing operations. Instructions like CPUID; WRMSR or LFENCE serialize the out-of-order execution which may limit performance. Sample with: PARTIAL_RAT_STALLS.SCOREBOARD. Related metrics: tma_ms_switches", 1876 "ScaleUnit": "100%" 1877 }, 1878 { 1879 "BriefDescription": "This metric estimates fraction of cycles handling memory load split accesses - load that cross 64-byte cache line boundary", 1880 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 1881 "MetricExpr": "tma_info_memory_load_miss_real_latency * LD_BLOCKS.NO_SR / tma_info_thread_clks", 1882 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 1883 "MetricName": "tma_split_loads", 1884 "MetricThreshold": "tma_split_loads > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1885 "PublicDescription": "This metric estimates fraction of cycles handling memory load split accesses - load that cross 64-byte cache line boundary. Sample with: MEM_INST_RETIRED.SPLIT_LOADS_PS", 1886 "ScaleUnit": "100%" 1887 }, 1888 { 1889 "BriefDescription": "This metric represents rate of split store accesses", 1890 "MetricExpr": "MEM_INST_RETIRED.SPLIT_STORES / tma_info_core_core_clks", 1891 "MetricGroup": "TopdownL4;tma_L4_group;tma_issueSpSt;tma_store_bound_group", 1892 "MetricName": "tma_split_stores", 1893 "MetricThreshold": "tma_split_stores > 0.2 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1894 "PublicDescription": "This metric represents rate of split store accesses. Consider aligning your data to the 64-byte cache line granularity. Sample with: MEM_INST_RETIRED.SPLIT_STORES_PS. Related metrics: tma_port_4", 1895 "ScaleUnit": "100%" 1896 }, 1897 { 1898 "BriefDescription": "This metric measures fraction of cycles where the Super Queue (SQ) was full taking into account all request-types and both hardware SMT threads (Logical Processors)", 1899 "MetricExpr": "(OFFCORE_REQUESTS_BUFFER.SQ_FULL / 2 if #SMT_on else OFFCORE_REQUESTS_BUFFER.SQ_FULL) / tma_info_core_core_clks", 1900 "MetricGroup": "MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_issueBW;tma_l3_bound_group", 1901 "MetricName": "tma_sq_full", 1902 "MetricThreshold": "tma_sq_full > 0.3 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1903 "PublicDescription": "This metric measures fraction of cycles where the Super Queue (SQ) was full taking into account all request-types and both hardware SMT threads (Logical Processors). Related metrics: tma_fb_full, tma_info_bottleneck_cache_memory_bandwidth, tma_info_system_dram_bw_use, tma_mem_bandwidth", 1904 "ScaleUnit": "100%" 1905 }, 1906 { 1907 "BriefDescription": "This metric estimates how often CPU was stalled due to RFO store memory accesses; RFO store issue a read-for-ownership request before the write", 1908 "MetricExpr": "EXE_ACTIVITY.BOUND_ON_STORES / tma_info_thread_clks", 1909 "MetricGroup": "MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 1910 "MetricName": "tma_store_bound", 1911 "MetricThreshold": "tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 1912 "PublicDescription": "This metric estimates how often CPU was stalled due to RFO store memory accesses; RFO store issue a read-for-ownership request before the write. Even though store accesses do not typically stall out-of-order CPUs; there are few cases where stores can lead to actual stalls. This metric will be flagged should RFO stores be a bottleneck. Sample with: MEM_INST_RETIRED.ALL_STORES_PS", 1913 "ScaleUnit": "100%" 1914 }, 1915 { 1916 "BriefDescription": "This metric roughly estimates fraction of cycles when the memory subsystem had loads blocked since they could not forward data from earlier (in program order) overlapping stores", 1917 "MetricExpr": "13 * LD_BLOCKS.STORE_FORWARD / tma_info_thread_clks", 1918 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 1919 "MetricName": "tma_store_fwd_blk", 1920 "MetricThreshold": "tma_store_fwd_blk > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1921 "PublicDescription": "This metric roughly estimates fraction of cycles when the memory subsystem had loads blocked since they could not forward data from earlier (in program order) overlapping stores. To streamline memory operations in the pipeline; a load can avoid waiting for memory if a prior in-flight store is writing the data that the load wants to read (store forwarding process). However; in some cases the load may be blocked for a significant time pending the store forward. For example; when the prior store is writing a smaller region than the load is reading.", 1922 "ScaleUnit": "100%" 1923 }, 1924 { 1925 "BriefDescription": "This metric estimates fraction of cycles the CPU spent handling L1D store misses", 1926 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 1927 "MetricExpr": "(L2_RQSTS.RFO_HIT * 11 * (1 - MEM_INST_RETIRED.LOCK_LOADS / MEM_INST_RETIRED.ALL_STORES) + (1 - MEM_INST_RETIRED.LOCK_LOADS / MEM_INST_RETIRED.ALL_STORES) * min(CPU_CLK_UNHALTED.THREAD, OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_RFO)) / tma_info_thread_clks", 1928 "MetricGroup": "MemoryLat;Offcore;TopdownL4;tma_L4_group;tma_issueRFO;tma_issueSL;tma_store_bound_group", 1929 "MetricName": "tma_store_latency", 1930 "MetricThreshold": "tma_store_latency > 0.1 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1931 "PublicDescription": "This metric estimates fraction of cycles the CPU spent handling L1D store misses. Store accesses usually less impact out-of-order core performance; however; holding resources for longer time can lead into undesired implications (e.g. contention on L1D fill-buffer entries - see FB_Full). Related metrics: tma_fb_full, tma_lock_latency", 1932 "ScaleUnit": "100%" 1933 }, 1934 { 1935 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Store operations", 1936 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_4 / tma_info_core_core_clks", 1937 "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", 1938 "MetricName": "tma_store_op_utilization", 1939 "MetricThreshold": "tma_store_op_utilization > 0.6", 1940 "ScaleUnit": "100%" 1941 }, 1942 { 1943 "BriefDescription": "This metric roughly estimates the fraction of cycles where the TLB was missed by store accesses, hitting in the second-level TLB (STLB)", 1944 "MetricExpr": "tma_dtlb_store - tma_store_stlb_miss", 1945 "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_store_group", 1946 "MetricName": "tma_store_stlb_hit", 1947 "MetricThreshold": "tma_store_stlb_hit > 0.05 & (tma_dtlb_store > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))", 1948 "ScaleUnit": "100%" 1949 }, 1950 { 1951 "BriefDescription": "This metric estimates the fraction of cycles where the STLB was missed by store accesses, performing a hardware page walk", 1952 "MetricExpr": "DTLB_STORE_MISSES.WALK_ACTIVE / tma_info_core_core_clks", 1953 "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_store_group", 1954 "MetricName": "tma_store_stlb_miss", 1955 "MetricThreshold": "tma_store_stlb_miss > 0.05 & (tma_dtlb_store > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))", 1956 "ScaleUnit": "100%" 1957 }, 1958 { 1959 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to new branch address clears", 1960 "MetricExpr": "9 * BACLEARS.ANY / tma_info_thread_clks", 1961 "MetricGroup": "BigFootprint;FetchLat;TopdownL4;tma_L4_group;tma_branch_resteers_group", 1962 "MetricName": "tma_unknown_branches", 1963 "MetricThreshold": "tma_unknown_branches > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))", 1964 "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to new branch address clears. These are fetched branches the Branch Prediction Unit was unable to recognize (e.g. first time the branch is fetched or hitting BTB capacity limit) hence called Unknown Branches. Sample with: BACLEARS.ANY", 1965 "ScaleUnit": "100%" 1966 }, 1967 { 1968 "BriefDescription": "This metric serves as an approximation of legacy x87 usage", 1969 "MetricExpr": "tma_retiring * UOPS_EXECUTED.X87 / UOPS_EXECUTED.THREAD", 1970 "MetricGroup": "Compute;TopdownL4;tma_L4_group;tma_fp_arith_group", 1971 "MetricName": "tma_x87_use", 1972 "MetricThreshold": "tma_x87_use > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", 1973 "PublicDescription": "This metric serves as an approximation of legacy x87 usage. It accounts for instructions beyond X87 FP arithmetic operations; hence may be used as a thermometer to avoid X87 high usage and preferably upgrade to modern ISA. See Tip under Tuning Hint.", 1974 "ScaleUnit": "100%" 1975 }, 1976 { 1977 "BriefDescription": "Percentage of cycles in aborted transactions.", 1978 "MetricExpr": "(max(cycles\\-t - cycles\\-ct, 0) / cycles if has_event(cycles\\-t) else 0)", 1979 "MetricGroup": "transaction", 1980 "MetricName": "tsx_aborted_cycles", 1981 "ScaleUnit": "100%" 1982 }, 1983 { 1984 "BriefDescription": "Number of cycles within a transaction divided by the number of elisions.", 1985 "MetricExpr": "(cycles\\-t / el\\-start if has_event(el\\-start) else 0)", 1986 "MetricGroup": "transaction", 1987 "MetricName": "tsx_cycles_per_elision", 1988 "ScaleUnit": "1cycles / elision" 1989 }, 1990 { 1991 "BriefDescription": "Number of cycles within a transaction divided by the number of transactions.", 1992 "MetricExpr": "(cycles\\-t / tx\\-start if has_event(cycles\\-t) else 0)", 1993 "MetricGroup": "transaction", 1994 "MetricName": "tsx_cycles_per_transaction", 1995 "ScaleUnit": "1cycles / transaction" 1996 }, 1997 { 1998 "BriefDescription": "Percentage of cycles within a transaction region.", 1999 "MetricExpr": "(cycles\\-t / cycles if has_event(cycles\\-t) else 0)", 2000 "MetricGroup": "transaction", 2001 "MetricName": "tsx_transactional_cycles", 2002 "ScaleUnit": "100%" 2003 }, 2004 { 2005 "BriefDescription": "Uncore operating frequency in GHz", 2006 "MetricExpr": "UNC_CHA_CLOCKTICKS / (#num_cores / #num_packages * #num_packages) / 1e9 / duration_time", 2007 "MetricName": "uncore_frequency", 2008 "ScaleUnit": "1GHz" 2009 }, 2010 { 2011 "BriefDescription": "Intel(R) Ultra Path Interconnect (UPI) data receive bandwidth (MB/sec)", 2012 "MetricExpr": "UNC_UPI_RxL_FLITS.ALL_DATA * 7.111111111111111 / 1e6 / duration_time", 2013 "MetricName": "upi_data_receive_bw", 2014 "ScaleUnit": "1MB/s" 2015 }, 2016 { 2017 "BriefDescription": "Intel(R) Ultra Path Interconnect (UPI) data transmit bandwidth (MB/sec)", 2018 "MetricExpr": "UNC_UPI_TxL_FLITS.ALL_DATA * 7.111111111111111 / 1e6 / duration_time", 2019 "MetricName": "upi_data_transmit_bw", 2020 "ScaleUnit": "1MB/s" 2021 } 2022] 2023