1[ 2 { 3 "BriefDescription": "C1 residency percent per core", 4 "MetricExpr": "cstate_core@c1\\-residency@ / TSC", 5 "MetricGroup": "Power", 6 "MetricName": "C1_Core_Residency", 7 "ScaleUnit": "100%" 8 }, 9 { 10 "BriefDescription": "C2 residency percent per package", 11 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 12 "MetricGroup": "Power", 13 "MetricName": "C2_Pkg_Residency", 14 "ScaleUnit": "100%" 15 }, 16 { 17 "BriefDescription": "C6 residency percent per core", 18 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 19 "MetricGroup": "Power", 20 "MetricName": "C6_Core_Residency", 21 "ScaleUnit": "100%" 22 }, 23 { 24 "BriefDescription": "C6 residency percent per package", 25 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", 26 "MetricGroup": "Power", 27 "MetricName": "C6_Pkg_Residency", 28 "ScaleUnit": "100%" 29 }, 30 { 31 "BriefDescription": "Uncore frequency per die [GHZ]", 32 "MetricExpr": "tma_info_system_socket_clks / #num_dies / duration_time / 1e9", 33 "MetricGroup": "SoC", 34 "MetricName": "UNCORE_FREQ" 35 }, 36 { 37 "BriefDescription": "Cycles per instruction retired; indicating how much time each executed instruction took; in units of cycles.", 38 "MetricExpr": "CPU_CLK_UNHALTED.THREAD / INST_RETIRED.ANY", 39 "MetricName": "cpi", 40 "ScaleUnit": "1per_instr" 41 }, 42 { 43 "BriefDescription": "CPU operating frequency (in GHz)", 44 "MetricExpr": "CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC * #SYSTEM_TSC_FREQ / 1e9", 45 "MetricName": "cpu_operating_frequency", 46 "ScaleUnit": "1GHz" 47 }, 48 { 49 "BriefDescription": "Percentage of time spent in the active CPU power state C0", 50 "MetricExpr": "tma_info_system_cpus_utilized", 51 "MetricName": "cpu_utilization", 52 "ScaleUnit": "100%" 53 }, 54 { 55 "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", 56 "MetricExpr": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M / INST_RETIRED.ANY", 57 "MetricName": "dtlb_2nd_level_2mb_large_page_load_mpi", 58 "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.", 59 "ScaleUnit": "1per_instr" 60 }, 61 { 62 "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data loads to the total number of completed instructions", 63 "MetricExpr": "DTLB_LOAD_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 64 "MetricName": "dtlb_2nd_level_load_mpi", 65 "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.", 66 "ScaleUnit": "1per_instr" 67 }, 68 { 69 "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data stores to the total number of completed instructions", 70 "MetricExpr": "DTLB_STORE_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 71 "MetricName": "dtlb_2nd_level_store_mpi", 72 "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.", 73 "ScaleUnit": "1per_instr" 74 }, 75 { 76 "BriefDescription": "Bandwidth observed by the integrated I/O traffic controller (IIO) of IO reads that are initiated by end device controllers that are requesting memory from the CPU.", 77 "MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.ALL_PARTS * 4 / 1e6 / duration_time", 78 "MetricName": "iio_bandwidth_read", 79 "ScaleUnit": "1MB/s" 80 }, 81 { 82 "BriefDescription": "Bandwidth observed by the integrated I/O traffic controller (IIO) of IO writes that are initiated by end device controllers that are writing memory to the CPU.", 83 "MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.ALL_PARTS * 4 / 1e6 / duration_time", 84 "MetricName": "iio_bandwidth_write", 85 "ScaleUnit": "1MB/s" 86 }, 87 { 88 "BriefDescription": "Bandwidth of IO reads that are initiated by end device controllers that are requesting memory from the CPU.", 89 "MetricExpr": "UNC_CHA_TOR_INSERTS.IO_PCIRDCUR * 64 / 1e6 / duration_time", 90 "MetricName": "io_bandwidth_read", 91 "ScaleUnit": "1MB/s" 92 }, 93 { 94 "BriefDescription": "Bandwidth of IO reads that are initiated by end device controllers that are requesting memory from the local CPU socket.", 95 "MetricExpr": "UNC_CHA_TOR_INSERTS.IO_PCIRDCUR_LOCAL * 64 / 1e6 / duration_time", 96 "MetricName": "io_bandwidth_read_local", 97 "ScaleUnit": "1MB/s" 98 }, 99 { 100 "BriefDescription": "Bandwidth of IO reads that are initiated by end device controllers that are requesting memory from a remote CPU socket.", 101 "MetricExpr": "UNC_CHA_TOR_INSERTS.IO_PCIRDCUR_REMOTE * 64 / 1e6 / duration_time", 102 "MetricName": "io_bandwidth_read_remote", 103 "ScaleUnit": "1MB/s" 104 }, 105 { 106 "BriefDescription": "Bandwidth of IO writes that are initiated by end device controllers that are writing memory to the CPU.", 107 "MetricExpr": "(UNC_CHA_TOR_INSERTS.IO_ITOM + UNC_CHA_TOR_INSERTS.IO_ITOMCACHENEAR) * 64 / 1e6 / duration_time", 108 "MetricName": "io_bandwidth_write", 109 "ScaleUnit": "1MB/s" 110 }, 111 { 112 "BriefDescription": "Bandwidth of IO writes that are initiated by end device controllers that are writing memory to the local CPU socket.", 113 "MetricExpr": "(UNC_CHA_TOR_INSERTS.IO_ITOM_LOCAL + UNC_CHA_TOR_INSERTS.IO_ITOMCACHENEAR_LOCAL) * 64 / 1e6 / duration_time", 114 "MetricName": "io_bandwidth_write_local", 115 "ScaleUnit": "1MB/s" 116 }, 117 { 118 "BriefDescription": "Bandwidth of IO writes that are initiated by end device controllers that are writing memory to a remote CPU socket.", 119 "MetricExpr": "(UNC_CHA_TOR_INSERTS.IO_ITOM_REMOTE + UNC_CHA_TOR_INSERTS.IO_ITOMCACHENEAR_REMOTE) * 64 / 1e6 / duration_time", 120 "MetricName": "io_bandwidth_write_remote", 121 "ScaleUnit": "1MB/s" 122 }, 123 { 124 "BriefDescription": "Percentage of inbound full cacheline writes initiated by end device controllers that miss the L3 cache.", 125 "MetricExpr": "UNC_CHA_TOR_INSERTS.IO_MISS_ITOM / UNC_CHA_TOR_INSERTS.IO_ITOM", 126 "MetricName": "io_percent_of_inbound_full_writes_that_miss_l3", 127 "ScaleUnit": "100%" 128 }, 129 { 130 "BriefDescription": "Percentage of inbound partial cacheline writes initiated by end device controllers that miss the L3 cache.", 131 "MetricExpr": "(UNC_CHA_TOR_INSERTS.IO_MISS_ITOMCACHENEAR + UNC_CHA_TOR_INSERTS.IO_MISS_RFO) / (UNC_CHA_TOR_INSERTS.IO_ITOMCACHENEAR + UNC_CHA_TOR_INSERTS.IO_RFO)", 132 "MetricName": "io_percent_of_inbound_partial_writes_that_miss_l3", 133 "ScaleUnit": "100%" 134 }, 135 { 136 "BriefDescription": "Percentage of inbound reads initiated by end device controllers that miss the L3 cache.", 137 "MetricExpr": "UNC_CHA_TOR_INSERTS.IO_MISS_PCIRDCUR / UNC_CHA_TOR_INSERTS.IO_PCIRDCUR", 138 "MetricName": "io_percent_of_inbound_reads_that_miss_l3", 139 "ScaleUnit": "100%" 140 }, 141 { 142 "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", 143 "MetricExpr": "ITLB_MISSES.WALK_COMPLETED_2M_4M / INST_RETIRED.ANY", 144 "MetricName": "itlb_2nd_level_large_page_mpi", 145 "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.", 146 "ScaleUnit": "1per_instr" 147 }, 148 { 149 "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by a code fetch to the total number of completed instructions", 150 "MetricExpr": "ITLB_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 151 "MetricName": "itlb_2nd_level_mpi", 152 "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.", 153 "ScaleUnit": "1per_instr" 154 }, 155 { 156 "BriefDescription": "Ratio of number of code read requests missing in L1 instruction cache (includes prefetches) to the total number of completed instructions", 157 "MetricExpr": "L2_RQSTS.ALL_CODE_RD / INST_RETIRED.ANY", 158 "MetricName": "l1_i_code_read_misses_with_prefetches_per_instr", 159 "ScaleUnit": "1per_instr" 160 }, 161 { 162 "BriefDescription": "Ratio of number of demand load requests hitting in L1 data cache to the total number of completed instructions", 163 "MetricExpr": "MEM_LOAD_RETIRED.L1_HIT / INST_RETIRED.ANY", 164 "MetricName": "l1d_demand_data_read_hits_per_instr", 165 "ScaleUnit": "1per_instr" 166 }, 167 { 168 "BriefDescription": "Ratio of number of requests missing L1 data cache (includes data+rfo w/ prefetches) to the total number of completed instructions", 169 "MetricExpr": "L1D.REPLACEMENT / INST_RETIRED.ANY", 170 "MetricName": "l1d_mpi", 171 "ScaleUnit": "1per_instr" 172 }, 173 { 174 "BriefDescription": "Ratio of number of code read request missing L2 cache to the total number of completed instructions", 175 "MetricExpr": "L2_RQSTS.CODE_RD_MISS / INST_RETIRED.ANY", 176 "MetricName": "l2_demand_code_mpi", 177 "ScaleUnit": "1per_instr" 178 }, 179 { 180 "BriefDescription": "Ratio of number of completed demand load requests hitting in L2 cache to the total number of completed instructions", 181 "MetricExpr": "MEM_LOAD_RETIRED.L2_HIT / INST_RETIRED.ANY", 182 "MetricName": "l2_demand_data_read_hits_per_instr", 183 "ScaleUnit": "1per_instr" 184 }, 185 { 186 "BriefDescription": "Ratio of number of completed data read request missing L2 cache to the total number of completed instructions", 187 "MetricExpr": "MEM_LOAD_RETIRED.L2_MISS / INST_RETIRED.ANY", 188 "MetricName": "l2_demand_data_read_mpi", 189 "ScaleUnit": "1per_instr" 190 }, 191 { 192 "BriefDescription": "Ratio of number of requests missing L2 cache (includes code+data+rfo w/ prefetches) to the total number of completed instructions", 193 "MetricExpr": "L2_LINES_IN.ALL / INST_RETIRED.ANY", 194 "MetricName": "l2_mpi", 195 "ScaleUnit": "1per_instr" 196 }, 197 { 198 "BriefDescription": "Ratio of number of code read requests missing last level core cache (includes demand w/ prefetches) to the total number of completed instructions", 199 "MetricExpr": "UNC_CHA_TOR_INSERTS.IA_MISS_CRD / INST_RETIRED.ANY", 200 "MetricName": "llc_code_read_mpi_demand_plus_prefetch", 201 "ScaleUnit": "1per_instr" 202 }, 203 { 204 "BriefDescription": "Ratio of number of data read requests missing last level core cache (includes demand w/ prefetches) to the total number of completed instructions", 205 "MetricExpr": "(UNC_CHA_TOR_INSERTS.IA_MISS_LLCPREFDATA + UNC_CHA_TOR_INSERTS.IA_MISS_DRD + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF) / INST_RETIRED.ANY", 206 "MetricName": "llc_data_read_mpi_demand_plus_prefetch", 207 "ScaleUnit": "1per_instr" 208 }, 209 { 210 "BriefDescription": "Average latency of a last level cache (LLC) demand data read miss (read memory access) in nano seconds", 211 "MetricExpr": "1e9 * (UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD / UNC_CHA_TOR_INSERTS.IA_MISS_DRD) / (UNC_CHA_CLOCKTICKS / (source_count(UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD) * #num_packages)) * duration_time", 212 "MetricName": "llc_demand_data_read_miss_latency", 213 "ScaleUnit": "1ns" 214 }, 215 { 216 "BriefDescription": "Average latency of a last level cache (LLC) demand data read miss (read memory access) addressed to local memory in nano seconds", 217 "MetricExpr": "1e9 * (UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_LOCAL / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_LOCAL) / (UNC_CHA_CLOCKTICKS / (source_count(UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_LOCAL) * #num_packages)) * duration_time", 218 "MetricName": "llc_demand_data_read_miss_latency_for_local_requests", 219 "ScaleUnit": "1ns" 220 }, 221 { 222 "BriefDescription": "Average latency of a last level cache (LLC) demand data read miss (read memory access) addressed to remote memory in nano seconds", 223 "MetricExpr": "1e9 * (UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_REMOTE / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_REMOTE) / (UNC_CHA_CLOCKTICKS / (source_count(UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_REMOTE) * #num_packages)) * duration_time", 224 "MetricName": "llc_demand_data_read_miss_latency_for_remote_requests", 225 "ScaleUnit": "1ns" 226 }, 227 { 228 "BriefDescription": "Average latency of a last level cache (LLC) demand data read miss (read memory access) addressed to DRAM in nano seconds", 229 "MetricExpr": "1e9 * (UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_DDR / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_DDR) / (UNC_CHA_CLOCKTICKS / (source_count(UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_DDR) * #num_packages)) * duration_time", 230 "MetricName": "llc_demand_data_read_miss_to_dram_latency", 231 "ScaleUnit": "1ns" 232 }, 233 { 234 "BriefDescription": "Average latency of a last level cache (LLC) demand data read miss (read memory access) addressed to Intel(R) Optane(TM) Persistent Memory(PMEM) in nano seconds", 235 "MetricExpr": "1e9 * (UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_PMM / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PMM) / (UNC_CHA_CLOCKTICKS / (source_count(UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_PMM) * #num_packages)) * duration_time", 236 "MetricName": "llc_demand_data_read_miss_to_pmem_latency", 237 "ScaleUnit": "1ns" 238 }, 239 { 240 "BriefDescription": "Bandwidth (MB/sec) of read requests that miss the last level cache (LLC) and go to local memory.", 241 "MetricExpr": "UNC_CHA_REQUESTS.READS_LOCAL * 64 / 1e6 / duration_time", 242 "MetricName": "llc_miss_local_memory_bandwidth_read", 243 "ScaleUnit": "1MB/s" 244 }, 245 { 246 "BriefDescription": "Bandwidth (MB/sec) of write requests that miss the last level cache (LLC) and go to local memory.", 247 "MetricExpr": "UNC_CHA_REQUESTS.WRITES_LOCAL * 64 / 1e6 / duration_time", 248 "MetricName": "llc_miss_local_memory_bandwidth_write", 249 "ScaleUnit": "1MB/s" 250 }, 251 { 252 "BriefDescription": "Bandwidth (MB/sec) of read requests that miss the last level cache (LLC) and go to remote memory.", 253 "MetricExpr": "UNC_CHA_REQUESTS.READS_REMOTE * 64 / 1e6 / duration_time", 254 "MetricName": "llc_miss_remote_memory_bandwidth_read", 255 "ScaleUnit": "1MB/s" 256 }, 257 { 258 "BriefDescription": "Bandwidth (MB/sec) of write requests that miss the last level cache (LLC) and go to remote memory.", 259 "MetricExpr": "UNC_CHA_REQUESTS.WRITES_REMOTE * 64 / 1e6 / duration_time", 260 "MetricName": "llc_miss_remote_memory_bandwidth_write", 261 "ScaleUnit": "1MB/s" 262 }, 263 { 264 "BriefDescription": "The ratio of number of completed memory load instructions to the total number completed instructions", 265 "MetricExpr": "MEM_INST_RETIRED.ALL_LOADS / INST_RETIRED.ANY", 266 "MetricName": "loads_per_instr", 267 "ScaleUnit": "1per_instr" 268 }, 269 { 270 "BriefDescription": "DDR memory read bandwidth (MB/sec)", 271 "MetricExpr": "UNC_M_CAS_COUNT.RD * 64 / 1e6 / duration_time", 272 "MetricName": "memory_bandwidth_read", 273 "ScaleUnit": "1MB/s" 274 }, 275 { 276 "BriefDescription": "DDR memory bandwidth (MB/sec)", 277 "MetricExpr": "(UNC_M_CAS_COUNT.RD + UNC_M_CAS_COUNT.WR) * 64 / 1e6 / duration_time", 278 "MetricName": "memory_bandwidth_total", 279 "ScaleUnit": "1MB/s" 280 }, 281 { 282 "BriefDescription": "DDR memory write bandwidth (MB/sec)", 283 "MetricExpr": "UNC_M_CAS_COUNT.WR * 64 / 1e6 / duration_time", 284 "MetricName": "memory_bandwidth_write", 285 "ScaleUnit": "1MB/s" 286 }, 287 { 288 "BriefDescription": "Memory write bandwidth (MB/sec) caused by directory updates; includes DDR and Intel(R) Optane(TM) Persistent Memory(PMEM).", 289 "MetricExpr": "(UNC_CHA_DIR_UPDATE.HA + UNC_CHA_DIR_UPDATE.TOR + UNC_M2M_DIRECTORY_UPDATE.ANY) * 64 / 1e6 / duration_time", 290 "MetricName": "memory_extra_write_bw_due_to_directory_updates", 291 "ScaleUnit": "1MB/s" 292 }, 293 { 294 "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.", 295 "MetricExpr": "(UNC_CHA_TOR_INSERTS.IA_MISS_DRD_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_LOCAL) / (UNC_CHA_TOR_INSERTS.IA_MISS_DRD_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_REMOTE + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_REMOTE)", 296 "MetricName": "numa_reads_addressed_to_local_dram", 297 "ScaleUnit": "100%" 298 }, 299 { 300 "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.", 301 "MetricExpr": "(UNC_CHA_TOR_INSERTS.IA_MISS_DRD_REMOTE + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_REMOTE) / (UNC_CHA_TOR_INSERTS.IA_MISS_DRD_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_REMOTE + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_REMOTE)", 302 "MetricName": "numa_reads_addressed_to_remote_dram", 303 "ScaleUnit": "100%" 304 }, 305 { 306 "BriefDescription": "Uops delivered from decoded instruction cache (decoded stream buffer or DSB) as a percent of total uops delivered to Instruction Decode Queue", 307 "MetricExpr": "IDQ.DSB_UOPS / (IDQ.DSB_UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS + LSD.UOPS)", 308 "MetricName": "percent_uops_delivered_from_decoded_icache", 309 "ScaleUnit": "100%" 310 }, 311 { 312 "BriefDescription": "Uops delivered from legacy decode pipeline (Micro-instruction Translation Engine or MITE) as a percent of total uops delivered to Instruction Decode Queue", 313 "MetricExpr": "IDQ.MITE_UOPS / (IDQ.DSB_UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS + LSD.UOPS)", 314 "MetricName": "percent_uops_delivered_from_legacy_decode_pipeline", 315 "ScaleUnit": "100%" 316 }, 317 { 318 "BriefDescription": "Uops delivered from microcode sequencer (MS) as a percent of total uops delivered to Instruction Decode Queue", 319 "MetricExpr": "IDQ.MS_UOPS / (IDQ.DSB_UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS + LSD.UOPS)", 320 "MetricName": "percent_uops_delivered_from_microcode_sequencer", 321 "ScaleUnit": "100%" 322 }, 323 { 324 "BriefDescription": "Intel(R) Optane(TM) Persistent Memory(PMEM) memory read bandwidth (MB/sec)", 325 "MetricExpr": "UNC_M_PMM_RPQ_INSERTS * 64 / 1e6 / duration_time", 326 "MetricName": "pmem_memory_bandwidth_read", 327 "ScaleUnit": "1MB/s" 328 }, 329 { 330 "BriefDescription": "Intel(R) Optane(TM) Persistent Memory(PMEM) memory bandwidth (MB/sec)", 331 "MetricExpr": "(UNC_M_PMM_RPQ_INSERTS + UNC_M_PMM_WPQ_INSERTS) * 64 / 1e6 / duration_time", 332 "MetricName": "pmem_memory_bandwidth_total", 333 "ScaleUnit": "1MB/s" 334 }, 335 { 336 "BriefDescription": "Intel(R) Optane(TM) Persistent Memory(PMEM) memory write bandwidth (MB/sec)", 337 "MetricExpr": "UNC_M_PMM_WPQ_INSERTS * 64 / 1e6 / duration_time", 338 "MetricName": "pmem_memory_bandwidth_write", 339 "ScaleUnit": "1MB/s" 340 }, 341 { 342 "BriefDescription": "Percentage of cycles spent in System Management Interrupts.", 343 "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", 344 "MetricGroup": "smi", 345 "MetricName": "smi_cycles", 346 "MetricThreshold": "smi_cycles > 0.1", 347 "ScaleUnit": "100%" 348 }, 349 { 350 "BriefDescription": "Number of SMI interrupts.", 351 "MetricExpr": "msr@smi@", 352 "MetricGroup": "smi", 353 "MetricName": "smi_num", 354 "ScaleUnit": "1SMI#" 355 }, 356 { 357 "BriefDescription": "The ratio of number of completed memory store instructions to the total number completed instructions", 358 "MetricExpr": "MEM_INST_RETIRED.ALL_STORES / INST_RETIRED.ANY", 359 "MetricName": "stores_per_instr", 360 "ScaleUnit": "1per_instr" 361 }, 362 { 363 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution ports for ALU operations.", 364 "MetricExpr": "(UOPS_DISPATCHED.PORT_0 + UOPS_DISPATCHED.PORT_1 + UOPS_DISPATCHED.PORT_5_11 + UOPS_DISPATCHED.PORT_6) / (5 * tma_info_core_core_clks)", 365 "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", 366 "MetricName": "tma_alu_op_utilization", 367 "MetricThreshold": "tma_alu_op_utilization > 0.4", 368 "ScaleUnit": "100%" 369 }, 370 { 371 "BriefDescription": "This metric estimates fraction of cycles where the Advanced Matrix eXtensions (AMX) execution engine was busy with tile (arithmetic) operations", 372 "MetricExpr": "EXE.AMX_BUSY / tma_info_core_core_clks", 373 "MetricGroup": "BvCB;Compute;HPC;Server;TopdownL3;tma_L3_group;tma_core_bound_group", 374 "MetricName": "tma_amx_busy", 375 "MetricThreshold": "tma_amx_busy > 0.5 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", 376 "ScaleUnit": "100%" 377 }, 378 { 379 "BriefDescription": "This metric estimates fraction of slots the CPU retired uops delivered by the Microcode_Sequencer as a result of Assists", 380 "MetricExpr": "78 * ASSISTS.ANY / tma_info_thread_slots", 381 "MetricGroup": "BvIO;TopdownL4;tma_L4_group;tma_microcode_sequencer_group", 382 "MetricName": "tma_assists", 383 "MetricThreshold": "tma_assists > 0.1 & (tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1)", 384 "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: ASSISTS.ANY", 385 "ScaleUnit": "100%" 386 }, 387 { 388 "BriefDescription": "This metric estimates fraction of slots the CPU retired uops as a result of handing SSE to AVX* or AVX* to SSE transition Assists.", 389 "MetricExpr": "63 * ASSISTS.SSE_AVX_MIX / tma_info_thread_slots", 390 "MetricGroup": "HPC;TopdownL5;tma_L5_group;tma_assists_group", 391 "MetricName": "tma_avx_assists", 392 "MetricThreshold": "tma_avx_assists > 0.1", 393 "ScaleUnit": "100%" 394 }, 395 { 396 "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", 397 "DefaultMetricgroupName": "TopdownL1", 398 "MetricExpr": "topdown\\-be\\-bound / (topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound) + 0 * tma_info_thread_slots", 399 "MetricGroup": "BvOB;Default;TmaL1;TopdownL1;tma_L1_group", 400 "MetricName": "tma_backend_bound", 401 "MetricThreshold": "tma_backend_bound > 0.2", 402 "MetricgroupNoGroup": "TopdownL1;Default", 403 "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. Sample with: TOPDOWN.BACKEND_BOUND_SLOTS", 404 "ScaleUnit": "100%" 405 }, 406 { 407 "BriefDescription": "This category represents fraction of slots wasted due to incorrect speculations", 408 "DefaultMetricgroupName": "TopdownL1", 409 "MetricExpr": "max(1 - (tma_frontend_bound + tma_backend_bound + tma_retiring), 0)", 410 "MetricGroup": "Default;TmaL1;TopdownL1;tma_L1_group", 411 "MetricName": "tma_bad_speculation", 412 "MetricThreshold": "tma_bad_speculation > 0.15", 413 "MetricgroupNoGroup": "TopdownL1;Default", 414 "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.", 415 "ScaleUnit": "100%" 416 }, 417 { 418 "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Branch Misprediction", 419 "DefaultMetricgroupName": "TopdownL2", 420 "MetricExpr": "topdown\\-br\\-mispredict / (topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound) + 0 * tma_info_thread_slots", 421 "MetricGroup": "BadSpec;BrMispredicts;BvMP;Default;TmaL2;TopdownL2;tma_L2_group;tma_bad_speculation_group;tma_issueBM", 422 "MetricName": "tma_branch_mispredicts", 423 "MetricThreshold": "tma_branch_mispredicts > 0.1 & tma_bad_speculation > 0.15", 424 "MetricgroupNoGroup": "TopdownL2;Default", 425 "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: TOPDOWN.BR_MISPREDICT_SLOTS. Related metrics: tma_info_bad_spec_branch_misprediction_cost, tma_info_bottleneck_mispredictions, tma_mispredicts_resteers", 426 "ScaleUnit": "100%" 427 }, 428 { 429 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers", 430 "MetricExpr": "INT_MISC.CLEAR_RESTEER_CYCLES / tma_info_thread_clks + tma_unknown_branches", 431 "MetricGroup": "FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group", 432 "MetricName": "tma_branch_resteers", 433 "MetricThreshold": "tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 434 "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", 435 "ScaleUnit": "100%" 436 }, 437 { 438 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due staying in C0.1 power-performance optimized state (Faster wakeup time; Smaller power savings).", 439 "MetricExpr": "CPU_CLK_UNHALTED.C01 / tma_info_thread_clks", 440 "MetricGroup": "C0Wait;TopdownL4;tma_L4_group;tma_serializing_operation_group", 441 "MetricName": "tma_c01_wait", 442 "MetricThreshold": "tma_c01_wait > 0.05 & (tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 443 "ScaleUnit": "100%" 444 }, 445 { 446 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due staying in C0.2 power-performance optimized state (Slower wakeup time; Larger power savings).", 447 "MetricExpr": "CPU_CLK_UNHALTED.C02 / tma_info_thread_clks", 448 "MetricGroup": "C0Wait;TopdownL4;tma_L4_group;tma_serializing_operation_group", 449 "MetricName": "tma_c02_wait", 450 "MetricThreshold": "tma_c02_wait > 0.05 & (tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 451 "ScaleUnit": "100%" 452 }, 453 { 454 "BriefDescription": "This metric estimates fraction of cycles the CPU retired uops originated from CISC (complex instruction set computer) instruction", 455 "MetricExpr": "max(0, tma_microcode_sequencer - tma_assists)", 456 "MetricGroup": "TopdownL4;tma_L4_group;tma_microcode_sequencer_group", 457 "MetricName": "tma_cisc", 458 "MetricThreshold": "tma_cisc > 0.1 & (tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1)", 459 "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.", 460 "ScaleUnit": "100%" 461 }, 462 { 463 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Machine Clears", 464 "MetricExpr": "(1 - tma_branch_mispredicts / tma_bad_speculation) * INT_MISC.CLEAR_RESTEER_CYCLES / tma_info_thread_clks", 465 "MetricGroup": "BadSpec;MachineClears;TopdownL4;tma_L4_group;tma_branch_resteers_group;tma_issueMC", 466 "MetricName": "tma_clears_resteers", 467 "MetricThreshold": "tma_clears_resteers > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))", 468 "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", 469 "ScaleUnit": "100%" 470 }, 471 { 472 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to contested accesses", 473 "MetricExpr": "(76.6 * tma_info_system_core_frequency * (MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD * (OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM / (OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM + OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD))) + 74.6 * 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", 474 "MetricGroup": "BvMS;DataSharing;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_l3_bound_group", 475 "MetricName": "tma_contested_accesses", 476 "MetricThreshold": "tma_contested_accesses > 0.05 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 477 "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_FWD;MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS. Related metrics: tma_data_sharing, tma_false_sharing, tma_machine_clears, tma_remote_cache", 478 "ScaleUnit": "100%" 479 }, 480 { 481 "BriefDescription": "This metric represents fraction of slots where Core non-memory issues were of a bottleneck", 482 "DefaultMetricgroupName": "TopdownL2", 483 "MetricExpr": "max(0, tma_backend_bound - tma_memory_bound)", 484 "MetricGroup": "Backend;Compute;Default;TmaL2;TopdownL2;tma_L2_group;tma_backend_bound_group", 485 "MetricName": "tma_core_bound", 486 "MetricThreshold": "tma_core_bound > 0.1 & tma_backend_bound > 0.2", 487 "MetricgroupNoGroup": "TopdownL2;Default", 488 "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).", 489 "ScaleUnit": "100%" 490 }, 491 { 492 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to data-sharing accesses", 493 "MetricExpr": "74.6 * tma_info_system_core_frequency * (MEM_LOAD_L3_HIT_RETIRED.XSNP_NO_FWD + MEM_LOAD_L3_HIT_RETIRED.XSNP_FWD * (1 - OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM / (OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM + OCR.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", 494 "MetricGroup": "BvMS;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_l3_bound_group", 495 "MetricName": "tma_data_sharing", 496 "MetricThreshold": "tma_data_sharing > 0.05 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 497 "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_NO_FWD. Related metrics: tma_contested_accesses, tma_false_sharing, tma_machine_clears, tma_remote_cache", 498 "ScaleUnit": "100%" 499 }, 500 { 501 "BriefDescription": "This metric represents fraction of cycles where decoder-0 was the only active decoder", 502 "MetricExpr": "(cpu@INST_DECODED.DECODERS\\,cmask\\=1@ - cpu@INST_DECODED.DECODERS\\,cmask\\=2@) / tma_info_core_core_clks / 2", 503 "MetricGroup": "DSBmiss;FetchBW;TopdownL4;tma_L4_group;tma_issueD0;tma_mite_group", 504 "MetricName": "tma_decoder0_alone", 505 "MetricThreshold": "tma_decoder0_alone > 0.1 & (tma_mite > 0.1 & tma_fetch_bandwidth > 0.2)", 506 "PublicDescription": "This metric represents fraction of cycles where decoder-0 was the only active decoder. Related metrics: tma_few_uops_instructions", 507 "ScaleUnit": "100%" 508 }, 509 { 510 "BriefDescription": "This metric represents fraction of cycles where the Divider unit was active", 511 "MetricExpr": "ARITH.DIV_ACTIVE / tma_info_thread_clks", 512 "MetricGroup": "BvCB;TopdownL3;tma_L3_group;tma_core_bound_group", 513 "MetricName": "tma_divider", 514 "MetricThreshold": "tma_divider > 0.2 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", 515 "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", 516 "ScaleUnit": "100%" 517 }, 518 { 519 "BriefDescription": "This metric estimates how often the CPU was stalled on accesses to external memory (DRAM) by loads", 520 "MetricExpr": "( MEMORY_ACTIVITY.STALLS_L3_MISS / tma_info_thread_clks )", 521 "MetricGroup": "MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 522 "MetricName": "tma_dram_bound", 523 "MetricThreshold": "tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 524 "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", 525 "ScaleUnit": "100%" 526 }, 527 { 528 "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to DSB (decoded uop cache) fetch pipeline", 529 "MetricExpr": "(IDQ.DSB_CYCLES_ANY - IDQ.DSB_CYCLES_OK) / tma_info_core_core_clks / 2", 530 "MetricGroup": "DSB;FetchBW;TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 531 "MetricName": "tma_dsb", 532 "MetricThreshold": "tma_dsb > 0.15 & tma_fetch_bandwidth > 0.2", 533 "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.", 534 "ScaleUnit": "100%" 535 }, 536 { 537 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to switches from DSB to MITE pipelines", 538 "MetricExpr": "DSB2MITE_SWITCHES.PENALTY_CYCLES / tma_info_thread_clks", 539 "MetricGroup": "DSBmiss;FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueFB", 540 "MetricName": "tma_dsb_switches", 541 "MetricThreshold": "tma_dsb_switches > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 542 "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_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp", 543 "ScaleUnit": "100%" 544 }, 545 { 546 "BriefDescription": "This metric roughly estimates the fraction of cycles where the Data TLB (DTLB) was missed by load accesses", 547 "MetricExpr": "min(7 * cpu@DTLB_LOAD_MISSES.STLB_HIT\\,cmask\\=1@ + DTLB_LOAD_MISSES.WALK_ACTIVE, max(CYCLE_ACTIVITY.CYCLES_MEM_ANY - MEMORY_ACTIVITY.CYCLES_L1D_MISS, 0)) / tma_info_thread_clks", 548 "MetricGroup": "BvMT;MemoryTLB;TopdownL4;tma_L4_group;tma_issueTLB;tma_l1_bound_group", 549 "MetricName": "tma_dtlb_load", 550 "MetricThreshold": "tma_dtlb_load > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 551 "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", 552 "ScaleUnit": "100%" 553 }, 554 { 555 "BriefDescription": "This metric roughly estimates the fraction of cycles spent handling first-level data TLB store misses", 556 "MetricExpr": "(7 * cpu@DTLB_STORE_MISSES.STLB_HIT\\,cmask\\=1@ + DTLB_STORE_MISSES.WALK_ACTIVE) / tma_info_core_core_clks", 557 "MetricGroup": "BvMT;MemoryTLB;TopdownL4;tma_L4_group;tma_issueTLB;tma_store_bound_group", 558 "MetricName": "tma_dtlb_store", 559 "MetricThreshold": "tma_dtlb_store > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 560 "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", 561 "ScaleUnit": "100%" 562 }, 563 { 564 "BriefDescription": "This metric roughly estimates how often CPU was handling synchronizations due to False Sharing", 565 "MetricExpr": "81 * tma_info_system_core_frequency * OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM / tma_info_thread_clks", 566 "MetricGroup": "BvMS;DataSharing;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_store_bound_group", 567 "MetricName": "tma_false_sharing", 568 "MetricThreshold": "tma_false_sharing > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 569 "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: OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM. Related metrics: tma_contested_accesses, tma_data_sharing, tma_machine_clears, tma_remote_cache", 570 "ScaleUnit": "100%" 571 }, 572 { 573 "BriefDescription": "This metric does a *rough estimation* of how often L1D Fill Buffer unavailability limited additional L1D miss memory access requests to proceed", 574 "MetricExpr": "L1D_PEND_MISS.FB_FULL / tma_info_thread_clks", 575 "MetricGroup": "BvMS;MemoryBW;TopdownL4;tma_L4_group;tma_issueBW;tma_issueSL;tma_issueSmSt;tma_l1_bound_group", 576 "MetricName": "tma_fb_full", 577 "MetricThreshold": "tma_fb_full > 0.3", 578 "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", 579 "ScaleUnit": "100%" 580 }, 581 { 582 "BriefDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend bandwidth issues", 583 "DefaultMetricgroupName": "TopdownL2", 584 "MetricExpr": "max(0, tma_frontend_bound - tma_fetch_latency)", 585 "MetricGroup": "Default;FetchBW;Frontend;TmaL2;TopdownL2;tma_L2_group;tma_frontend_bound_group;tma_issueFB", 586 "MetricName": "tma_fetch_bandwidth", 587 "MetricThreshold": "tma_fetch_bandwidth > 0.2", 588 "MetricgroupNoGroup": "TopdownL2;Default", 589 "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_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp", 590 "ScaleUnit": "100%" 591 }, 592 { 593 "BriefDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend latency issues", 594 "DefaultMetricgroupName": "TopdownL2", 595 "MetricExpr": "topdown\\-fetch\\-lat / (topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound) - INT_MISC.UOP_DROPPING / tma_info_thread_slots", 596 "MetricGroup": "Default;Frontend;TmaL2;TopdownL2;tma_L2_group;tma_frontend_bound_group", 597 "MetricName": "tma_fetch_latency", 598 "MetricThreshold": "tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15", 599 "MetricgroupNoGroup": "TopdownL2;Default", 600 "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", 601 "ScaleUnit": "100%" 602 }, 603 { 604 "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", 605 "MetricExpr": "max(0, tma_heavy_operations - tma_microcode_sequencer)", 606 "MetricGroup": "TopdownL3;tma_L3_group;tma_heavy_operations_group;tma_issueD0", 607 "MetricName": "tma_few_uops_instructions", 608 "MetricThreshold": "tma_few_uops_instructions > 0.05 & tma_heavy_operations > 0.1", 609 "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", 610 "ScaleUnit": "100%" 611 }, 612 { 613 "BriefDescription": "This metric represents overall arithmetic floating-point (FP) operations fraction the CPU has executed (retired)", 614 "MetricExpr": "tma_x87_use + tma_fp_scalar + tma_fp_vector", 615 "MetricGroup": "HPC;TopdownL3;tma_L3_group;tma_light_operations_group", 616 "MetricName": "tma_fp_arith", 617 "MetricThreshold": "tma_fp_arith > 0.2 & tma_light_operations > 0.6", 618 "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.", 619 "ScaleUnit": "100%" 620 }, 621 { 622 "BriefDescription": "This metric roughly estimates fraction of slots the CPU retired uops as a result of handing Floating Point (FP) Assists", 623 "MetricExpr": "30 * ASSISTS.FP / tma_info_thread_slots", 624 "MetricGroup": "HPC;TopdownL5;tma_L5_group;tma_assists_group", 625 "MetricName": "tma_fp_assists", 626 "MetricThreshold": "tma_fp_assists > 0.1", 627 "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).", 628 "ScaleUnit": "100%" 629 }, 630 { 631 "BriefDescription": "This metric approximates arithmetic floating-point (FP) scalar uops fraction the CPU has retired", 632 "MetricExpr": "(FP_ARITH_INST_RETIRED.SCALAR + FP_ARITH_INST_RETIRED2.SCALAR) / (tma_retiring * tma_info_thread_slots)", 633 "MetricGroup": "Compute;Flops;TopdownL4;tma_L4_group;tma_fp_arith_group;tma_issue2P", 634 "MetricName": "tma_fp_scalar", 635 "MetricThreshold": "tma_fp_scalar > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", 636 "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_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 637 "ScaleUnit": "100%" 638 }, 639 { 640 "BriefDescription": "This metric approximates arithmetic floating-point (FP) vector uops fraction the CPU has retired aggregated across all vector widths", 641 "MetricExpr": "(FP_ARITH_INST_RETIRED.VECTOR + FP_ARITH_INST_RETIRED2.VECTOR) / (tma_retiring * tma_info_thread_slots)", 642 "MetricGroup": "Compute;Flops;TopdownL4;tma_L4_group;tma_fp_arith_group;tma_issue2P", 643 "MetricName": "tma_fp_vector", 644 "MetricThreshold": "tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", 645 "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_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 646 "ScaleUnit": "100%" 647 }, 648 { 649 "BriefDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 128-bit wide vectors", 650 "MetricExpr": "(FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.128B_PACKED_HALF) / (tma_retiring * tma_info_thread_slots)", 651 "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P", 652 "MetricName": "tma_fp_vector_128b", 653 "MetricThreshold": "tma_fp_vector_128b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))", 654 "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_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 655 "ScaleUnit": "100%" 656 }, 657 { 658 "BriefDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 256-bit wide vectors", 659 "MetricExpr": "(FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.256B_PACKED_HALF) / (tma_retiring * tma_info_thread_slots)", 660 "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P", 661 "MetricName": "tma_fp_vector_256b", 662 "MetricThreshold": "tma_fp_vector_256b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))", 663 "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_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 664 "ScaleUnit": "100%" 665 }, 666 { 667 "BriefDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 512-bit wide vectors", 668 "MetricExpr": "(FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.512B_PACKED_HALF) / (tma_retiring * tma_info_thread_slots)", 669 "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P", 670 "MetricName": "tma_fp_vector_512b", 671 "MetricThreshold": "tma_fp_vector_512b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))", 672 "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_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 673 "ScaleUnit": "100%" 674 }, 675 { 676 "BriefDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend", 677 "DefaultMetricgroupName": "TopdownL1", 678 "MetricExpr": "topdown\\-fe\\-bound / (topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound) - INT_MISC.UOP_DROPPING / tma_info_thread_slots", 679 "MetricGroup": "BvFB;BvIO;Default;PGO;TmaL1;TopdownL1;tma_L1_group", 680 "MetricName": "tma_frontend_bound", 681 "MetricThreshold": "tma_frontend_bound > 0.15", 682 "MetricgroupNoGroup": "TopdownL1;Default", 683 "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", 684 "ScaleUnit": "100%" 685 }, 686 { 687 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring fused instructions -- where one uop can represent multiple contiguous instructions", 688 "MetricExpr": "tma_light_operations * INST_RETIRED.MACRO_FUSED / (tma_retiring * tma_info_thread_slots)", 689 "MetricGroup": "Branches;BvBO;Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group", 690 "MetricName": "tma_fused_instructions", 691 "MetricThreshold": "tma_fused_instructions > 0.1 & tma_light_operations > 0.6", 692 "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!)}", 693 "ScaleUnit": "100%" 694 }, 695 { 696 "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", 697 "DefaultMetricgroupName": "TopdownL2", 698 "MetricExpr": "topdown\\-heavy\\-ops / (topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound) + 0 * tma_info_thread_slots", 699 "MetricGroup": "Default;Retire;TmaL2;TopdownL2;tma_L2_group;tma_retiring_group", 700 "MetricName": "tma_heavy_operations", 701 "MetricThreshold": "tma_heavy_operations > 0.1", 702 "MetricgroupNoGroup": "TopdownL2;Default", 703 "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+] .)", 704 "ScaleUnit": "100%" 705 }, 706 { 707 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to instruction cache misses", 708 "MetricExpr": "ICACHE_DATA.STALLS / tma_info_thread_clks", 709 "MetricGroup": "BigFootprint;BvBC;FetchLat;IcMiss;TopdownL3;tma_L3_group;tma_fetch_latency_group", 710 "MetricName": "tma_icache_misses", 711 "MetricThreshold": "tma_icache_misses > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 712 "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", 713 "ScaleUnit": "100%" 714 }, 715 { 716 "BriefDescription": "Branch Misprediction Cost: Fraction of TMA slots wasted per non-speculative branch misprediction (retired JEClear)", 717 "MetricExpr": "tma_info_bottleneck_mispredictions * tma_info_thread_slots / BR_MISP_RETIRED.ALL_BRANCHES / 100", 718 "MetricGroup": "Bad;BrMispredicts;tma_issueBM", 719 "MetricName": "tma_info_bad_spec_branch_misprediction_cost", 720 "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" 721 }, 722 { 723 "BriefDescription": "Instructions per retired mispredicts for conditional non-taken branches (lower number means higher occurrence rate).", 724 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.COND_NTAKEN", 725 "MetricGroup": "Bad;BrMispredicts", 726 "MetricName": "tma_info_bad_spec_ipmisp_cond_ntaken", 727 "MetricThreshold": "tma_info_bad_spec_ipmisp_cond_ntaken < 200" 728 }, 729 { 730 "BriefDescription": "Instructions per retired mispredicts for conditional taken branches (lower number means higher occurrence rate).", 731 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.COND_TAKEN", 732 "MetricGroup": "Bad;BrMispredicts", 733 "MetricName": "tma_info_bad_spec_ipmisp_cond_taken", 734 "MetricThreshold": "tma_info_bad_spec_ipmisp_cond_taken < 200" 735 }, 736 { 737 "BriefDescription": "Instructions per retired mispredicts for indirect CALL or JMP branches (lower number means higher occurrence rate).", 738 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.INDIRECT", 739 "MetricGroup": "Bad;BrMispredicts", 740 "MetricName": "tma_info_bad_spec_ipmisp_indirect", 741 "MetricThreshold": "tma_info_bad_spec_ipmisp_indirect < 1e3" 742 }, 743 { 744 "BriefDescription": "Instructions per retired mispredicts for return branches (lower number means higher occurrence rate).", 745 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.RET", 746 "MetricGroup": "Bad;BrMispredicts", 747 "MetricName": "tma_info_bad_spec_ipmisp_ret", 748 "MetricThreshold": "tma_info_bad_spec_ipmisp_ret < 500" 749 }, 750 { 751 "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction (JEClear) (lower number means higher occurrence rate)", 752 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES", 753 "MetricGroup": "Bad;BadSpec;BrMispredicts", 754 "MetricName": "tma_info_bad_spec_ipmispredict", 755 "MetricThreshold": "tma_info_bad_spec_ipmispredict < 200" 756 }, 757 { 758 "BriefDescription": "Speculative to Retired ratio of all clears (covering mispredicts and nukes)", 759 "MetricExpr": "INT_MISC.CLEARS_COUNT / (BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT)", 760 "MetricGroup": "BrMispredicts", 761 "MetricName": "tma_info_bad_spec_spec_clears_ratio" 762 }, 763 { 764 "BriefDescription": "Probability of Core Bound bottleneck hidden by SMT-profiling artifacts", 765 "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)", 766 "MetricGroup": "Cor;SMT", 767 "MetricName": "tma_info_botlnk_l0_core_bound_likely", 768 "MetricThreshold": "tma_info_botlnk_l0_core_bound_likely > 0.5" 769 }, 770 { 771 "BriefDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch_BW Bottleneck", 772 "MetricExpr": "100 * (tma_frontend_bound * (tma_fetch_bandwidth / (tma_fetch_bandwidth + tma_fetch_latency)) * (tma_dsb / (tma_dsb + tma_mite)))", 773 "MetricGroup": "DSB;FetchBW;tma_issueFB", 774 "MetricName": "tma_info_botlnk_l2_dsb_bandwidth", 775 "MetricThreshold": "tma_info_botlnk_l2_dsb_bandwidth > 10", 776 "PublicDescription": "Total pipeline cost of DSB (uop cache) hits - subset of the Instruction_Fetch_BW Bottleneck. Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp" 777 }, 778 { 779 "BriefDescription": "Total pipeline cost of DSB (uop cache) misses - subset of the Instruction_Fetch_BW Bottleneck", 780 "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))", 781 "MetricGroup": "DSBmiss;Fed;tma_issueFB", 782 "MetricName": "tma_info_botlnk_l2_dsb_misses", 783 "MetricThreshold": "tma_info_botlnk_l2_dsb_misses > 10", 784 "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_botlnk_l2_dsb_bandwidth, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp" 785 }, 786 { 787 "BriefDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bottleneck", 788 "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))", 789 "MetricGroup": "Fed;FetchLat;IcMiss;tma_issueFL", 790 "MetricName": "tma_info_botlnk_l2_ic_misses", 791 "MetricThreshold": "tma_info_botlnk_l2_ic_misses > 5", 792 "PublicDescription": "Total pipeline cost of Instruction Cache misses - subset of the Big_Code Bottleneck. Related metrics: " 793 }, 794 { 795 "BriefDescription": "Total pipeline cost of instruction fetch related bottlenecks by large code footprint programs (i-side cache; TLB and BTB misses)", 796 "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)", 797 "MetricGroup": "BigFootprint;BvBC;Fed;Frontend;IcMiss;MemoryTLB", 798 "MetricName": "tma_info_bottleneck_big_code", 799 "MetricThreshold": "tma_info_bottleneck_big_code > 20" 800 }, 801 { 802 "BriefDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA", 803 "MetricExpr": "100 * ((BR_INST_RETIRED.ALL_BRANCHES + 2 * BR_INST_RETIRED.NEAR_CALL + INST_RETIRED.NOP) / tma_info_thread_slots)", 804 "MetricGroup": "BvBO;Ret", 805 "MetricName": "tma_info_bottleneck_branching_overhead", 806 "MetricThreshold": "tma_info_bottleneck_branching_overhead > 5", 807 "PublicDescription": "Total pipeline cost of instructions used for program control-flow - a subset of the Retiring category in TMA. Examples include function calls; loops and alignments. (A lower bound)" 808 }, 809 { 810 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Bandwidth related bottlenecks", 811 "MetricExpr": "100 * ( ( tma_memory_bound * ( tma_dram_bound / ( tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound + tma_store_bound ) ) * ( tma_mem_bandwidth / ( tma_mem_bandwidth + tma_mem_latency ) ) ) + ( tma_memory_bound * ( tma_l3_bound / ( tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_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_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound + tma_store_bound ) ) * ( tma_fb_full / ( tma_dtlb_load + tma_store_fwd_blk + tma_l1_hit_latency + tma_lock_latency + tma_split_loads + tma_fb_full ) ) ) )", 812 "MetricGroup": "BvMB;Mem;MemoryBW;Offcore;tma_issueBW", 813 "MetricName": "tma_info_bottleneck_cache_memory_bandwidth", 814 "MetricThreshold": "tma_info_bottleneck_cache_memory_bandwidth > 20", 815 "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" 816 }, 817 { 818 "BriefDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks", 819 "MetricExpr": "100 * ( ( tma_memory_bound * ( tma_dram_bound / ( tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound + tma_store_bound ) ) * ( tma_mem_latency / ( tma_mem_bandwidth + tma_mem_latency ) ) ) + ( tma_memory_bound * ( tma_l3_bound / ( tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_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_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound + tma_store_bound ) ) + ( tma_memory_bound * ( tma_store_bound / ( tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound + tma_store_bound ) ) * ( tma_store_latency / ( tma_store_latency + tma_false_sharing + tma_split_stores + tma_streaming_stores + tma_dtlb_store ) ) ) + ( tma_memory_bound * ( tma_l1_bound / ( tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound + tma_store_bound ) ) * ( tma_l1_hit_latency / ( tma_dtlb_load + tma_store_fwd_blk + tma_l1_hit_latency + tma_lock_latency + tma_split_loads + tma_fb_full ) ) ) )", 820 "MetricGroup": "BvML;Mem;MemoryLat;Offcore;tma_issueLat", 821 "MetricName": "tma_info_bottleneck_cache_memory_latency", 822 "MetricThreshold": "tma_info_bottleneck_cache_memory_latency > 20", 823 "PublicDescription": "Total pipeline cost of external Memory- or Cache-Latency related bottlenecks. Related metrics: tma_l3_hit_latency, tma_mem_latency" 824 }, 825 { 826 "BriefDescription": "Total pipeline cost when the execution is compute-bound - an estimation", 827 "MetricExpr": "100 * (tma_core_bound * tma_divider / (tma_amx_busy + tma_divider + tma_ports_utilization + tma_serializing_operation) + tma_core_bound * tma_amx_busy / (tma_amx_busy + tma_divider + tma_ports_utilization + tma_serializing_operation) + tma_core_bound * (tma_ports_utilization / (tma_amx_busy + 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)))", 828 "MetricGroup": "BvCB;Cor;tma_issueComp", 829 "MetricName": "tma_info_bottleneck_compute_bound_est", 830 "MetricThreshold": "tma_info_bottleneck_compute_bound_est > 20", 831 "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: " 832 }, 833 { 834 "BriefDescription": "Total pipeline cost of instruction fetch bandwidth related bottlenecks (when the front-end could not sustain operations delivery to the back-end)", 835 "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) - (1 - INST_RETIRED.REP_ITERATION / cpu@UOPS_RETIRED.MS\\,cmask\\=1@) * (tma_fetch_latency * (tma_ms_switches + tma_branch_resteers * (tma_clears_resteers + tma_mispredicts_resteers * 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", 836 "MetricGroup": "BvFB;Fed;FetchBW;Frontend", 837 "MetricName": "tma_info_bottleneck_instruction_fetch_bw", 838 "MetricThreshold": "tma_info_bottleneck_instruction_fetch_bw > 20" 839 }, 840 { 841 "BriefDescription": "Total pipeline cost of irregular execution (e.g", 842 "MetricExpr": "100 * ((1 - INST_RETIRED.REP_ITERATION / cpu@UOPS_RETIRED.MS\\,cmask\\=1@) * (tma_fetch_latency * (tma_ms_switches + tma_branch_resteers * (tma_clears_resteers + tma_mispredicts_resteers * 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 + cpu@RS.EMPTY\\,umask\\=1@ / tma_info_thread_clks * tma_ports_utilized_0) / (tma_amx_busy + 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)", 843 "MetricGroup": "Bad;BvIO;Cor;Ret;tma_issueMS", 844 "MetricName": "tma_info_bottleneck_irregular_overhead", 845 "MetricThreshold": "tma_info_bottleneck_irregular_overhead > 10", 846 "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" 847 }, 848 { 849 "BriefDescription": "Total pipeline cost of Memory Address Translation related bottlenecks (data-side TLBs)", 850 "MetricExpr": "100 * ( tma_memory_bound * ( tma_l1_bound / max( tma_memory_bound , ( tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound + tma_store_bound ) ) ) * ( tma_dtlb_load / max( tma_l1_bound , ( tma_dtlb_load + tma_store_fwd_blk + tma_l1_hit_latency + tma_lock_latency + tma_split_loads + tma_fb_full ) ) ) + ( tma_memory_bound * ( tma_store_bound / ( tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound + tma_store_bound ) ) * ( tma_dtlb_store / ( tma_store_latency + tma_false_sharing + tma_split_stores + tma_streaming_stores + tma_dtlb_store ) ) ) )", 851 "MetricGroup": "BvMT;Mem;MemoryTLB;Offcore;tma_issueTLB", 852 "MetricName": "tma_info_bottleneck_memory_data_tlbs", 853 "MetricThreshold": "tma_info_bottleneck_memory_data_tlbs > 20", 854 "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" 855 }, 856 { 857 "BriefDescription": "Total pipeline cost of Memory Synchronization related bottlenecks (data transfers and coherency updates across processors)", 858 "MetricExpr": "100 * ( tma_memory_bound * ( ( tma_dram_bound / ( tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound + tma_store_bound ) ) * ( tma_mem_latency / ( tma_mem_bandwidth + tma_mem_latency ) ) * tma_remote_cache / ( tma_local_mem + tma_remote_mem + tma_remote_cache ) + ( tma_l3_bound / ( tma_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_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_l1_bound + tma_l2_bound + tma_l3_bound + tma_dram_bound + tma_store_bound ) ) * tma_false_sharing / ( ( tma_store_latency + tma_false_sharing + tma_split_stores + tma_streaming_stores + tma_dtlb_store ) - tma_store_latency ) ) + tma_machine_clears * ( 1 - tma_other_nukes / ( tma_other_nukes ) ) )", 859 "MetricGroup": "BvMS;Mem;Offcore;tma_issueTLB", 860 "MetricName": "tma_info_bottleneck_memory_synchronization", 861 "MetricThreshold": "tma_info_bottleneck_memory_synchronization > 10", 862 "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" 863 }, 864 { 865 "BriefDescription": "Total pipeline cost of Branch Misprediction related bottlenecks", 866 "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))", 867 "MetricGroup": "Bad;BadSpec;BrMispredicts;BvMP;tma_issueBM", 868 "MetricName": "tma_info_bottleneck_mispredictions", 869 "MetricThreshold": "tma_info_bottleneck_mispredictions > 20", 870 "PublicDescription": "Total pipeline cost of Branch Misprediction related bottlenecks. Related metrics: tma_branch_mispredicts, tma_info_bad_spec_branch_misprediction_cost, tma_mispredicts_resteers" 871 }, 872 { 873 "BriefDescription": "Total pipeline cost of remaining bottlenecks in the back-end", 874 "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_useful_work)", 875 "MetricGroup": "BvOB;Cor;Offcore", 876 "MetricName": "tma_info_bottleneck_other_bottlenecks", 877 "MetricThreshold": "tma_info_bottleneck_other_bottlenecks > 20", 878 "PublicDescription": "Total pipeline cost of remaining bottlenecks in the back-end. Examples include data-dependencies (Core Bound when Low ILP) and other unlisted memory-related stalls." 879 }, 880 { 881 "BriefDescription": "Total pipeline cost of \"useful operations\" - the portion of Retiring category not covered by Branching_Overhead nor Irregular_Overhead.", 882 "MetricExpr": "100 * (tma_retiring - (BR_INST_RETIRED.ALL_BRANCHES + 2 * BR_INST_RETIRED.NEAR_CALL + INST_RETIRED.NOP) / tma_info_thread_slots - tma_microcode_sequencer / (tma_few_uops_instructions + tma_microcode_sequencer) * (tma_assists / tma_microcode_sequencer) * tma_heavy_operations)", 883 "MetricGroup": "BvUW;Ret", 884 "MetricName": "tma_info_bottleneck_useful_work", 885 "MetricThreshold": "tma_info_bottleneck_useful_work > 20" 886 }, 887 { 888 "BriefDescription": "Fraction of branches that are CALL or RET", 889 "MetricExpr": "(BR_INST_RETIRED.NEAR_CALL + BR_INST_RETIRED.NEAR_RETURN) / BR_INST_RETIRED.ALL_BRANCHES", 890 "MetricGroup": "Bad;Branches", 891 "MetricName": "tma_info_branches_callret" 892 }, 893 { 894 "BriefDescription": "Fraction of branches that are non-taken conditionals", 895 "MetricExpr": "BR_INST_RETIRED.COND_NTAKEN / BR_INST_RETIRED.ALL_BRANCHES", 896 "MetricGroup": "Bad;Branches;CodeGen;PGO", 897 "MetricName": "tma_info_branches_cond_nt" 898 }, 899 { 900 "BriefDescription": "Fraction of branches that are taken conditionals", 901 "MetricExpr": "BR_INST_RETIRED.COND_TAKEN / BR_INST_RETIRED.ALL_BRANCHES", 902 "MetricGroup": "Bad;Branches;CodeGen;PGO", 903 "MetricName": "tma_info_branches_cond_tk" 904 }, 905 { 906 "BriefDescription": "Fraction of branches that are unconditional (direct or indirect) jumps", 907 "MetricExpr": "(BR_INST_RETIRED.NEAR_TAKEN - BR_INST_RETIRED.COND_TAKEN - 2 * BR_INST_RETIRED.NEAR_CALL) / BR_INST_RETIRED.ALL_BRANCHES", 908 "MetricGroup": "Bad;Branches", 909 "MetricName": "tma_info_branches_jump" 910 }, 911 { 912 "BriefDescription": "Fraction of branches of other types (not individually covered by other metrics in Info.Branches group)", 913 "MetricExpr": "1 - (tma_info_branches_cond_nt + tma_info_branches_cond_tk + tma_info_branches_callret + tma_info_branches_jump)", 914 "MetricGroup": "Bad;Branches", 915 "MetricName": "tma_info_branches_other_branches" 916 }, 917 { 918 "BriefDescription": "Core actual clocks when any Logical Processor is active on the Physical Core", 919 "MetricExpr": "(CPU_CLK_UNHALTED.DISTRIBUTED if #SMT_on else tma_info_thread_clks)", 920 "MetricGroup": "SMT", 921 "MetricName": "tma_info_core_core_clks" 922 }, 923 { 924 "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)", 925 "MetricExpr": "INST_RETIRED.ANY / tma_info_core_core_clks", 926 "MetricGroup": "Ret;SMT;TmaL1;tma_L1_group", 927 "MetricName": "tma_info_core_coreipc" 928 }, 929 { 930 "BriefDescription": "uops Executed per Cycle", 931 "MetricExpr": "UOPS_EXECUTED.THREAD / tma_info_thread_clks", 932 "MetricGroup": "Power", 933 "MetricName": "tma_info_core_epc" 934 }, 935 { 936 "BriefDescription": "Floating Point Operations Per Cycle", 937 "MetricExpr": "(FP_ARITH_INST_RETIRED.SCALAR + FP_ARITH_INST_RETIRED2.SCALAR_HALF + 2 * (FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED2.COMPLEX_SCALAR_HALF) + 4 * FP_ARITH_INST_RETIRED.4_FLOPS + 8 * (FP_ARITH_INST_RETIRED2.128B_PACKED_HALF + FP_ARITH_INST_RETIRED.8_FLOPS) + 16 * (FP_ARITH_INST_RETIRED2.256B_PACKED_HALF + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE) + 32 * FP_ARITH_INST_RETIRED2.512B_PACKED_HALF) / tma_info_core_core_clks", 938 "MetricGroup": "Flops;Ret", 939 "MetricName": "tma_info_core_flopc" 940 }, 941 { 942 "BriefDescription": "Actual per-core usage of the Floating Point non-X87 execution units (regardless of precision or vector-width)", 943 "MetricExpr": "(FP_ARITH_DISPATCHED.PORT_0 + FP_ARITH_DISPATCHED.PORT_1 + FP_ARITH_DISPATCHED.PORT_5) / (2 * tma_info_core_core_clks)", 944 "MetricGroup": "Cor;Flops;HPC", 945 "MetricName": "tma_info_core_fp_arith_utilization", 946 "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)." 947 }, 948 { 949 "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is execution) per thread (logical-processor)", 950 "MetricExpr": "UOPS_EXECUTED.THREAD / cpu@UOPS_EXECUTED.THREAD\\,cmask\\=1@", 951 "MetricGroup": "Backend;Cor;Pipeline;PortsUtil", 952 "MetricName": "tma_info_core_ilp" 953 }, 954 { 955 "BriefDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache)", 956 "MetricExpr": "IDQ.DSB_UOPS / UOPS_ISSUED.ANY", 957 "MetricGroup": "DSB;Fed;FetchBW;tma_issueFB", 958 "MetricName": "tma_info_frontend_dsb_coverage", 959 "MetricThreshold": "tma_info_frontend_dsb_coverage < 0.7 & tma_info_thread_ipc / 6 > 0.35", 960 "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_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_inst_mix_iptb, tma_lcp" 961 }, 962 { 963 "BriefDescription": "Average number of cycles of a switch from the DSB fetch-unit to MITE fetch unit - see DSB_Switches tree node for details.", 964 "MetricExpr": "DSB2MITE_SWITCHES.PENALTY_CYCLES / cpu@DSB2MITE_SWITCHES.PENALTY_CYCLES\\,cmask\\=1\\,edge@", 965 "MetricGroup": "DSBmiss", 966 "MetricName": "tma_info_frontend_dsb_switch_cost" 967 }, 968 { 969 "BriefDescription": "Average number of Uops issued by front-end when it issued something", 970 "MetricExpr": "UOPS_ISSUED.ANY / cpu@UOPS_ISSUED.ANY\\,cmask\\=1@", 971 "MetricGroup": "Fed;FetchBW", 972 "MetricName": "tma_info_frontend_fetch_upc" 973 }, 974 { 975 "BriefDescription": "Average Latency for L1 instruction cache misses", 976 "MetricExpr": "ICACHE_DATA.STALLS / cpu@ICACHE_DATA.STALLS\\,cmask\\=1\\,edge@", 977 "MetricGroup": "Fed;FetchLat;IcMiss", 978 "MetricName": "tma_info_frontend_icache_miss_latency" 979 }, 980 { 981 "BriefDescription": "Instructions per non-speculative DSB miss (lower number means higher occurrence rate)", 982 "MetricExpr": "INST_RETIRED.ANY / FRONTEND_RETIRED.ANY_DSB_MISS", 983 "MetricGroup": "DSBmiss;Fed", 984 "MetricName": "tma_info_frontend_ipdsb_miss_ret", 985 "MetricThreshold": "tma_info_frontend_ipdsb_miss_ret < 50" 986 }, 987 { 988 "BriefDescription": "Instructions per speculative Unknown Branch Misprediction (BAClear) (lower number means higher occurrence rate)", 989 "MetricExpr": "tma_info_inst_mix_instructions / BACLEARS.ANY", 990 "MetricGroup": "Fed", 991 "MetricName": "tma_info_frontend_ipunknown_branch" 992 }, 993 { 994 "BriefDescription": "L2 cache true code cacheline misses per kilo instruction", 995 "MetricExpr": "1e3 * FRONTEND_RETIRED.L2_MISS / INST_RETIRED.ANY", 996 "MetricGroup": "IcMiss", 997 "MetricName": "tma_info_frontend_l2mpki_code" 998 }, 999 { 1000 "BriefDescription": "L2 cache speculative code cacheline misses per kilo instruction", 1001 "MetricExpr": "1e3 * L2_RQSTS.CODE_RD_MISS / INST_RETIRED.ANY", 1002 "MetricGroup": "IcMiss", 1003 "MetricName": "tma_info_frontend_l2mpki_code_all" 1004 }, 1005 { 1006 "BriefDescription": "Average number of cycles the front-end was delayed due to an Unknown Branch detection", 1007 "MetricExpr": "INT_MISC.UNKNOWN_BRANCH_CYCLES / cpu@INT_MISC.UNKNOWN_BRANCH_CYCLES\\,cmask\\=1\\,edge@", 1008 "MetricGroup": "Fed", 1009 "MetricName": "tma_info_frontend_unknown_branch_cost", 1010 "PublicDescription": "Average number of cycles the front-end was delayed due to an Unknown Branch detection. See Unknown_Branches node." 1011 }, 1012 { 1013 "BriefDescription": "Branch instructions per taken branch.", 1014 "MetricExpr": "BR_INST_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.NEAR_TAKEN", 1015 "MetricGroup": "Branches;Fed;PGO", 1016 "MetricName": "tma_info_inst_mix_bptkbranch" 1017 }, 1018 { 1019 "BriefDescription": "Total number of retired Instructions", 1020 "MetricExpr": "INST_RETIRED.ANY", 1021 "MetricGroup": "Summary;TmaL1;tma_L1_group", 1022 "MetricName": "tma_info_inst_mix_instructions", 1023 "PublicDescription": "Total number of retired Instructions. Sample with: INST_RETIRED.PREC_DIST" 1024 }, 1025 { 1026 "BriefDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate)", 1027 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.SCALAR + FP_ARITH_INST_RETIRED2.SCALAR + (FP_ARITH_INST_RETIRED.VECTOR + FP_ARITH_INST_RETIRED2.VECTOR))", 1028 "MetricGroup": "Flops;InsType", 1029 "MetricName": "tma_info_inst_mix_iparith", 1030 "MetricThreshold": "tma_info_inst_mix_iparith < 10", 1031 "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." 1032 }, 1033 { 1034 "BriefDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate)", 1035 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.128B_PACKED_HALF)", 1036 "MetricGroup": "Flops;FpVector;InsType", 1037 "MetricName": "tma_info_inst_mix_iparith_avx128", 1038 "MetricThreshold": "tma_info_inst_mix_iparith_avx128 < 10", 1039 "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." 1040 }, 1041 { 1042 "BriefDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate)", 1043 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.256B_PACKED_HALF)", 1044 "MetricGroup": "Flops;FpVector;InsType", 1045 "MetricName": "tma_info_inst_mix_iparith_avx256", 1046 "MetricThreshold": "tma_info_inst_mix_iparith_avx256 < 10", 1047 "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." 1048 }, 1049 { 1050 "BriefDescription": "Instructions per FP Arithmetic AVX 512-bit instruction (lower number means higher occurrence rate)", 1051 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.512B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE + FP_ARITH_INST_RETIRED2.512B_PACKED_HALF)", 1052 "MetricGroup": "Flops;FpVector;InsType", 1053 "MetricName": "tma_info_inst_mix_iparith_avx512", 1054 "MetricThreshold": "tma_info_inst_mix_iparith_avx512 < 10", 1055 "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." 1056 }, 1057 { 1058 "BriefDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate)", 1059 "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_DOUBLE", 1060 "MetricGroup": "Flops;FpScalar;InsType", 1061 "MetricName": "tma_info_inst_mix_iparith_scalar_dp", 1062 "MetricThreshold": "tma_info_inst_mix_iparith_scalar_dp < 10", 1063 "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." 1064 }, 1065 { 1066 "BriefDescription": "Instructions per FP Arithmetic Scalar Half-Precision instruction (lower number means higher occurrence rate)", 1067 "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED2.SCALAR", 1068 "MetricGroup": "Flops;FpScalar;InsType;Server", 1069 "MetricName": "tma_info_inst_mix_iparith_scalar_hp", 1070 "MetricThreshold": "tma_info_inst_mix_iparith_scalar_hp < 10", 1071 "PublicDescription": "Instructions per FP Arithmetic Scalar Half-Precision instruction (lower number means higher occurrence rate). Values < 1 are possible due to intentional FMA double counting." 1072 }, 1073 { 1074 "BriefDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate)", 1075 "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_SINGLE", 1076 "MetricGroup": "Flops;FpScalar;InsType", 1077 "MetricName": "tma_info_inst_mix_iparith_scalar_sp", 1078 "MetricThreshold": "tma_info_inst_mix_iparith_scalar_sp < 10", 1079 "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." 1080 }, 1081 { 1082 "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)", 1083 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES", 1084 "MetricGroup": "Branches;Fed;InsType", 1085 "MetricName": "tma_info_inst_mix_ipbranch", 1086 "MetricThreshold": "tma_info_inst_mix_ipbranch < 8" 1087 }, 1088 { 1089 "BriefDescription": "Instructions per (near) call (lower number means higher occurrence rate)", 1090 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_CALL", 1091 "MetricGroup": "Branches;Fed;PGO", 1092 "MetricName": "tma_info_inst_mix_ipcall", 1093 "MetricThreshold": "tma_info_inst_mix_ipcall < 200" 1094 }, 1095 { 1096 "BriefDescription": "Instructions per Floating Point (FP) Operation (lower number means higher occurrence rate)", 1097 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.SCALAR + FP_ARITH_INST_RETIRED2.SCALAR_HALF + 2 * (FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED2.COMPLEX_SCALAR_HALF) + 4 * FP_ARITH_INST_RETIRED.4_FLOPS + 8 * (FP_ARITH_INST_RETIRED2.128B_PACKED_HALF + FP_ARITH_INST_RETIRED.8_FLOPS) + 16 * (FP_ARITH_INST_RETIRED2.256B_PACKED_HALF + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE) + 32 * FP_ARITH_INST_RETIRED2.512B_PACKED_HALF)", 1098 "MetricGroup": "Flops;InsType", 1099 "MetricName": "tma_info_inst_mix_ipflop", 1100 "MetricThreshold": "tma_info_inst_mix_ipflop < 10" 1101 }, 1102 { 1103 "BriefDescription": "Instructions per Load (lower number means higher occurrence rate)", 1104 "MetricExpr": "INST_RETIRED.ANY / MEM_INST_RETIRED.ALL_LOADS", 1105 "MetricGroup": "InsType", 1106 "MetricName": "tma_info_inst_mix_ipload", 1107 "MetricThreshold": "tma_info_inst_mix_ipload < 3" 1108 }, 1109 { 1110 "BriefDescription": "Instructions per PAUSE (lower number means higher occurrence rate)", 1111 "MetricExpr": "tma_info_inst_mix_instructions / CPU_CLK_UNHALTED.PAUSE_INST", 1112 "MetricGroup": "Flops;FpVector;InsType", 1113 "MetricName": "tma_info_inst_mix_ippause" 1114 }, 1115 { 1116 "BriefDescription": "Instructions per Store (lower number means higher occurrence rate)", 1117 "MetricExpr": "INST_RETIRED.ANY / MEM_INST_RETIRED.ALL_STORES", 1118 "MetricGroup": "InsType", 1119 "MetricName": "tma_info_inst_mix_ipstore", 1120 "MetricThreshold": "tma_info_inst_mix_ipstore < 8" 1121 }, 1122 { 1123 "BriefDescription": "Instructions per Software prefetch instruction (of any type: NTA/T0/T1/T2/Prefetch) (lower number means higher occurrence rate)", 1124 "MetricExpr": "INST_RETIRED.ANY / cpu@SW_PREFETCH_ACCESS.T0\\,umask\\=0xF@", 1125 "MetricGroup": "Prefetches", 1126 "MetricName": "tma_info_inst_mix_ipswpf", 1127 "MetricThreshold": "tma_info_inst_mix_ipswpf < 100" 1128 }, 1129 { 1130 "BriefDescription": "Instructions per taken branch", 1131 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_TAKEN", 1132 "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO;tma_issueFB", 1133 "MetricName": "tma_info_inst_mix_iptb", 1134 "MetricThreshold": "tma_info_inst_mix_iptb < 13", 1135 "PublicDescription": "Instructions per taken branch. Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_botlnk_l2_dsb_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_lcp" 1136 }, 1137 { 1138 "BriefDescription": "Average per-core data fill bandwidth to the L1 data cache [GB / sec]", 1139 "MetricExpr": "tma_info_memory_l1d_cache_fill_bw", 1140 "MetricGroup": "Mem;MemoryBW", 1141 "MetricName": "tma_info_memory_core_l1d_cache_fill_bw_2t" 1142 }, 1143 { 1144 "BriefDescription": "Average per-core data fill bandwidth to the L2 cache [GB / sec]", 1145 "MetricExpr": "tma_info_memory_l2_cache_fill_bw", 1146 "MetricGroup": "Mem;MemoryBW", 1147 "MetricName": "tma_info_memory_core_l2_cache_fill_bw_2t" 1148 }, 1149 { 1150 "BriefDescription": "Rate of non silent evictions from the L2 cache per Kilo instruction", 1151 "MetricExpr": "1e3 * L2_LINES_OUT.NON_SILENT / tma_info_inst_mix_instructions", 1152 "MetricGroup": "L2Evicts;Mem;Server", 1153 "MetricName": "tma_info_memory_core_l2_evictions_nonsilent_pki" 1154 }, 1155 { 1156 "BriefDescription": "Rate of silent evictions from the L2 cache per Kilo instruction where the evicted lines are dropped (no writeback to L3 or memory)", 1157 "MetricExpr": "1e3 * L2_LINES_OUT.SILENT / tma_info_inst_mix_instructions", 1158 "MetricGroup": "L2Evicts;Mem;Server", 1159 "MetricName": "tma_info_memory_core_l2_evictions_silent_pki" 1160 }, 1161 { 1162 "BriefDescription": "Average per-core data access bandwidth to the L3 cache [GB / sec]", 1163 "MetricExpr": "tma_info_memory_l3_cache_access_bw", 1164 "MetricGroup": "Mem;MemoryBW;Offcore", 1165 "MetricName": "tma_info_memory_core_l3_cache_access_bw_2t" 1166 }, 1167 { 1168 "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]", 1169 "MetricExpr": "tma_info_memory_l3_cache_fill_bw", 1170 "MetricGroup": "Mem;MemoryBW", 1171 "MetricName": "tma_info_memory_core_l3_cache_fill_bw_2t" 1172 }, 1173 { 1174 "BriefDescription": "Fill Buffer (FB) hits per kilo instructions for retired demand loads (L1D misses that merge into ongoing miss-handling entries)", 1175 "MetricExpr": "1e3 * MEM_LOAD_RETIRED.FB_HIT / INST_RETIRED.ANY", 1176 "MetricGroup": "CacheHits;Mem", 1177 "MetricName": "tma_info_memory_fb_hpki" 1178 }, 1179 { 1180 "BriefDescription": "Average per-thread data fill bandwidth to the L1 data cache [GB / sec]", 1181 "MetricExpr": "64 * L1D.REPLACEMENT / 1e9 / duration_time", 1182 "MetricGroup": "Mem;MemoryBW", 1183 "MetricName": "tma_info_memory_l1d_cache_fill_bw" 1184 }, 1185 { 1186 "BriefDescription": "L1 cache true misses per kilo instruction for retired demand loads", 1187 "MetricExpr": "1e3 * MEM_LOAD_RETIRED.L1_MISS / INST_RETIRED.ANY", 1188 "MetricGroup": "CacheHits;Mem", 1189 "MetricName": "tma_info_memory_l1mpki" 1190 }, 1191 { 1192 "BriefDescription": "L1 cache true misses per kilo instruction for all demand loads (including speculative)", 1193 "MetricExpr": "1e3 * L2_RQSTS.ALL_DEMAND_DATA_RD / INST_RETIRED.ANY", 1194 "MetricGroup": "CacheHits;Mem", 1195 "MetricName": "tma_info_memory_l1mpki_load" 1196 }, 1197 { 1198 "BriefDescription": "Average per-thread data fill bandwidth to the L2 cache [GB / sec]", 1199 "MetricExpr": "64 * L2_LINES_IN.ALL / 1e9 / duration_time", 1200 "MetricGroup": "Mem;MemoryBW", 1201 "MetricName": "tma_info_memory_l2_cache_fill_bw" 1202 }, 1203 { 1204 "BriefDescription": "L2 cache hits per kilo instruction for all request types (including speculative)", 1205 "MetricExpr": "1e3 * (L2_RQSTS.REFERENCES - L2_RQSTS.MISS) / INST_RETIRED.ANY", 1206 "MetricGroup": "CacheHits;Mem", 1207 "MetricName": "tma_info_memory_l2hpki_all" 1208 }, 1209 { 1210 "BriefDescription": "L2 cache hits per kilo instruction for all demand loads (including speculative)", 1211 "MetricExpr": "1e3 * L2_RQSTS.DEMAND_DATA_RD_HIT / INST_RETIRED.ANY", 1212 "MetricGroup": "CacheHits;Mem", 1213 "MetricName": "tma_info_memory_l2hpki_load" 1214 }, 1215 { 1216 "BriefDescription": "L2 cache true misses per kilo instruction for retired demand loads", 1217 "MetricExpr": "1e3 * MEM_LOAD_RETIRED.L2_MISS / INST_RETIRED.ANY", 1218 "MetricGroup": "Backend;CacheHits;Mem", 1219 "MetricName": "tma_info_memory_l2mpki" 1220 }, 1221 { 1222 "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all request types (including speculative)", 1223 "MetricExpr": "1e3 * L2_RQSTS.MISS / INST_RETIRED.ANY", 1224 "MetricGroup": "CacheHits;Mem;Offcore", 1225 "MetricName": "tma_info_memory_l2mpki_all" 1226 }, 1227 { 1228 "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all demand loads (including speculative)", 1229 "MetricExpr": "1e3 * L2_RQSTS.DEMAND_DATA_RD_MISS / INST_RETIRED.ANY", 1230 "MetricGroup": "CacheHits;Mem", 1231 "MetricName": "tma_info_memory_l2mpki_load" 1232 }, 1233 { 1234 "BriefDescription": "Offcore requests (L2 cache miss) per kilo instruction for demand RFOs", 1235 "MetricExpr": "1e3 * L2_RQSTS.RFO_MISS / INST_RETIRED.ANY", 1236 "MetricGroup": "CacheMisses;Offcore", 1237 "MetricName": "tma_info_memory_l2mpki_rfo" 1238 }, 1239 { 1240 "BriefDescription": "Average per-thread data access bandwidth to the L3 cache [GB / sec]", 1241 "MetricExpr": "64 * OFFCORE_REQUESTS.ALL_REQUESTS / 1e9 / duration_time", 1242 "MetricGroup": "Mem;MemoryBW;Offcore", 1243 "MetricName": "tma_info_memory_l3_cache_access_bw" 1244 }, 1245 { 1246 "BriefDescription": "Average per-thread data fill bandwidth to the L3 cache [GB / sec]", 1247 "MetricExpr": "64 * LONGEST_LAT_CACHE.MISS / 1e9 / duration_time", 1248 "MetricGroup": "Mem;MemoryBW", 1249 "MetricName": "tma_info_memory_l3_cache_fill_bw" 1250 }, 1251 { 1252 "BriefDescription": "L3 cache true misses per kilo instruction for retired demand loads", 1253 "MetricExpr": "1e3 * MEM_LOAD_RETIRED.L3_MISS / INST_RETIRED.ANY", 1254 "MetricGroup": "Mem", 1255 "MetricName": "tma_info_memory_l3mpki" 1256 }, 1257 { 1258 "BriefDescription": "Average Parallel L2 cache miss data reads", 1259 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.DATA_RD / OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD", 1260 "MetricGroup": "Memory_BW;Offcore", 1261 "MetricName": "tma_info_memory_latency_data_l2_mlp" 1262 }, 1263 { 1264 "BriefDescription": "Average Latency for L2 cache miss demand Loads", 1265 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD / OFFCORE_REQUESTS.DEMAND_DATA_RD", 1266 "MetricGroup": "Memory_Lat;Offcore", 1267 "MetricName": "tma_info_memory_latency_load_l2_miss_latency" 1268 }, 1269 { 1270 "BriefDescription": "Average Parallel L2 cache miss demand Loads", 1271 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD / cpu@OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD\\,cmask\\=1@", 1272 "MetricGroup": "Memory_BW;Offcore", 1273 "MetricName": "tma_info_memory_latency_load_l2_mlp" 1274 }, 1275 { 1276 "BriefDescription": "Average Latency for L3 cache miss demand Loads", 1277 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.L3_MISS_DEMAND_DATA_RD / OFFCORE_REQUESTS.L3_MISS_DEMAND_DATA_RD", 1278 "MetricGroup": "Memory_Lat;Offcore", 1279 "MetricName": "tma_info_memory_latency_load_l3_miss_latency" 1280 }, 1281 { 1282 "BriefDescription": "Actual Average Latency for L1 data-cache miss demand load operations (in core cycles)", 1283 "MetricExpr": "L1D_PEND_MISS.PENDING / MEM_LOAD_COMPLETED.L1_MISS_ANY", 1284 "MetricGroup": "Mem;MemoryBound;MemoryLat", 1285 "MetricName": "tma_info_memory_load_miss_real_latency" 1286 }, 1287 { 1288 "BriefDescription": "\"Bus lock\" per kilo instruction", 1289 "MetricExpr": "1e3 * SQ_MISC.BUS_LOCK / INST_RETIRED.ANY", 1290 "MetricGroup": "Mem", 1291 "MetricName": "tma_info_memory_mix_bus_lock_pki" 1292 }, 1293 { 1294 "BriefDescription": "Off-core accesses per kilo instruction for modified write requests", 1295 "MetricExpr": "1e3 * OCR.MODIFIED_WRITE.ANY_RESPONSE / tma_info_inst_mix_instructions", 1296 "MetricGroup": "Offcore", 1297 "MetricName": "tma_info_memory_mix_offcore_mwrite_any_pki" 1298 }, 1299 { 1300 "BriefDescription": "Off-core accesses per kilo instruction for reads-to-core requests (speculative; including in-core HW prefetches)", 1301 "MetricExpr": "1e3 * OCR.READS_TO_CORE.ANY_RESPONSE / tma_info_inst_mix_instructions", 1302 "MetricGroup": "CacheHits;Offcore", 1303 "MetricName": "tma_info_memory_mix_offcore_read_any_pki" 1304 }, 1305 { 1306 "BriefDescription": "L3 cache misses per kilo instruction for reads-to-core requests (speculative; including in-core HW prefetches)", 1307 "MetricExpr": "1e3 * OCR.READS_TO_CORE.L3_MISS / tma_info_inst_mix_instructions", 1308 "MetricGroup": "Offcore", 1309 "MetricName": "tma_info_memory_mix_offcore_read_l3m_pki" 1310 }, 1311 { 1312 "BriefDescription": "Un-cacheable retired load per kilo instruction", 1313 "MetricExpr": "1e3 * MEM_LOAD_MISC_RETIRED.UC / INST_RETIRED.ANY", 1314 "MetricGroup": "Mem", 1315 "MetricName": "tma_info_memory_mix_uc_load_pki" 1316 }, 1317 { 1318 "BriefDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss", 1319 "MetricExpr": "L1D_PEND_MISS.PENDING / L1D_PEND_MISS.PENDING_CYCLES", 1320 "MetricGroup": "Mem;MemoryBW;MemoryBound", 1321 "MetricName": "tma_info_memory_mlp", 1322 "PublicDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss. Per-Logical Processor)" 1323 }, 1324 { 1325 "BriefDescription": "Average DRAM BW for Reads-to-Core (R2C) covering for memory attached to local- and remote-socket", 1326 "MetricExpr": "64 * OCR.READS_TO_CORE.DRAM / 1e9 / duration_time", 1327 "MetricGroup": "HPC;Mem;MemoryBW;SoC", 1328 "MetricName": "tma_info_memory_soc_r2c_dram_bw", 1329 "PublicDescription": "Average DRAM BW for Reads-to-Core (R2C) covering for memory attached to local- and remote-socket. See R2C_Offcore_BW." 1330 }, 1331 { 1332 "BriefDescription": "Average L3-cache miss BW for Reads-to-Core (R2C)", 1333 "MetricExpr": "64 * OCR.READS_TO_CORE.L3_MISS / 1e9 / duration_time", 1334 "MetricGroup": "HPC;Mem;MemoryBW;SoC", 1335 "MetricName": "tma_info_memory_soc_r2c_l3m_bw", 1336 "PublicDescription": "Average L3-cache miss BW for Reads-to-Core (R2C). This covering going to DRAM or other memory off-chip memory tears. See R2C_Offcore_BW." 1337 }, 1338 { 1339 "BriefDescription": "Average Off-core access BW for Reads-to-Core (R2C)", 1340 "MetricExpr": "64 * OCR.READS_TO_CORE.ANY_RESPONSE / 1e9 / duration_time", 1341 "MetricGroup": "HPC;Mem;MemoryBW;SoC", 1342 "MetricName": "tma_info_memory_soc_r2c_offcore_bw", 1343 "PublicDescription": "Average Off-core access BW for Reads-to-Core (R2C). R2C account for demand or prefetch load/RFO/code access that fill data into the Core caches." 1344 }, 1345 { 1346 "BriefDescription": "STLB (2nd level TLB) code speculative misses per kilo instruction (misses of any page-size that complete the page walk)", 1347 "MetricExpr": "1e3 * ITLB_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 1348 "MetricGroup": "Fed;MemoryTLB", 1349 "MetricName": "tma_info_memory_tlb_code_stlb_mpki" 1350 }, 1351 { 1352 "BriefDescription": "STLB (2nd level TLB) data load speculative misses per kilo instruction (misses of any page-size that complete the page walk)", 1353 "MetricExpr": "1e3 * DTLB_LOAD_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 1354 "MetricGroup": "Mem;MemoryTLB", 1355 "MetricName": "tma_info_memory_tlb_load_stlb_mpki" 1356 }, 1357 { 1358 "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses", 1359 "MetricExpr": "(ITLB_MISSES.WALK_PENDING + DTLB_LOAD_MISSES.WALK_PENDING + DTLB_STORE_MISSES.WALK_PENDING) / (4 * tma_info_core_core_clks)", 1360 "MetricGroup": "Mem;MemoryTLB", 1361 "MetricName": "tma_info_memory_tlb_page_walks_utilization", 1362 "MetricThreshold": "tma_info_memory_tlb_page_walks_utilization > 0.5" 1363 }, 1364 { 1365 "BriefDescription": "STLB (2nd level TLB) data store speculative misses per kilo instruction (misses of any page-size that complete the page walk)", 1366 "MetricExpr": "1e3 * DTLB_STORE_MISSES.WALK_COMPLETED / INST_RETIRED.ANY", 1367 "MetricGroup": "Mem;MemoryTLB", 1368 "MetricName": "tma_info_memory_tlb_store_stlb_mpki" 1369 }, 1370 { 1371 "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is execution) per core", 1372 "MetricExpr": "UOPS_EXECUTED.THREAD / (UOPS_EXECUTED.CORE_CYCLES_GE_1 / 2 if #SMT_on else cpu@UOPS_EXECUTED.THREAD\\,cmask\\=1@)", 1373 "MetricGroup": "Cor;Pipeline;PortsUtil;SMT", 1374 "MetricName": "tma_info_pipeline_execute" 1375 }, 1376 { 1377 "BriefDescription": "Average number of uops fetched from DSB per cycle", 1378 "MetricExpr": "IDQ.DSB_UOPS / IDQ.DSB_CYCLES_ANY", 1379 "MetricGroup": "Fed;FetchBW", 1380 "MetricName": "tma_info_pipeline_fetch_dsb" 1381 }, 1382 { 1383 "BriefDescription": "Average number of uops fetched from MITE per cycle", 1384 "MetricExpr": "IDQ.MITE_UOPS / IDQ.MITE_CYCLES_ANY", 1385 "MetricGroup": "Fed;FetchBW", 1386 "MetricName": "tma_info_pipeline_fetch_mite" 1387 }, 1388 { 1389 "BriefDescription": "Instructions per a microcode Assist invocation", 1390 "MetricExpr": "INST_RETIRED.ANY / ASSISTS.ANY", 1391 "MetricGroup": "MicroSeq;Pipeline;Ret;Retire", 1392 "MetricName": "tma_info_pipeline_ipassist", 1393 "MetricThreshold": "tma_info_pipeline_ipassist < 100e3", 1394 "PublicDescription": "Instructions per a microcode Assist invocation. See Assists tree node for details (lower number means higher occurrence rate)" 1395 }, 1396 { 1397 "BriefDescription": "Average number of Uops retired in cycles where at least one uop has retired.", 1398 "MetricExpr": "tma_retiring * tma_info_thread_slots / cpu@UOPS_RETIRED.SLOTS\\,cmask\\=1@", 1399 "MetricGroup": "Pipeline;Ret", 1400 "MetricName": "tma_info_pipeline_retire" 1401 }, 1402 { 1403 "BriefDescription": "Estimated fraction of retirement-cycles dealing with repeat instructions", 1404 "MetricExpr": "INST_RETIRED.REP_ITERATION / cpu@UOPS_RETIRED.SLOTS\\,cmask\\=1@", 1405 "MetricGroup": "MicroSeq;Pipeline;Ret", 1406 "MetricName": "tma_info_pipeline_strings_cycles", 1407 "MetricThreshold": "tma_info_pipeline_strings_cycles > 0.1" 1408 }, 1409 { 1410 "BriefDescription": "Fraction of cycles the processor is waiting yet unhalted; covering legacy PAUSE instruction, as well as C0.1 / C0.2 power-performance optimized states", 1411 "MetricExpr": "CPU_CLK_UNHALTED.C0_WAIT / tma_info_thread_clks", 1412 "MetricGroup": "C0Wait", 1413 "MetricName": "tma_info_system_c0_wait", 1414 "MetricThreshold": "tma_info_system_c0_wait > 0.05" 1415 }, 1416 { 1417 "BriefDescription": "Measured Average Core Frequency for unhalted processors [GHz]", 1418 "MetricExpr": "tma_info_system_turbo_utilization * TSC / 1e9 / duration_time", 1419 "MetricGroup": "Power;Summary", 1420 "MetricName": "tma_info_system_core_frequency" 1421 }, 1422 { 1423 "BriefDescription": "Average CPU Utilization (percentage)", 1424 "MetricExpr": "tma_info_system_cpus_utilized / #num_cpus_online", 1425 "MetricGroup": "HPC;Summary", 1426 "MetricName": "tma_info_system_cpu_utilization" 1427 }, 1428 { 1429 "BriefDescription": "Average number of utilized CPUs", 1430 "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / TSC", 1431 "MetricGroup": "Summary", 1432 "MetricName": "tma_info_system_cpus_utilized" 1433 }, 1434 { 1435 "BriefDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]", 1436 "MetricExpr": "64 * (UNC_M_CAS_COUNT.RD + UNC_M_CAS_COUNT.WR) / 1e9 / duration_time", 1437 "MetricGroup": "HPC;MemOffcore;MemoryBW;SoC;tma_issueBW", 1438 "MetricName": "tma_info_system_dram_bw_use", 1439 "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" 1440 }, 1441 { 1442 "BriefDescription": "Giga Floating Point Operations Per Second", 1443 "MetricExpr": "(FP_ARITH_INST_RETIRED.SCALAR + FP_ARITH_INST_RETIRED2.SCALAR_HALF + 2 * (FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED2.COMPLEX_SCALAR_HALF) + 4 * FP_ARITH_INST_RETIRED.4_FLOPS + 8 * (FP_ARITH_INST_RETIRED2.128B_PACKED_HALF + FP_ARITH_INST_RETIRED.8_FLOPS) + 16 * (FP_ARITH_INST_RETIRED2.256B_PACKED_HALF + FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE) + 32 * FP_ARITH_INST_RETIRED2.512B_PACKED_HALF) / 1e9 / duration_time", 1444 "MetricGroup": "Cor;Flops;HPC", 1445 "MetricName": "tma_info_system_gflops", 1446 "PublicDescription": "Giga Floating Point Operations Per Second. Aggregate across all supported options of: FP precisions, scalar and vector instructions, vector-width" 1447 }, 1448 { 1449 "BriefDescription": "Average IO (network or disk) Bandwidth Use for Reads [GB / sec]", 1450 "MetricExpr": "UNC_CHA_TOR_INSERTS.IO_PCIRDCUR * 64 / 1e9 / duration_time", 1451 "MetricGroup": "IoBW;MemOffcore;Server;SoC", 1452 "MetricName": "tma_info_system_io_read_bw", 1453 "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" 1454 }, 1455 { 1456 "BriefDescription": "Average IO (network or disk) Bandwidth Use for Writes [GB / sec]", 1457 "MetricExpr": "(UNC_CHA_TOR_INSERTS.IO_ITOM + UNC_CHA_TOR_INSERTS.IO_ITOMCACHENEAR) * 64 / 1e9 / duration_time", 1458 "MetricGroup": "IoBW;MemOffcore;Server;SoC", 1459 "MetricName": "tma_info_system_io_write_bw", 1460 "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" 1461 }, 1462 { 1463 "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]", 1464 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.FAR_BRANCH:u", 1465 "MetricGroup": "Branches;OS", 1466 "MetricName": "tma_info_system_ipfarbranch", 1467 "MetricThreshold": "tma_info_system_ipfarbranch < 1e6" 1468 }, 1469 { 1470 "BriefDescription": "Cycles Per Instruction for the Operating System (OS) Kernel mode", 1471 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / INST_RETIRED.ANY_P:k", 1472 "MetricGroup": "OS", 1473 "MetricName": "tma_info_system_kernel_cpi" 1474 }, 1475 { 1476 "BriefDescription": "Fraction of cycles spent in the Operating System (OS) Kernel mode", 1477 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / CPU_CLK_UNHALTED.THREAD", 1478 "MetricGroup": "OS", 1479 "MetricName": "tma_info_system_kernel_utilization", 1480 "MetricThreshold": "tma_info_system_kernel_utilization > 0.05" 1481 }, 1482 { 1483 "BriefDescription": "Average latency of data read request to external DRAM memory [in nanoseconds]", 1484 "MetricExpr": "1e9 * (UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_DDR / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_DDR) / uncore_cha_0@event\\=0x1@", 1485 "MetricGroup": "MemOffcore;MemoryLat;Server;SoC", 1486 "MetricName": "tma_info_system_mem_dram_read_latency", 1487 "PublicDescription": "Average latency of data read request to external DRAM memory [in nanoseconds]. Accounts for demand loads and L1/L2 data-read prefetches" 1488 }, 1489 { 1490 "BriefDescription": "Average number of parallel data read requests to external memory", 1491 "MetricExpr": "UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD / UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD@thresh\\=1@", 1492 "MetricGroup": "Mem;MemoryBW;SoC", 1493 "MetricName": "tma_info_system_mem_parallel_reads", 1494 "PublicDescription": "Average number of parallel data read requests to external memory. Accounts for demand loads and L1/L2 prefetches" 1495 }, 1496 { 1497 "BriefDescription": "Average latency of data read request to external 3D X-Point memory [in nanoseconds]", 1498 "MetricExpr": "(1e9 * (UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_PMM / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PMM) / uncore_cha_0@event\\=0x1@ if #has_pmem > 0 else 0)", 1499 "MetricGroup": "MemOffcore;MemoryLat;Server;SoC", 1500 "MetricName": "tma_info_system_mem_pmm_read_latency", 1501 "PublicDescription": "Average latency of data read request to external 3D X-Point memory [in nanoseconds]. Accounts for demand loads and L1/L2 data-read prefetches" 1502 }, 1503 { 1504 "BriefDescription": "Average latency of data read request to external memory (in nanoseconds)", 1505 "MetricConstraint": "NO_GROUP_EVENTS", 1506 "MetricExpr": "1e9 * (UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD / UNC_CHA_TOR_INSERTS.IA_MISS_DRD) / (tma_info_system_socket_clks / duration_time)", 1507 "MetricGroup": "Mem;MemoryLat;SoC", 1508 "MetricName": "tma_info_system_mem_read_latency", 1509 "PublicDescription": "Average latency of data read request to external memory (in nanoseconds). Accounts for demand loads and L1/L2 prefetches. ([RKL+]memory-controller only)" 1510 }, 1511 { 1512 "BriefDescription": "Average 3DXP Memory Bandwidth Use for reads [GB / sec]", 1513 "MetricExpr": "(64 * UNC_M_PMM_RPQ_INSERTS / 1e9 / duration_time if #has_pmem > 0 else 0)", 1514 "MetricGroup": "MemOffcore;MemoryBW;Server;SoC", 1515 "MetricName": "tma_info_system_pmm_read_bw" 1516 }, 1517 { 1518 "BriefDescription": "Average 3DXP Memory Bandwidth Use for Writes [GB / sec]", 1519 "MetricExpr": "(64 * UNC_M_PMM_WPQ_INSERTS / 1e9 / duration_time if #has_pmem > 0 else 0)", 1520 "MetricGroup": "MemOffcore;MemoryBW;Server;SoC", 1521 "MetricName": "tma_info_system_pmm_write_bw" 1522 }, 1523 { 1524 "BriefDescription": "Fraction of cycles where both hardware Logical Processors were active", 1525 "MetricExpr": "(1 - CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_DISTRIBUTED if #SMT_on else 0)", 1526 "MetricGroup": "SMT", 1527 "MetricName": "tma_info_system_smt_2t_utilization" 1528 }, 1529 { 1530 "BriefDescription": "Socket actual clocks when any core is active on that socket", 1531 "MetricExpr": "uncore_cha_0@event\\=0x1@", 1532 "MetricGroup": "SoC", 1533 "MetricName": "tma_info_system_socket_clks" 1534 }, 1535 { 1536 "BriefDescription": "Average Frequency Utilization relative nominal frequency", 1537 "MetricExpr": "tma_info_thread_clks / CPU_CLK_UNHALTED.REF_TSC", 1538 "MetricGroup": "Power", 1539 "MetricName": "tma_info_system_turbo_utilization" 1540 }, 1541 { 1542 "BriefDescription": "Measured Average Uncore Frequency for the SoC [GHz]", 1543 "MetricExpr": "tma_info_system_socket_clks / 1e9 / duration_time", 1544 "MetricGroup": "SoC", 1545 "MetricName": "tma_info_system_uncore_frequency" 1546 }, 1547 { 1548 "BriefDescription": "Cross-socket Ultra Path Interconnect (UPI) data transmit bandwidth for data only [MB / sec]", 1549 "MetricExpr": "UNC_UPI_TxL_FLITS.ALL_DATA * 64 / 9 / 1e6", 1550 "MetricGroup": "Server;SoC", 1551 "MetricName": "tma_info_system_upi_data_transmit_bw" 1552 }, 1553 { 1554 "BriefDescription": "Per-Logical Processor actual clocks when the Logical Processor is active.", 1555 "MetricExpr": "CPU_CLK_UNHALTED.THREAD", 1556 "MetricGroup": "Pipeline", 1557 "MetricName": "tma_info_thread_clks" 1558 }, 1559 { 1560 "BriefDescription": "Cycles Per Instruction (per Logical Processor)", 1561 "MetricExpr": "1 / tma_info_thread_ipc", 1562 "MetricGroup": "Mem;Pipeline", 1563 "MetricName": "tma_info_thread_cpi" 1564 }, 1565 { 1566 "BriefDescription": "The ratio of Executed- by Issued-Uops", 1567 "MetricExpr": "UOPS_EXECUTED.THREAD / UOPS_ISSUED.ANY", 1568 "MetricGroup": "Cor;Pipeline", 1569 "MetricName": "tma_info_thread_execute_per_issue", 1570 "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." 1571 }, 1572 { 1573 "BriefDescription": "Instructions Per Cycle (per Logical Processor)", 1574 "MetricExpr": "INST_RETIRED.ANY / tma_info_thread_clks", 1575 "MetricGroup": "Ret;Summary", 1576 "MetricName": "tma_info_thread_ipc" 1577 }, 1578 { 1579 "BriefDescription": "Total issue-pipeline slots (per-Physical Core till ICL; per-Logical Processor ICL onward)", 1580 "MetricExpr": "TOPDOWN.SLOTS", 1581 "MetricGroup": "TmaL1;tma_L1_group", 1582 "MetricName": "tma_info_thread_slots" 1583 }, 1584 { 1585 "BriefDescription": "Fraction of Physical Core issue-slots utilized by this Logical Processor", 1586 "MetricExpr": "(tma_info_thread_slots / (TOPDOWN.SLOTS / 2) if #SMT_on else 1)", 1587 "MetricGroup": "SMT;TmaL1;tma_L1_group", 1588 "MetricName": "tma_info_thread_slots_utilization" 1589 }, 1590 { 1591 "BriefDescription": "Uops Per Instruction", 1592 "MetricExpr": "tma_retiring * tma_info_thread_slots / INST_RETIRED.ANY", 1593 "MetricGroup": "Pipeline;Ret;Retire", 1594 "MetricName": "tma_info_thread_uoppi", 1595 "MetricThreshold": "tma_info_thread_uoppi > 1.05" 1596 }, 1597 { 1598 "BriefDescription": "Uops per taken branch", 1599 "MetricExpr": "tma_retiring * tma_info_thread_slots / BR_INST_RETIRED.NEAR_TAKEN", 1600 "MetricGroup": "Branches;Fed;FetchBW", 1601 "MetricName": "tma_info_thread_uptb", 1602 "MetricThreshold": "tma_info_thread_uptb < 9" 1603 }, 1604 { 1605 "BriefDescription": "This metric represents overall Integer (Int) select operations fraction the CPU has executed (retired)", 1606 "MetricExpr": "tma_int_vector_128b + tma_int_vector_256b", 1607 "MetricGroup": "Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group", 1608 "MetricName": "tma_int_operations", 1609 "MetricThreshold": "tma_int_operations > 0.1 & tma_light_operations > 0.6", 1610 "PublicDescription": "This metric represents overall Integer (Int) select operations fraction the CPU has executed (retired). Vector/Matrix Int operations and shuffles are counted. Note this metric's value may exceed its parent due to use of \"Uops\" CountDomain.", 1611 "ScaleUnit": "100%" 1612 }, 1613 { 1614 "BriefDescription": "This metric represents 128-bit vector Integer ADD/SUB/SAD or VNNI (Vector Neural Network Instructions) uops fraction the CPU has retired", 1615 "MetricExpr": "(INT_VEC_RETIRED.ADD_128 + INT_VEC_RETIRED.VNNI_128) / (tma_retiring * tma_info_thread_slots)", 1616 "MetricGroup": "Compute;IntVector;Pipeline;TopdownL4;tma_L4_group;tma_int_operations_group;tma_issue2P", 1617 "MetricName": "tma_int_vector_128b", 1618 "MetricThreshold": "tma_int_vector_128b > 0.1 & (tma_int_operations > 0.1 & tma_light_operations > 0.6)", 1619 "PublicDescription": "This metric represents 128-bit vector Integer ADD/SUB/SAD or VNNI (Vector Neural Network Instructions) uops fraction the CPU has retired. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 1620 "ScaleUnit": "100%" 1621 }, 1622 { 1623 "BriefDescription": "This metric represents 256-bit vector Integer ADD/SUB/SAD/MUL or VNNI (Vector Neural Network Instructions) uops fraction the CPU has retired", 1624 "MetricExpr": "(INT_VEC_RETIRED.ADD_256 + INT_VEC_RETIRED.MUL_256 + INT_VEC_RETIRED.VNNI_256) / (tma_retiring * tma_info_thread_slots)", 1625 "MetricGroup": "Compute;IntVector;Pipeline;TopdownL4;tma_L4_group;tma_int_operations_group;tma_issue2P", 1626 "MetricName": "tma_int_vector_256b", 1627 "MetricThreshold": "tma_int_vector_256b > 0.1 & (tma_int_operations > 0.1 & tma_light_operations > 0.6)", 1628 "PublicDescription": "This metric represents 256-bit vector Integer ADD/SUB/SAD/MUL or VNNI (Vector Neural Network Instructions) uops fraction the CPU has retired. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 1629 "ScaleUnit": "100%" 1630 }, 1631 { 1632 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Instruction TLB (ITLB) misses", 1633 "MetricExpr": "ICACHE_TAG.STALLS / tma_info_thread_clks", 1634 "MetricGroup": "BigFootprint;BvBC;FetchLat;MemoryTLB;TopdownL3;tma_L3_group;tma_fetch_latency_group", 1635 "MetricName": "tma_itlb_misses", 1636 "MetricThreshold": "tma_itlb_misses > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 1637 "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", 1638 "ScaleUnit": "100%" 1639 }, 1640 { 1641 "BriefDescription": "This metric estimates how often the CPU was stalled without loads missing the L1 data cache", 1642 "MetricExpr": "max((EXE_ACTIVITY.BOUND_ON_LOADS - MEMORY_ACTIVITY.STALLS_L1D_MISS) / tma_info_thread_clks, 0)", 1643 "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_issueL1;tma_issueMC;tma_memory_bound_group", 1644 "MetricName": "tma_l1_bound", 1645 "MetricThreshold": "tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 1646 "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", 1647 "ScaleUnit": "100%" 1648 }, 1649 { 1650 "BriefDescription": "This metric roughly estimates fraction of cycles with demand load accesses that hit the L1 cache", 1651 "MetricExpr": "min(2 * (MEM_INST_RETIRED.ALL_LOADS - MEM_LOAD_RETIRED.FB_HIT - MEM_LOAD_RETIRED.L1_MISS) * 20 / 100, max(CYCLE_ACTIVITY.CYCLES_MEM_ANY - MEMORY_ACTIVITY.CYCLES_L1D_MISS, 0)) / tma_info_thread_clks", 1652 "MetricGroup": "BvML;MemoryLat;TopdownL4;tma_L4_group;tma_l1_bound_group", 1653 "MetricName": "tma_l1_hit_latency", 1654 "MetricThreshold": "tma_l1_hit_latency > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1655 "PublicDescription": "This metric roughly estimates fraction of cycles with demand load accesses that hit the L1 cache. The short latency of the L1 data cache may be exposed in pointer-chasing memory access patterns as an example. Sample with: MEM_LOAD_RETIRED.L1_HIT", 1656 "ScaleUnit": "100%" 1657 }, 1658 { 1659 "BriefDescription": "This metric estimates how often the CPU was stalled due to L2 cache accesses by loads", 1660 "MetricExpr": "(MEMORY_ACTIVITY.STALLS_L1D_MISS - MEMORY_ACTIVITY.STALLS_L2_MISS) / tma_info_thread_clks", 1661 "MetricGroup": "BvML;CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 1662 "MetricName": "tma_l2_bound", 1663 "MetricThreshold": "tma_l2_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 1664 "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", 1665 "ScaleUnit": "100%" 1666 }, 1667 { 1668 "BriefDescription": "This metric estimates how often the CPU was stalled due to loads accesses to L3 cache or contended with a sibling Core", 1669 "MetricExpr": "(MEMORY_ACTIVITY.STALLS_L2_MISS - MEMORY_ACTIVITY.STALLS_L3_MISS) / tma_info_thread_clks", 1670 "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 1671 "MetricName": "tma_l3_bound", 1672 "MetricThreshold": "tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 1673 "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", 1674 "ScaleUnit": "100%" 1675 }, 1676 { 1677 "BriefDescription": "This metric estimates fraction of cycles with demand load accesses that hit the L3 cache under unloaded scenarios (possibly L3 latency limited)", 1678 "MetricExpr": "32.6 * 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", 1679 "MetricGroup": "BvML;MemoryLat;TopdownL4;tma_L4_group;tma_issueLat;tma_l3_bound_group", 1680 "MetricName": "tma_l3_hit_latency", 1681 "MetricThreshold": "tma_l3_hit_latency > 0.1 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1682 "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", 1683 "ScaleUnit": "100%" 1684 }, 1685 { 1686 "BriefDescription": "This metric represents fraction of cycles CPU was stalled due to Length Changing Prefixes (LCPs)", 1687 "MetricExpr": "DECODE.LCP / tma_info_thread_clks", 1688 "MetricGroup": "FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueFB", 1689 "MetricName": "tma_lcp", 1690 "MetricThreshold": "tma_lcp > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 1691 "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_bandwidth, tma_info_botlnk_l2_dsb_misses, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb", 1692 "ScaleUnit": "100%" 1693 }, 1694 { 1695 "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)", 1696 "DefaultMetricgroupName": "TopdownL2", 1697 "MetricExpr": "max(0, tma_retiring - tma_heavy_operations)", 1698 "MetricGroup": "Default;Retire;TmaL2;TopdownL2;tma_L2_group;tma_retiring_group", 1699 "MetricName": "tma_light_operations", 1700 "MetricThreshold": "tma_light_operations > 0.6", 1701 "MetricgroupNoGroup": "TopdownL2;Default", 1702 "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", 1703 "ScaleUnit": "100%" 1704 }, 1705 { 1706 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Load operations", 1707 "MetricExpr": "UOPS_DISPATCHED.PORT_2_3_10 / (3 * tma_info_core_core_clks)", 1708 "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", 1709 "MetricName": "tma_load_op_utilization", 1710 "MetricThreshold": "tma_load_op_utilization > 0.6", 1711 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Load operations. Sample with: UOPS_DISPATCHED.PORT_2_3_10", 1712 "ScaleUnit": "100%" 1713 }, 1714 { 1715 "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)", 1716 "MetricExpr": "tma_dtlb_load - tma_load_stlb_miss", 1717 "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_load_group", 1718 "MetricName": "tma_load_stlb_hit", 1719 "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)))", 1720 "ScaleUnit": "100%" 1721 }, 1722 { 1723 "BriefDescription": "This metric estimates the fraction of cycles where the Second-level TLB (STLB) was missed by load accesses, performing a hardware page walk", 1724 "MetricExpr": "DTLB_LOAD_MISSES.WALK_ACTIVE / tma_info_thread_clks", 1725 "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_load_group", 1726 "MetricName": "tma_load_stlb_miss", 1727 "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)))", 1728 "ScaleUnit": "100%" 1729 }, 1730 { 1731 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from local memory", 1732 "MetricExpr": "72 * 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", 1733 "MetricGroup": "Server;TopdownL5;tma_L5_group;tma_mem_latency_group", 1734 "MetricName": "tma_local_mem", 1735 "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)))", 1736 "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", 1737 "ScaleUnit": "100%" 1738 }, 1739 { 1740 "BriefDescription": "This metric represents fraction of cycles the CPU spent handling cache misses due to lock operations", 1741 "MetricExpr": "(16 * max(0, MEM_INST_RETIRED.LOCK_LOADS - L2_RQSTS.ALL_RFO) + MEM_INST_RETIRED.LOCK_LOADS / MEM_INST_RETIRED.ALL_STORES * (10 * L2_RQSTS.RFO_HIT + min(CPU_CLK_UNHALTED.THREAD, OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_RFO))) / tma_info_thread_clks", 1742 "MetricGroup": "Offcore;TopdownL4;tma_L4_group;tma_issueRFO;tma_l1_bound_group", 1743 "MetricName": "tma_lock_latency", 1744 "MetricThreshold": "tma_lock_latency > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1745 "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. Related metrics: tma_store_latency", 1746 "ScaleUnit": "100%" 1747 }, 1748 { 1749 "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Machine Clears", 1750 "DefaultMetricgroupName": "TopdownL2", 1751 "MetricExpr": "max(0, tma_bad_speculation - tma_branch_mispredicts)", 1752 "MetricGroup": "BadSpec;BvMS;Default;MachineClears;TmaL2;TopdownL2;tma_L2_group;tma_bad_speculation_group;tma_issueMC;tma_issueSyncxn", 1753 "MetricName": "tma_machine_clears", 1754 "MetricThreshold": "tma_machine_clears > 0.1 & tma_bad_speculation > 0.15", 1755 "MetricgroupNoGroup": "TopdownL2;Default", 1756 "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", 1757 "ScaleUnit": "100%" 1758 }, 1759 { 1760 "BriefDescription": "This metric estimates fraction of cycles where the core's performance was likely hurt due to memory bandwidth Allocation feature (RDT's memory bandwidth throttling).", 1761 "MetricExpr": "INT_MISC.MBA_STALLS / tma_info_thread_clks", 1762 "MetricGroup": "MemoryBW;Offcore;Server;TopdownL5;tma_L5_group;tma_mem_bandwidth_group", 1763 "MetricName": "tma_mba_stalls", 1764 "MetricThreshold": "tma_mba_stalls > 0.1 & (tma_mem_bandwidth > 0.2 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)))", 1765 "ScaleUnit": "100%" 1766 }, 1767 { 1768 "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)", 1769 "MetricExpr": "min(CPU_CLK_UNHALTED.THREAD, cpu@OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD\\,cmask\\=4@) / tma_info_thread_clks", 1770 "MetricGroup": "BvMS;MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_dram_bound_group;tma_issueBW", 1771 "MetricName": "tma_mem_bandwidth", 1772 "MetricThreshold": "tma_mem_bandwidth > 0.2 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1773 "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", 1774 "ScaleUnit": "100%" 1775 }, 1776 { 1777 "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)", 1778 "MetricExpr": "min(CPU_CLK_UNHALTED.THREAD, OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD) / tma_info_thread_clks - tma_mem_bandwidth", 1779 "MetricGroup": "BvML;MemoryLat;Offcore;TopdownL4;tma_L4_group;tma_dram_bound_group;tma_issueLat", 1780 "MetricName": "tma_mem_latency", 1781 "MetricThreshold": "tma_mem_latency > 0.1 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1782 "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", 1783 "ScaleUnit": "100%" 1784 }, 1785 { 1786 "BriefDescription": "This metric represents fraction of slots the Memory subsystem within the Backend was a bottleneck", 1787 "DefaultMetricgroupName": "TopdownL2", 1788 "MetricExpr": "topdown\\-mem\\-bound / (topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound) + 0 * tma_info_thread_slots", 1789 "MetricGroup": "Backend;Default;TmaL2;TopdownL2;tma_L2_group;tma_backend_bound_group", 1790 "MetricName": "tma_memory_bound", 1791 "MetricThreshold": "tma_memory_bound > 0.2 & tma_backend_bound > 0.2", 1792 "MetricgroupNoGroup": "TopdownL2;Default", 1793 "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).", 1794 "ScaleUnit": "100%" 1795 }, 1796 { 1797 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to LFENCE Instructions.", 1798 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 1799 "MetricExpr": "13 * MISC2_RETIRED.LFENCE / tma_info_thread_clks", 1800 "MetricGroup": "TopdownL4;tma_L4_group;tma_serializing_operation_group", 1801 "MetricName": "tma_memory_fence", 1802 "MetricThreshold": "tma_memory_fence > 0.05 & (tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1803 "ScaleUnit": "100%" 1804 }, 1805 { 1806 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring memory operations -- uops for memory load or store accesses.", 1807 "MetricExpr": "tma_light_operations * MEM_UOP_RETIRED.ANY / (tma_retiring * tma_info_thread_slots)", 1808 "MetricGroup": "Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group", 1809 "MetricName": "tma_memory_operations", 1810 "MetricThreshold": "tma_memory_operations > 0.1 & tma_light_operations > 0.6", 1811 "ScaleUnit": "100%" 1812 }, 1813 { 1814 "BriefDescription": "This metric represents fraction of slots the CPU was retiring uops fetched by the Microcode Sequencer (MS) unit", 1815 "MetricExpr": "UOPS_RETIRED.MS / tma_info_thread_slots", 1816 "MetricGroup": "MicroSeq;TopdownL3;tma_L3_group;tma_heavy_operations_group;tma_issueMC;tma_issueMS", 1817 "MetricName": "tma_microcode_sequencer", 1818 "MetricThreshold": "tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1", 1819 "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: UOPS_RETIRED.MS. Related metrics: tma_clears_resteers, tma_info_bottleneck_irregular_overhead, tma_l1_bound, tma_machine_clears, tma_ms_switches", 1820 "ScaleUnit": "100%" 1821 }, 1822 { 1823 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Branch Misprediction at execution stage", 1824 "MetricExpr": "tma_branch_mispredicts / tma_bad_speculation * INT_MISC.CLEAR_RESTEER_CYCLES / tma_info_thread_clks", 1825 "MetricGroup": "BadSpec;BrMispredicts;BvMP;TopdownL4;tma_L4_group;tma_branch_resteers_group;tma_issueBM", 1826 "MetricName": "tma_mispredicts_resteers", 1827 "MetricThreshold": "tma_mispredicts_resteers > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))", 1828 "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", 1829 "ScaleUnit": "100%" 1830 }, 1831 { 1832 "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to the MITE pipeline (the legacy decode pipeline)", 1833 "MetricExpr": "(IDQ.MITE_CYCLES_ANY - IDQ.MITE_CYCLES_OK) / tma_info_core_core_clks / 2", 1834 "MetricGroup": "DSBmiss;FetchBW;TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 1835 "MetricName": "tma_mite", 1836 "MetricThreshold": "tma_mite > 0.1 & tma_fetch_bandwidth > 0.2", 1837 "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", 1838 "ScaleUnit": "100%" 1839 }, 1840 { 1841 "BriefDescription": "This metric estimates penalty in terms of percentage of([SKL+] injected blend uops out of all Uops Issued -- the Count Domain; [ADL+] cycles)", 1842 "MetricExpr": "160 * ASSISTS.SSE_AVX_MIX / tma_info_thread_clks", 1843 "MetricGroup": "TopdownL5;tma_L5_group;tma_issueMV;tma_ports_utilized_0_group", 1844 "MetricName": "tma_mixing_vectors", 1845 "MetricThreshold": "tma_mixing_vectors > 0.05", 1846 "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", 1847 "ScaleUnit": "100%" 1848 }, 1849 { 1850 "BriefDescription": "This metric estimates the fraction of cycles when the CPU was stalled due to switches of uop delivery to the Microcode Sequencer (MS)", 1851 "MetricExpr": "3 * cpu@UOPS_RETIRED.MS\\,cmask\\=1\\,edge@ / (UOPS_RETIRED.SLOTS / UOPS_ISSUED.ANY) / tma_info_thread_clks", 1852 "MetricGroup": "FetchLat;MicroSeq;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueMC;tma_issueMS;tma_issueMV;tma_issueSO", 1853 "MetricName": "tma_ms_switches", 1854 "MetricThreshold": "tma_ms_switches > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 1855 "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", 1856 "ScaleUnit": "100%" 1857 }, 1858 { 1859 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring branch instructions that were not fused", 1860 "MetricExpr": "tma_light_operations * (BR_INST_RETIRED.ALL_BRANCHES - INST_RETIRED.MACRO_FUSED) / (tma_retiring * tma_info_thread_slots)", 1861 "MetricGroup": "Branches;BvBO;Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group", 1862 "MetricName": "tma_non_fused_branches", 1863 "MetricThreshold": "tma_non_fused_branches > 0.1 & tma_light_operations > 0.6", 1864 "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.", 1865 "ScaleUnit": "100%" 1866 }, 1867 { 1868 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring NOP (no op) instructions", 1869 "MetricExpr": "tma_light_operations * INST_RETIRED.NOP / (tma_retiring * tma_info_thread_slots)", 1870 "MetricGroup": "BvBO;Pipeline;TopdownL4;tma_L4_group;tma_other_light_ops_group", 1871 "MetricName": "tma_nop_instructions", 1872 "MetricThreshold": "tma_nop_instructions > 0.1 & (tma_other_light_ops > 0.3 & tma_light_operations > 0.6)", 1873 "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", 1874 "ScaleUnit": "100%" 1875 }, 1876 { 1877 "BriefDescription": "This metric represents the remaining light uops fraction the CPU has executed - remaining means not covered by other sibling nodes", 1878 "MetricExpr": "max(0, tma_light_operations - (tma_fp_arith + tma_int_operations + tma_memory_operations + tma_fused_instructions + tma_non_fused_branches))", 1879 "MetricGroup": "Pipeline;TopdownL3;tma_L3_group;tma_light_operations_group", 1880 "MetricName": "tma_other_light_ops", 1881 "MetricThreshold": "tma_other_light_ops > 0.3 & tma_light_operations > 0.6", 1882 "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", 1883 "ScaleUnit": "100%" 1884 }, 1885 { 1886 "BriefDescription": "This metric estimates fraction of slots the CPU was stalled due to other cases of misprediction (non-retired x86 branches or other types).", 1887 "MetricExpr": "max(tma_branch_mispredicts * (1 - BR_MISP_RETIRED.ALL_BRANCHES / (INT_MISC.CLEARS_COUNT - MACHINE_CLEARS.COUNT)), 0.0001)", 1888 "MetricGroup": "BrMispredicts;BvIO;TopdownL3;tma_L3_group;tma_branch_mispredicts_group", 1889 "MetricName": "tma_other_mispredicts", 1890 "MetricThreshold": "tma_other_mispredicts > 0.05 & (tma_branch_mispredicts > 0.1 & tma_bad_speculation > 0.15)", 1891 "ScaleUnit": "100%" 1892 }, 1893 { 1894 "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Nukes (Machine Clears) not related to memory ordering.", 1895 "MetricExpr": "max(tma_machine_clears * (1 - MACHINE_CLEARS.MEMORY_ORDERING / MACHINE_CLEARS.COUNT), 0.0001)", 1896 "MetricGroup": "BvIO;Machine_Clears;TopdownL3;tma_L3_group;tma_machine_clears_group", 1897 "MetricName": "tma_other_nukes", 1898 "MetricThreshold": "tma_other_nukes > 0.05 & (tma_machine_clears > 0.1 & tma_bad_speculation > 0.15)", 1899 "ScaleUnit": "100%" 1900 }, 1901 { 1902 "BriefDescription": "This metric roughly estimates fraction of slots the CPU retired uops as a result of handing Page Faults", 1903 "MetricExpr": "99 * ASSISTS.PAGE_FAULT / tma_info_thread_slots", 1904 "MetricGroup": "TopdownL5;tma_L5_group;tma_assists_group", 1905 "MetricName": "tma_page_faults", 1906 "MetricThreshold": "tma_page_faults > 0.05", 1907 "PublicDescription": "This metric roughly estimates fraction of slots the CPU retired uops as a result of handing Page Faults. A Page Fault may apply on first application access to a memory page. Note operating system handling of page faults accounts for the majority of its cost.", 1908 "ScaleUnit": "100%" 1909 }, 1910 { 1911 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 0 ([SNB+] ALU; [HSW+] ALU and 2nd branch)", 1912 "MetricExpr": "UOPS_DISPATCHED.PORT_0 / tma_info_core_core_clks", 1913 "MetricGroup": "Compute;TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 1914 "MetricName": "tma_port_0", 1915 "MetricThreshold": "tma_port_0 > 0.6", 1916 "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_0. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 1917 "ScaleUnit": "100%" 1918 }, 1919 { 1920 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 1 (ALU)", 1921 "MetricExpr": "UOPS_DISPATCHED.PORT_1 / tma_info_core_core_clks", 1922 "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 1923 "MetricName": "tma_port_1", 1924 "MetricThreshold": "tma_port_1 > 0.6", 1925 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 1 (ALU). Sample with: UOPS_DISPATCHED.PORT_1. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_5, tma_port_6, tma_ports_utilized_2", 1926 "ScaleUnit": "100%" 1927 }, 1928 { 1929 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 6 ([HSW+] Primary Branch and simple ALU)", 1930 "MetricExpr": "UOPS_DISPATCHED.PORT_6 / tma_info_core_core_clks", 1931 "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 1932 "MetricName": "tma_port_6", 1933 "MetricThreshold": "tma_port_6 > 0.6", 1934 "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_6. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_ports_utilized_2", 1935 "ScaleUnit": "100%" 1936 }, 1937 { 1938 "BriefDescription": "This metric estimates fraction of cycles the CPU performance was potentially limited due to Core computation issues (non divider-related)", 1939 "MetricExpr": "((tma_ports_utilized_0 * tma_info_thread_clks + (EXE_ACTIVITY.1_PORTS_UTIL + tma_retiring * cpu@EXE_ACTIVITY.2_PORTS_UTIL\\,umask\\=0xc@)) / tma_info_thread_clks if ARITH.DIV_ACTIVE < CYCLE_ACTIVITY.STALLS_TOTAL - EXE_ACTIVITY.BOUND_ON_LOADS else (EXE_ACTIVITY.1_PORTS_UTIL + tma_retiring * cpu@EXE_ACTIVITY.2_PORTS_UTIL\\,umask\\=0xc@) / tma_info_thread_clks)", 1940 "MetricGroup": "PortsUtil;TopdownL3;tma_L3_group;tma_core_bound_group", 1941 "MetricName": "tma_ports_utilization", 1942 "MetricThreshold": "tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", 1943 "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.", 1944 "ScaleUnit": "100%" 1945 }, 1946 { 1947 "BriefDescription": "This metric represents fraction of cycles CPU executed no uops on any execution port (Logical Processor cycles since ICL, Physical Core cycles otherwise)", 1948 "MetricExpr": "(EXE_ACTIVITY.EXE_BOUND_0_PORTS + max(cpu@RS.EMPTY\\,umask\\=1@ - RESOURCE_STALLS.SCOREBOARD, 0)) / tma_info_thread_clks * (CYCLE_ACTIVITY.STALLS_TOTAL - EXE_ACTIVITY.BOUND_ON_LOADS) / tma_info_thread_clks", 1949 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_ports_utilization_group", 1950 "MetricName": "tma_ports_utilized_0", 1951 "MetricThreshold": "tma_ports_utilized_0 > 0.2 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1952 "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.", 1953 "ScaleUnit": "100%" 1954 }, 1955 { 1956 "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)", 1957 "MetricExpr": "EXE_ACTIVITY.1_PORTS_UTIL / tma_info_thread_clks", 1958 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_issueL1;tma_ports_utilization_group", 1959 "MetricName": "tma_ports_utilized_1", 1960 "MetricThreshold": "tma_ports_utilized_1 > 0.2 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1961 "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. Sample with: EXE_ACTIVITY.1_PORTS_UTIL. Related metrics: tma_l1_bound", 1962 "ScaleUnit": "100%" 1963 }, 1964 { 1965 "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)", 1966 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 1967 "MetricExpr": "EXE_ACTIVITY.2_PORTS_UTIL / tma_info_thread_clks", 1968 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_issue2P;tma_ports_utilization_group", 1969 "MetricName": "tma_ports_utilized_2", 1970 "MetricThreshold": "tma_ports_utilized_2 > 0.15 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1971 "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. Sample with: EXE_ACTIVITY.2_PORTS_UTIL. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_int_vector_128b, tma_int_vector_256b, tma_port_0, tma_port_1, tma_port_5, tma_port_6", 1972 "ScaleUnit": "100%" 1973 }, 1974 { 1975 "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)", 1976 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 1977 "MetricExpr": "UOPS_EXECUTED.CYCLES_GE_3 / tma_info_thread_clks", 1978 "MetricGroup": "BvCB;PortsUtil;TopdownL4;tma_L4_group;tma_ports_utilization_group", 1979 "MetricName": "tma_ports_utilized_3m", 1980 "MetricThreshold": "tma_ports_utilized_3m > 0.4 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1981 "PublicDescription": "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). Sample with: UOPS_EXECUTED.CYCLES_GE_3", 1982 "ScaleUnit": "100%" 1983 }, 1984 { 1985 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from remote cache in other sockets including synchronizations issues", 1986 "MetricExpr": "(133 * tma_info_system_core_frequency * MEM_LOAD_L3_MISS_RETIRED.REMOTE_HITM + 133 * 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", 1987 "MetricGroup": "Offcore;Server;Snoop;TopdownL5;tma_L5_group;tma_issueSyncxn;tma_mem_latency_group", 1988 "MetricName": "tma_remote_cache", 1989 "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)))", 1990 "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", 1991 "ScaleUnit": "100%" 1992 }, 1993 { 1994 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from remote memory", 1995 "MetricExpr": "153 * 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", 1996 "MetricGroup": "Server;Snoop;TopdownL5;tma_L5_group;tma_mem_latency_group", 1997 "MetricName": "tma_remote_mem", 1998 "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)))", 1999 "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", 2000 "ScaleUnit": "100%" 2001 }, 2002 { 2003 "BriefDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired", 2004 "DefaultMetricgroupName": "TopdownL1", 2005 "MetricExpr": "topdown\\-retiring / (topdown\\-fe\\-bound + topdown\\-bad\\-spec + topdown\\-retiring + topdown\\-be\\-bound) + 0 * tma_info_thread_slots", 2006 "MetricGroup": "BvUW;Default;TmaL1;TopdownL1;tma_L1_group", 2007 "MetricName": "tma_retiring", 2008 "MetricThreshold": "tma_retiring > 0.7 | tma_heavy_operations > 0.1", 2009 "MetricgroupNoGroup": "TopdownL1;Default", 2010 "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.SLOTS", 2011 "ScaleUnit": "100%" 2012 }, 2013 { 2014 "BriefDescription": "This metric represents fraction of cycles the CPU issue-pipeline was stalled due to serializing operations", 2015 "MetricExpr": "RESOURCE_STALLS.SCOREBOARD / tma_info_thread_clks + tma_c02_wait", 2016 "MetricGroup": "BvIO;PortsUtil;TopdownL3;tma_L3_group;tma_core_bound_group;tma_issueSO", 2017 "MetricName": "tma_serializing_operation", 2018 "MetricThreshold": "tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", 2019 "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: RESOURCE_STALLS.SCOREBOARD. Related metrics: tma_ms_switches", 2020 "ScaleUnit": "100%" 2021 }, 2022 { 2023 "BriefDescription": "This metric represents fraction of slots where the CPU was retiring Shuffle operations of 256-bit vector size (FP or Integer)", 2024 "MetricExpr": "tma_light_operations * INT_VEC_RETIRED.SHUFFLES / (tma_retiring * tma_info_thread_slots)", 2025 "MetricGroup": "HPC;Pipeline;TopdownL4;tma_L4_group;tma_other_light_ops_group", 2026 "MetricName": "tma_shuffles_256b", 2027 "MetricThreshold": "tma_shuffles_256b > 0.1 & (tma_other_light_ops > 0.3 & tma_light_operations > 0.6)", 2028 "PublicDescription": "This metric represents fraction of slots where the CPU was retiring Shuffle operations of 256-bit vector size (FP or Integer). Shuffles may incur slow cross \"vector lane\" data transfers.", 2029 "ScaleUnit": "100%" 2030 }, 2031 { 2032 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to PAUSE Instructions", 2033 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 2034 "MetricExpr": "CPU_CLK_UNHALTED.PAUSE / tma_info_thread_clks", 2035 "MetricGroup": "TopdownL4;tma_L4_group;tma_serializing_operation_group", 2036 "MetricName": "tma_slow_pause", 2037 "MetricThreshold": "tma_slow_pause > 0.05 & (tma_serializing_operation > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 2038 "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to PAUSE Instructions. Sample with: CPU_CLK_UNHALTED.PAUSE_INST", 2039 "ScaleUnit": "100%" 2040 }, 2041 { 2042 "BriefDescription": "This metric estimates fraction of cycles handling memory load split accesses - load that cross 64-byte cache line boundary", 2043 "MetricExpr": "tma_info_memory_load_miss_real_latency * LD_BLOCKS.NO_SR / tma_info_thread_clks", 2044 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 2045 "MetricName": "tma_split_loads", 2046 "MetricThreshold": "tma_split_loads > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 2047 "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", 2048 "ScaleUnit": "100%" 2049 }, 2050 { 2051 "BriefDescription": "This metric represents rate of split store accesses", 2052 "MetricExpr": "MEM_INST_RETIRED.SPLIT_STORES / tma_info_core_core_clks", 2053 "MetricGroup": "TopdownL4;tma_L4_group;tma_issueSpSt;tma_store_bound_group", 2054 "MetricName": "tma_split_stores", 2055 "MetricThreshold": "tma_split_stores > 0.2 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 2056 "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", 2057 "ScaleUnit": "100%" 2058 }, 2059 { 2060 "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)", 2061 "MetricExpr": "(XQ.FULL_CYCLES + L1D_PEND_MISS.L2_STALLS) / tma_info_thread_clks", 2062 "MetricGroup": "BvMS;MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_issueBW;tma_l3_bound_group", 2063 "MetricName": "tma_sq_full", 2064 "MetricThreshold": "tma_sq_full > 0.3 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 2065 "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", 2066 "ScaleUnit": "100%" 2067 }, 2068 { 2069 "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", 2070 "MetricExpr": "EXE_ACTIVITY.BOUND_ON_STORES / tma_info_thread_clks", 2071 "MetricGroup": "MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 2072 "MetricName": "tma_store_bound", 2073 "MetricThreshold": "tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 2074 "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", 2075 "ScaleUnit": "100%" 2076 }, 2077 { 2078 "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", 2079 "MetricExpr": "13 * LD_BLOCKS.STORE_FORWARD / tma_info_thread_clks", 2080 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 2081 "MetricName": "tma_store_fwd_blk", 2082 "MetricThreshold": "tma_store_fwd_blk > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 2083 "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.", 2084 "ScaleUnit": "100%" 2085 }, 2086 { 2087 "BriefDescription": "This metric estimates fraction of cycles the CPU spent handling L1D store misses", 2088 "MetricExpr": "(MEM_STORE_RETIRED.L2_HIT * 10 * (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", 2089 "MetricGroup": "BvML;MemoryLat;Offcore;TopdownL4;tma_L4_group;tma_issueRFO;tma_issueSL;tma_store_bound_group", 2090 "MetricName": "tma_store_latency", 2091 "MetricThreshold": "tma_store_latency > 0.1 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 2092 "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", 2093 "ScaleUnit": "100%" 2094 }, 2095 { 2096 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Store operations", 2097 "MetricExpr": "(UOPS_DISPATCHED.PORT_4_9 + UOPS_DISPATCHED.PORT_7_8) / (4 * tma_info_core_core_clks)", 2098 "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", 2099 "MetricName": "tma_store_op_utilization", 2100 "MetricThreshold": "tma_store_op_utilization > 0.6", 2101 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Store operations. Sample with: UOPS_DISPATCHED.PORT_7_8", 2102 "ScaleUnit": "100%" 2103 }, 2104 { 2105 "BriefDescription": "This metric roughly estimates the fraction of cycles where the TLB was missed by store accesses, hitting in the second-level TLB (STLB)", 2106 "MetricExpr": "tma_dtlb_store - tma_store_stlb_miss", 2107 "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_store_group", 2108 "MetricName": "tma_store_stlb_hit", 2109 "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)))", 2110 "ScaleUnit": "100%" 2111 }, 2112 { 2113 "BriefDescription": "This metric estimates the fraction of cycles where the STLB was missed by store accesses, performing a hardware page walk", 2114 "MetricExpr": "DTLB_STORE_MISSES.WALK_ACTIVE / tma_info_core_core_clks", 2115 "MetricGroup": "MemoryTLB;TopdownL5;tma_L5_group;tma_dtlb_store_group", 2116 "MetricName": "tma_store_stlb_miss", 2117 "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)))", 2118 "ScaleUnit": "100%" 2119 }, 2120 { 2121 "BriefDescription": "This metric estimates how often CPU was stalled due to Streaming store memory accesses; Streaming store optimize out a read request required by RFO stores", 2122 "MetricExpr": "9 * OCR.STREAMING_WR.ANY_RESPONSE / tma_info_thread_clks", 2123 "MetricGroup": "MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_issueSmSt;tma_store_bound_group", 2124 "MetricName": "tma_streaming_stores", 2125 "MetricThreshold": "tma_streaming_stores > 0.2 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 2126 "PublicDescription": "This metric estimates how often CPU was stalled due to Streaming store memory accesses; Streaming store optimize out a read request required by RFO stores. 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 Streaming stores be a bottleneck. Sample with: OCR.STREAMING_WR.ANY_RESPONSE. Related metrics: tma_fb_full", 2127 "ScaleUnit": "100%" 2128 }, 2129 { 2130 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to new branch address clears", 2131 "MetricExpr": "INT_MISC.UNKNOWN_BRANCH_CYCLES / tma_info_thread_clks", 2132 "MetricGroup": "BigFootprint;BvBC;FetchLat;TopdownL4;tma_L4_group;tma_branch_resteers_group", 2133 "MetricName": "tma_unknown_branches", 2134 "MetricThreshold": "tma_unknown_branches > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))", 2135 "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: FRONTEND_RETIRED.UNKNOWN_BRANCH", 2136 "ScaleUnit": "100%" 2137 }, 2138 { 2139 "BriefDescription": "This metric serves as an approximation of legacy x87 usage", 2140 "MetricExpr": "tma_retiring * UOPS_EXECUTED.X87 / UOPS_EXECUTED.THREAD", 2141 "MetricGroup": "Compute;TopdownL4;tma_L4_group;tma_fp_arith_group", 2142 "MetricName": "tma_x87_use", 2143 "MetricThreshold": "tma_x87_use > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", 2144 "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.", 2145 "ScaleUnit": "100%" 2146 }, 2147 { 2148 "BriefDescription": "Percentage of cycles in aborted transactions.", 2149 "MetricExpr": "(max(cycles\\-t - cycles\\-ct, 0) / cycles if has_event(cycles\\-t) else 0)", 2150 "MetricGroup": "transaction", 2151 "MetricName": "tsx_aborted_cycles", 2152 "ScaleUnit": "100%" 2153 }, 2154 { 2155 "BriefDescription": "Number of cycles within a transaction divided by the number of transactions.", 2156 "MetricExpr": "(cycles\\-t / tx\\-start if has_event(cycles\\-t) else 0)", 2157 "MetricGroup": "transaction", 2158 "MetricName": "tsx_cycles_per_transaction", 2159 "ScaleUnit": "1cycles / transaction" 2160 }, 2161 { 2162 "BriefDescription": "Percentage of cycles within a transaction region.", 2163 "MetricExpr": "(cycles\\-t / cycles if has_event(cycles\\-t) else 0)", 2164 "MetricGroup": "transaction", 2165 "MetricName": "tsx_transactional_cycles", 2166 "ScaleUnit": "100%" 2167 }, 2168 { 2169 "BriefDescription": "Uncore operating frequency in GHz", 2170 "MetricExpr": "UNC_CHA_CLOCKTICKS / (source_count(UNC_CHA_CLOCKTICKS) * #num_packages) / 1e9 / duration_time", 2171 "MetricName": "uncore_frequency", 2172 "ScaleUnit": "1GHz" 2173 }, 2174 { 2175 "BriefDescription": "Intel(R) Ultra Path Interconnect (UPI) data receive bandwidth (MB/sec)", 2176 "MetricExpr": "UNC_UPI_RxL_FLITS.ALL_DATA * 7.111111111111111 / 1e6 / duration_time", 2177 "MetricName": "upi_data_receive_bw", 2178 "ScaleUnit": "1MB/s" 2179 }, 2180 { 2181 "BriefDescription": "Intel(R) Ultra Path Interconnect (UPI) data transmit bandwidth (MB/sec)", 2182 "MetricExpr": "UNC_UPI_TxL_FLITS.ALL_DATA * 7.111111111111111 / 1e6 / duration_time", 2183 "MetricName": "upi_data_transmit_bw", 2184 "ScaleUnit": "1MB/s" 2185 } 2186] 2187