1[ 2 { 3 "BriefDescription": "C2 residency percent per package", 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 5 "MetricGroup": "Power", 6 "MetricName": "C2_Pkg_Residency", 7 "ScaleUnit": "100%" 8 }, 9 { 10 "BriefDescription": "C3 residency percent per core", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 12 "MetricGroup": "Power", 13 "MetricName": "C3_Core_Residency", 14 "ScaleUnit": "100%" 15 }, 16 { 17 "BriefDescription": "C3 residency percent per package", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 19 "MetricGroup": "Power", 20 "MetricName": "C3_Pkg_Residency", 21 "ScaleUnit": "100%" 22 }, 23 { 24 "BriefDescription": "C6 residency percent per core", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 26 "MetricGroup": "Power", 27 "MetricName": "C6_Core_Residency", 28 "ScaleUnit": "100%" 29 }, 30 { 31 "BriefDescription": "C6 residency percent per package", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", 33 "MetricGroup": "Power", 34 "MetricName": "C6_Pkg_Residency", 35 "ScaleUnit": "100%" 36 }, 37 { 38 "BriefDescription": "C7 residency percent per core", 39 "MetricExpr": "cstate_core@c7\\-residency@ / TSC", 40 "MetricGroup": "Power", 41 "MetricName": "C7_Core_Residency", 42 "ScaleUnit": "100%" 43 }, 44 { 45 "BriefDescription": "C7 residency percent per package", 46 "MetricExpr": "cstate_pkg@c7\\-residency@ / TSC", 47 "MetricGroup": "Power", 48 "MetricName": "C7_Pkg_Residency", 49 "ScaleUnit": "100%" 50 }, 51 { 52 "BriefDescription": "Uncore frequency per die [GHZ]", 53 "MetricExpr": "tma_info_system_socket_clks / #num_dies / duration_time / 1e9", 54 "MetricGroup": "SoC", 55 "MetricName": "UNCORE_FREQ" 56 }, 57 { 58 "BriefDescription": "Percentage of cycles spent in System Management Interrupts.", 59 "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", 60 "MetricGroup": "smi", 61 "MetricName": "smi_cycles", 62 "MetricThreshold": "smi_cycles > 0.1", 63 "ScaleUnit": "100%" 64 }, 65 { 66 "BriefDescription": "Number of SMI interrupts.", 67 "MetricExpr": "msr@smi@", 68 "MetricGroup": "smi", 69 "MetricName": "smi_num", 70 "ScaleUnit": "1SMI#" 71 }, 72 { 73 "BriefDescription": "This metric estimates how often memory load accesses were aliased by preceding stores (in program order) with a 4K address offset", 74 "MetricExpr": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS / tma_info_thread_clks", 75 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 76 "MetricName": "tma_4k_aliasing", 77 "MetricThreshold": "tma_4k_aliasing > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 78 "PublicDescription": "This metric estimates how often memory load accesses were aliased by preceding stores (in program order) with a 4K address offset. False match is possible; which incur a few cycles load re-issue. However; the short re-issue duration is often hidden by the out-of-order core and HW optimizations; hence a user may safely ignore a high value of this metric unless it manages to propagate up into parent nodes of the hierarchy (e.g. to L1_Bound).", 79 "ScaleUnit": "100%" 80 }, 81 { 82 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution ports for ALU operations.", 83 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 84 "MetricExpr": "(UOPS_DISPATCHED_PORT.PORT_0 + UOPS_DISPATCHED_PORT.PORT_1 + UOPS_DISPATCHED_PORT.PORT_5 + UOPS_DISPATCHED_PORT.PORT_6) / tma_info_thread_slots", 85 "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", 86 "MetricName": "tma_alu_op_utilization", 87 "MetricThreshold": "tma_alu_op_utilization > 0.4", 88 "ScaleUnit": "100%" 89 }, 90 { 91 "BriefDescription": "This metric estimates fraction of slots the CPU retired uops delivered by the Microcode_Sequencer as a result of Assists", 92 "MetricExpr": "66 * OTHER_ASSISTS.ANY_WB_ASSIST / tma_info_thread_slots", 93 "MetricGroup": "BvIO;TopdownL4;tma_L4_group;tma_microcode_sequencer_group", 94 "MetricName": "tma_assists", 95 "MetricThreshold": "tma_assists > 0.1 & (tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1)", 96 "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", 97 "ScaleUnit": "100%" 98 }, 99 { 100 "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", 101 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 102 "MetricExpr": "1 - (tma_frontend_bound + tma_bad_speculation + tma_retiring)", 103 "MetricGroup": "BvOB;TmaL1;TopdownL1;tma_L1_group", 104 "MetricName": "tma_backend_bound", 105 "MetricThreshold": "tma_backend_bound > 0.2", 106 "MetricgroupNoGroup": "TopdownL1", 107 "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", 108 "ScaleUnit": "100%" 109 }, 110 { 111 "BriefDescription": "This category represents fraction of slots wasted due to incorrect speculations", 112 "MetricExpr": "(UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * (INT_MISC.RECOVERY_CYCLES_ANY / 2 if #SMT_on else INT_MISC.RECOVERY_CYCLES)) / tma_info_thread_slots", 113 "MetricGroup": "TmaL1;TopdownL1;tma_L1_group", 114 "MetricName": "tma_bad_speculation", 115 "MetricThreshold": "tma_bad_speculation > 0.15", 116 "MetricgroupNoGroup": "TopdownL1", 117 "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.", 118 "ScaleUnit": "100%" 119 }, 120 { 121 "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Branch Misprediction", 122 "MetricConstraint": "NO_GROUP_EVENTS", 123 "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES / (BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT) * tma_bad_speculation", 124 "MetricGroup": "BadSpec;BrMispredicts;BvMP;TmaL2;TopdownL2;tma_L2_group;tma_bad_speculation_group;tma_issueBM", 125 "MetricName": "tma_branch_mispredicts", 126 "MetricThreshold": "tma_branch_mispredicts > 0.1 & tma_bad_speculation > 0.15", 127 "MetricgroupNoGroup": "TopdownL2", 128 "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_mispredicts_resteers", 129 "ScaleUnit": "100%" 130 }, 131 { 132 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers", 133 "MetricExpr": "12 * (BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT + BACLEARS.ANY) / tma_info_thread_clks", 134 "MetricGroup": "FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group", 135 "MetricName": "tma_branch_resteers", 136 "MetricThreshold": "tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 137 "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", 138 "ScaleUnit": "100%" 139 }, 140 { 141 "BriefDescription": "This metric estimates fraction of cycles the CPU retired uops originated from CISC (complex instruction set computer) instruction", 142 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 143 "MetricExpr": "max(0, tma_microcode_sequencer - tma_assists)", 144 "MetricGroup": "TopdownL4;tma_L4_group;tma_microcode_sequencer_group", 145 "MetricName": "tma_cisc", 146 "MetricThreshold": "tma_cisc > 0.1 & (tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1)", 147 "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.", 148 "ScaleUnit": "100%" 149 }, 150 { 151 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Machine Clears", 152 "MetricExpr": "MACHINE_CLEARS.COUNT * tma_branch_resteers / (BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT + BACLEARS.ANY)", 153 "MetricGroup": "BadSpec;MachineClears;TopdownL4;tma_L4_group;tma_branch_resteers_group;tma_issueMC", 154 "MetricName": "tma_clears_resteers", 155 "MetricThreshold": "tma_clears_resteers > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))", 156 "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", 157 "ScaleUnit": "100%" 158 }, 159 { 160 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to contested accesses", 161 "MetricConstraint": "NO_GROUP_EVENTS", 162 "MetricExpr": "(60 * (MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HITM * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.L3_HIT + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_RETIRED.L3_MISS))) + 43 * (MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_MISS * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.L3_HIT + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_RETIRED.L3_MISS)))) / tma_info_thread_clks", 163 "MetricGroup": "BvMS;DataSharing;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_l3_bound_group", 164 "MetricName": "tma_contested_accesses", 165 "MetricThreshold": "tma_contested_accesses > 0.05 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 166 "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", 167 "ScaleUnit": "100%" 168 }, 169 { 170 "BriefDescription": "This metric represents fraction of slots where Core non-memory issues were of a bottleneck", 171 "MetricConstraint": "NO_GROUP_EVENTS", 172 "MetricExpr": "tma_backend_bound - tma_memory_bound", 173 "MetricGroup": "Backend;Compute;TmaL2;TopdownL2;tma_L2_group;tma_backend_bound_group", 174 "MetricName": "tma_core_bound", 175 "MetricThreshold": "tma_core_bound > 0.1 & tma_backend_bound > 0.2", 176 "MetricgroupNoGroup": "TopdownL2", 177 "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).", 178 "ScaleUnit": "100%" 179 }, 180 { 181 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to data-sharing accesses", 182 "MetricConstraint": "NO_GROUP_EVENTS", 183 "MetricExpr": "43 * (MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HIT * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.L3_HIT + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_RETIRED.L3_MISS))) / tma_info_thread_clks", 184 "MetricGroup": "BvMS;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_l3_bound_group", 185 "MetricName": "tma_data_sharing", 186 "MetricThreshold": "tma_data_sharing > 0.05 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 187 "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", 188 "ScaleUnit": "100%" 189 }, 190 { 191 "BriefDescription": "This metric represents fraction of cycles where the Divider unit was active", 192 "MetricExpr": "ARITH.FPU_DIV_ACTIVE / tma_info_core_core_clks", 193 "MetricGroup": "BvCB;TopdownL3;tma_L3_group;tma_core_bound_group", 194 "MetricName": "tma_divider", 195 "MetricThreshold": "tma_divider > 0.2 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", 196 "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", 197 "ScaleUnit": "100%" 198 }, 199 { 200 "BriefDescription": "This metric estimates how often the CPU was stalled on accesses to external memory (DRAM) by loads", 201 "MetricConstraint": "NO_GROUP_EVENTS_SMT", 202 "MetricExpr": "(1 - MEM_LOAD_UOPS_RETIRED.L3_HIT / (MEM_LOAD_UOPS_RETIRED.L3_HIT + 7 * MEM_LOAD_UOPS_RETIRED.L3_MISS)) * CYCLE_ACTIVITY.STALLS_L2_MISS / tma_info_thread_clks", 203 "MetricGroup": "MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 204 "MetricName": "tma_dram_bound", 205 "MetricThreshold": "tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 206 "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", 207 "ScaleUnit": "100%" 208 }, 209 { 210 "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to DSB (decoded uop cache) fetch pipeline", 211 "MetricExpr": "(IDQ.ALL_DSB_CYCLES_ANY_UOPS - IDQ.ALL_DSB_CYCLES_4_UOPS) / tma_info_core_core_clks / 2", 212 "MetricGroup": "DSB;FetchBW;TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 213 "MetricName": "tma_dsb", 214 "MetricThreshold": "tma_dsb > 0.15 & tma_fetch_bandwidth > 0.2", 215 "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.", 216 "ScaleUnit": "100%" 217 }, 218 { 219 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to switches from DSB to MITE pipelines", 220 "MetricExpr": "DSB2MITE_SWITCHES.PENALTY_CYCLES / tma_info_thread_clks", 221 "MetricGroup": "DSBmiss;FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueFB", 222 "MetricName": "tma_dsb_switches", 223 "MetricThreshold": "tma_dsb_switches > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 224 "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_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp", 225 "ScaleUnit": "100%" 226 }, 227 { 228 "BriefDescription": "This metric roughly estimates the fraction of cycles where the Data TLB (DTLB) was missed by load accesses", 229 "MetricExpr": "(8 * DTLB_LOAD_MISSES.STLB_HIT + cpu@DTLB_LOAD_MISSES.WALK_DURATION\\,cmask\\=1@ + 7 * DTLB_LOAD_MISSES.WALK_COMPLETED) / tma_info_thread_clks", 230 "MetricGroup": "BvMT;MemoryTLB;TopdownL4;tma_L4_group;tma_issueTLB;tma_l1_bound_group", 231 "MetricName": "tma_dtlb_load", 232 "MetricThreshold": "tma_dtlb_load > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 233 "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", 234 "ScaleUnit": "100%" 235 }, 236 { 237 "BriefDescription": "This metric roughly estimates the fraction of cycles spent handling first-level data TLB store misses", 238 "MetricExpr": "(8 * DTLB_STORE_MISSES.STLB_HIT + cpu@DTLB_STORE_MISSES.WALK_DURATION\\,cmask\\=1@ + 7 * DTLB_STORE_MISSES.WALK_COMPLETED) / tma_info_thread_clks", 239 "MetricGroup": "BvMT;MemoryTLB;TopdownL4;tma_L4_group;tma_issueTLB;tma_store_bound_group", 240 "MetricName": "tma_dtlb_store", 241 "MetricThreshold": "tma_dtlb_store > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 242 "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", 243 "ScaleUnit": "100%" 244 }, 245 { 246 "BriefDescription": "This metric does a *rough estimation* of how often L1D Fill Buffer unavailability limited additional L1D miss memory access requests to proceed", 247 "MetricConstraint": "NO_GROUP_EVENTS", 248 "MetricExpr": "tma_info_memory_load_miss_real_latency * cpu@L1D_PEND_MISS.FB_FULL\\,cmask\\=1@ / tma_info_thread_clks", 249 "MetricGroup": "BvMS;MemoryBW;TopdownL4;tma_L4_group;tma_issueBW;tma_issueSL;tma_issueSmSt;tma_l1_bound_group", 250 "MetricName": "tma_fb_full", 251 "MetricThreshold": "tma_fb_full > 0.3", 252 "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_system_dram_bw_use, tma_mem_bandwidth, tma_sq_full, tma_store_latency, tma_streaming_stores", 253 "ScaleUnit": "100%" 254 }, 255 { 256 "BriefDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend bandwidth issues", 257 "MetricExpr": "tma_frontend_bound - tma_fetch_latency", 258 "MetricGroup": "FetchBW;Frontend;TmaL2;TopdownL2;tma_L2_group;tma_frontend_bound_group;tma_issueFB", 259 "MetricName": "tma_fetch_bandwidth", 260 "MetricThreshold": "tma_fetch_bandwidth > 0.2", 261 "MetricgroupNoGroup": "TopdownL2", 262 "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_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp", 263 "ScaleUnit": "100%" 264 }, 265 { 266 "BriefDescription": "This metric represents fraction of slots the CPU was stalled due to Frontend latency issues", 267 "MetricExpr": "4 * IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE / tma_info_thread_slots", 268 "MetricGroup": "Frontend;TmaL2;TopdownL2;tma_L2_group;tma_frontend_bound_group", 269 "MetricName": "tma_fetch_latency", 270 "MetricThreshold": "tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15", 271 "MetricgroupNoGroup": "TopdownL2", 272 "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", 273 "ScaleUnit": "100%" 274 }, 275 { 276 "BriefDescription": "This metric represents overall arithmetic floating-point (FP) operations fraction the CPU has executed (retired)", 277 "MetricExpr": "tma_x87_use + tma_fp_scalar + tma_fp_vector", 278 "MetricGroup": "HPC;TopdownL3;tma_L3_group;tma_light_operations_group", 279 "MetricName": "tma_fp_arith", 280 "MetricThreshold": "tma_fp_arith > 0.2 & tma_light_operations > 0.6", 281 "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.", 282 "ScaleUnit": "100%" 283 }, 284 { 285 "BriefDescription": "This metric approximates arithmetic floating-point (FP) scalar uops fraction the CPU has retired", 286 "MetricExpr": "FP_ARITH_INST_RETIRED.SCALAR / UOPS_RETIRED.RETIRE_SLOTS", 287 "MetricGroup": "Compute;Flops;TopdownL4;tma_L4_group;tma_fp_arith_group;tma_issue2P", 288 "MetricName": "tma_fp_scalar", 289 "MetricThreshold": "tma_fp_scalar > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", 290 "PublicDescription": "This metric approximates arithmetic floating-point (FP) scalar uops fraction the CPU has retired. May overcount due to FMA double counting. Related metrics: tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 291 "ScaleUnit": "100%" 292 }, 293 { 294 "BriefDescription": "This metric approximates arithmetic floating-point (FP) vector uops fraction the CPU has retired aggregated across all vector widths", 295 "MetricExpr": "FP_ARITH_INST_RETIRED.VECTOR / UOPS_RETIRED.RETIRE_SLOTS", 296 "MetricGroup": "Compute;Flops;TopdownL4;tma_L4_group;tma_fp_arith_group;tma_issue2P", 297 "MetricName": "tma_fp_vector", 298 "MetricThreshold": "tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", 299 "PublicDescription": "This metric approximates arithmetic floating-point (FP) vector uops fraction the CPU has retired aggregated across all vector widths. May overcount due to FMA double counting. Related metrics: tma_fp_scalar, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 300 "ScaleUnit": "100%" 301 }, 302 { 303 "BriefDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 128-bit wide vectors", 304 "MetricExpr": "(FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE) / UOPS_RETIRED.RETIRE_SLOTS", 305 "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P", 306 "MetricName": "tma_fp_vector_128b", 307 "MetricThreshold": "tma_fp_vector_128b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))", 308 "PublicDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 128-bit wide vectors. May overcount due to FMA double counting. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 309 "ScaleUnit": "100%" 310 }, 311 { 312 "BriefDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 256-bit wide vectors", 313 "MetricExpr": "(FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE) / UOPS_RETIRED.RETIRE_SLOTS", 314 "MetricGroup": "Compute;Flops;TopdownL5;tma_L5_group;tma_fp_vector_group;tma_issue2P", 315 "MetricName": "tma_fp_vector_256b", 316 "MetricThreshold": "tma_fp_vector_256b > 0.1 & (tma_fp_vector > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6))", 317 "PublicDescription": "This metric approximates arithmetic FP vector uops fraction the CPU has retired for 256-bit wide vectors. May overcount due to FMA double counting. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 318 "ScaleUnit": "100%" 319 }, 320 { 321 "BriefDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend", 322 "MetricExpr": "IDQ_UOPS_NOT_DELIVERED.CORE / tma_info_thread_slots", 323 "MetricGroup": "BvFB;BvIO;PGO;TmaL1;TopdownL1;tma_L1_group", 324 "MetricName": "tma_frontend_bound", 325 "MetricThreshold": "tma_frontend_bound > 0.15", 326 "MetricgroupNoGroup": "TopdownL1", 327 "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", 328 "ScaleUnit": "100%" 329 }, 330 { 331 "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", 332 "MetricExpr": "tma_microcode_sequencer", 333 "MetricGroup": "Retire;TmaL2;TopdownL2;tma_L2_group;tma_retiring_group", 334 "MetricName": "tma_heavy_operations", 335 "MetricThreshold": "tma_heavy_operations > 0.1", 336 "MetricgroupNoGroup": "TopdownL2", 337 "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+] .)", 338 "ScaleUnit": "100%" 339 }, 340 { 341 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to instruction cache misses", 342 "MetricExpr": "ICACHE.IFDATA_STALL / tma_info_thread_clks", 343 "MetricGroup": "BigFootprint;BvBC;FetchLat;IcMiss;TopdownL3;tma_L3_group;tma_fetch_latency_group", 344 "MetricName": "tma_icache_misses", 345 "MetricThreshold": "tma_icache_misses > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 346 "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", 347 "ScaleUnit": "100%" 348 }, 349 { 350 "BriefDescription": "Instructions per retired mispredicts for indirect CALL or JMP branches (lower number means higher occurrence rate).", 351 "MetricExpr": "tma_info_inst_mix_instructions / (UOPS_RETIRED.RETIRE_SLOTS / UOPS_ISSUED.ANY * BR_MISP_EXEC.INDIRECT)", 352 "MetricGroup": "Bad;BrMispredicts", 353 "MetricName": "tma_info_bad_spec_ipmisp_indirect", 354 "MetricThreshold": "tma_info_bad_spec_ipmisp_indirect < 1e3" 355 }, 356 { 357 "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction (JEClear) (lower number means higher occurrence rate)", 358 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES", 359 "MetricGroup": "Bad;BadSpec;BrMispredicts", 360 "MetricName": "tma_info_bad_spec_ipmispredict", 361 "MetricThreshold": "tma_info_bad_spec_ipmispredict < 200" 362 }, 363 { 364 "BriefDescription": "Core actual clocks when any Logical Processor is active on the Physical Core", 365 "MetricExpr": "(CPU_CLK_UNHALTED.THREAD / 2 * (1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK) if #core_wide < 1 else (CPU_CLK_UNHALTED.THREAD_ANY / 2 if #SMT_on else tma_info_thread_clks))", 366 "MetricGroup": "SMT", 367 "MetricName": "tma_info_core_core_clks" 368 }, 369 { 370 "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)", 371 "MetricExpr": "INST_RETIRED.ANY / tma_info_core_core_clks", 372 "MetricGroup": "Ret;SMT;TmaL1;tma_L1_group", 373 "MetricName": "tma_info_core_coreipc" 374 }, 375 { 376 "BriefDescription": "Floating Point Operations Per Cycle", 377 "MetricExpr": "(FP_ARITH_INST_RETIRED.SCALAR + 2 * FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + 4 * FP_ARITH_INST_RETIRED.4_FLOPS + 8 * FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE) / tma_info_core_core_clks", 378 "MetricGroup": "Flops;Ret", 379 "MetricName": "tma_info_core_flopc" 380 }, 381 { 382 "BriefDescription": "Actual per-core usage of the Floating Point non-X87 execution units (regardless of precision or vector-width)", 383 "MetricExpr": "(FP_ARITH_INST_RETIRED.SCALAR + FP_ARITH_INST_RETIRED.VECTOR) / (2 * tma_info_core_core_clks)", 384 "MetricGroup": "Cor;Flops;HPC", 385 "MetricName": "tma_info_core_fp_arith_utilization", 386 "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)." 387 }, 388 { 389 "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is execution) per thread (logical-processor)", 390 "MetricExpr": "UOPS_EXECUTED.THREAD / cpu@UOPS_EXECUTED.THREAD\\,cmask\\=1@", 391 "MetricGroup": "Backend;Cor;Pipeline;PortsUtil", 392 "MetricName": "tma_info_core_ilp" 393 }, 394 { 395 "BriefDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache)", 396 "MetricExpr": "IDQ.DSB_UOPS / (IDQ.DSB_UOPS + LSD.UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS)", 397 "MetricGroup": "DSB;Fed;FetchBW;tma_issueFB", 398 "MetricName": "tma_info_frontend_dsb_coverage", 399 "MetricThreshold": "tma_info_frontend_dsb_coverage < 0.7 & tma_info_thread_ipc / 4 > 0.35", 400 "PublicDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache). Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_inst_mix_iptb, tma_lcp" 401 }, 402 { 403 "BriefDescription": "Instructions per speculative Unknown Branch Misprediction (BAClear) (lower number means higher occurrence rate)", 404 "MetricExpr": "tma_info_inst_mix_instructions / BACLEARS.ANY", 405 "MetricGroup": "Fed", 406 "MetricName": "tma_info_frontend_ipunknown_branch" 407 }, 408 { 409 "BriefDescription": "Branch instructions per taken branch.", 410 "MetricExpr": "BR_INST_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.NEAR_TAKEN", 411 "MetricGroup": "Branches;Fed;PGO", 412 "MetricName": "tma_info_inst_mix_bptkbranch" 413 }, 414 { 415 "BriefDescription": "Total number of retired Instructions", 416 "MetricExpr": "INST_RETIRED.ANY", 417 "MetricGroup": "Summary;TmaL1;tma_L1_group", 418 "MetricName": "tma_info_inst_mix_instructions", 419 "PublicDescription": "Total number of retired Instructions. Sample with: INST_RETIRED.PREC_DIST" 420 }, 421 { 422 "BriefDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate)", 423 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.SCALAR + FP_ARITH_INST_RETIRED.VECTOR)", 424 "MetricGroup": "Flops;InsType", 425 "MetricName": "tma_info_inst_mix_iparith", 426 "MetricThreshold": "tma_info_inst_mix_iparith < 10", 427 "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." 428 }, 429 { 430 "BriefDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction (lower number means higher occurrence rate)", 431 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.128B_PACKED_SINGLE)", 432 "MetricGroup": "Flops;FpVector;InsType", 433 "MetricName": "tma_info_inst_mix_iparith_avx128", 434 "MetricThreshold": "tma_info_inst_mix_iparith_avx128 < 10", 435 "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." 436 }, 437 { 438 "BriefDescription": "Instructions per FP Arithmetic AVX* 256-bit instruction (lower number means higher occurrence rate)", 439 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.256B_PACKED_DOUBLE + FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE)", 440 "MetricGroup": "Flops;FpVector;InsType", 441 "MetricName": "tma_info_inst_mix_iparith_avx256", 442 "MetricThreshold": "tma_info_inst_mix_iparith_avx256 < 10", 443 "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." 444 }, 445 { 446 "BriefDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction (lower number means higher occurrence rate)", 447 "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_DOUBLE", 448 "MetricGroup": "Flops;FpScalar;InsType", 449 "MetricName": "tma_info_inst_mix_iparith_scalar_dp", 450 "MetricThreshold": "tma_info_inst_mix_iparith_scalar_dp < 10", 451 "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." 452 }, 453 { 454 "BriefDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction (lower number means higher occurrence rate)", 455 "MetricExpr": "INST_RETIRED.ANY / FP_ARITH_INST_RETIRED.SCALAR_SINGLE", 456 "MetricGroup": "Flops;FpScalar;InsType", 457 "MetricName": "tma_info_inst_mix_iparith_scalar_sp", 458 "MetricThreshold": "tma_info_inst_mix_iparith_scalar_sp < 10", 459 "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." 460 }, 461 { 462 "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)", 463 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES", 464 "MetricGroup": "Branches;Fed;InsType", 465 "MetricName": "tma_info_inst_mix_ipbranch", 466 "MetricThreshold": "tma_info_inst_mix_ipbranch < 8" 467 }, 468 { 469 "BriefDescription": "Instructions per (near) call (lower number means higher occurrence rate)", 470 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_CALL", 471 "MetricGroup": "Branches;Fed;PGO", 472 "MetricName": "tma_info_inst_mix_ipcall", 473 "MetricThreshold": "tma_info_inst_mix_ipcall < 200" 474 }, 475 { 476 "BriefDescription": "Instructions per Floating Point (FP) Operation (lower number means higher occurrence rate)", 477 "MetricExpr": "INST_RETIRED.ANY / (FP_ARITH_INST_RETIRED.SCALAR + 2 * FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + 4 * FP_ARITH_INST_RETIRED.4_FLOPS + 8 * FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE)", 478 "MetricGroup": "Flops;InsType", 479 "MetricName": "tma_info_inst_mix_ipflop", 480 "MetricThreshold": "tma_info_inst_mix_ipflop < 10" 481 }, 482 { 483 "BriefDescription": "Instructions per Load (lower number means higher occurrence rate)", 484 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_LOADS", 485 "MetricGroup": "InsType", 486 "MetricName": "tma_info_inst_mix_ipload", 487 "MetricThreshold": "tma_info_inst_mix_ipload < 3" 488 }, 489 { 490 "BriefDescription": "Instructions per Store (lower number means higher occurrence rate)", 491 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_STORES", 492 "MetricGroup": "InsType", 493 "MetricName": "tma_info_inst_mix_ipstore", 494 "MetricThreshold": "tma_info_inst_mix_ipstore < 8" 495 }, 496 { 497 "BriefDescription": "Instructions per taken branch", 498 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_TAKEN", 499 "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO;tma_issueFB", 500 "MetricName": "tma_info_inst_mix_iptb", 501 "MetricThreshold": "tma_info_inst_mix_iptb < 9", 502 "PublicDescription": "Instructions per taken branch. Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_frontend_dsb_coverage, tma_lcp" 503 }, 504 { 505 "BriefDescription": "Average per-core data fill bandwidth to the L1 data cache [GB / sec]", 506 "MetricExpr": "tma_info_memory_l1d_cache_fill_bw", 507 "MetricGroup": "Mem;MemoryBW", 508 "MetricName": "tma_info_memory_core_l1d_cache_fill_bw_2t" 509 }, 510 { 511 "BriefDescription": "Average per-core data fill bandwidth to the L2 cache [GB / sec]", 512 "MetricExpr": "tma_info_memory_l2_cache_fill_bw", 513 "MetricGroup": "Mem;MemoryBW", 514 "MetricName": "tma_info_memory_core_l2_cache_fill_bw_2t" 515 }, 516 { 517 "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]", 518 "MetricExpr": "tma_info_memory_l3_cache_fill_bw", 519 "MetricGroup": "Mem;MemoryBW", 520 "MetricName": "tma_info_memory_core_l3_cache_fill_bw_2t" 521 }, 522 { 523 "BriefDescription": "Average per-thread data fill bandwidth to the L1 data cache [GB / sec]", 524 "MetricExpr": "64 * L1D.REPLACEMENT / 1e9 / duration_time", 525 "MetricGroup": "Mem;MemoryBW", 526 "MetricName": "tma_info_memory_l1d_cache_fill_bw" 527 }, 528 { 529 "BriefDescription": "L1 cache true misses per kilo instruction for retired demand loads", 530 "MetricExpr": "1e3 * MEM_LOAD_UOPS_RETIRED.L1_MISS / INST_RETIRED.ANY", 531 "MetricGroup": "CacheHits;Mem", 532 "MetricName": "tma_info_memory_l1mpki" 533 }, 534 { 535 "BriefDescription": "Average per-thread data fill bandwidth to the L2 cache [GB / sec]", 536 "MetricExpr": "64 * L2_LINES_IN.ALL / 1e9 / duration_time", 537 "MetricGroup": "Mem;MemoryBW", 538 "MetricName": "tma_info_memory_l2_cache_fill_bw" 539 }, 540 { 541 "BriefDescription": "L2 cache hits per kilo instruction for all request types (including speculative)", 542 "MetricExpr": "1e3 * (L2_RQSTS.REFERENCES - L2_RQSTS.MISS) / INST_RETIRED.ANY", 543 "MetricGroup": "CacheHits;Mem", 544 "MetricName": "tma_info_memory_l2hpki_all" 545 }, 546 { 547 "BriefDescription": "L2 cache hits per kilo instruction for all demand loads (including speculative)", 548 "MetricExpr": "1e3 * L2_RQSTS.DEMAND_DATA_RD_HIT / INST_RETIRED.ANY", 549 "MetricGroup": "CacheHits;Mem", 550 "MetricName": "tma_info_memory_l2hpki_load" 551 }, 552 { 553 "BriefDescription": "L2 cache true misses per kilo instruction for retired demand loads", 554 "MetricExpr": "1e3 * MEM_LOAD_UOPS_RETIRED.L2_MISS / INST_RETIRED.ANY", 555 "MetricGroup": "Backend;CacheHits;Mem", 556 "MetricName": "tma_info_memory_l2mpki" 557 }, 558 { 559 "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all request types (including speculative)", 560 "MetricExpr": "1e3 * L2_RQSTS.MISS / INST_RETIRED.ANY", 561 "MetricGroup": "CacheHits;Mem;Offcore", 562 "MetricName": "tma_info_memory_l2mpki_all" 563 }, 564 { 565 "BriefDescription": "L2 cache ([RKL+] true) misses per kilo instruction for all demand loads (including speculative)", 566 "MetricExpr": "1e3 * L2_RQSTS.DEMAND_DATA_RD_MISS / INST_RETIRED.ANY", 567 "MetricGroup": "CacheHits;Mem", 568 "MetricName": "tma_info_memory_l2mpki_load" 569 }, 570 { 571 "BriefDescription": "Offcore requests (L2 cache miss) per kilo instruction for demand RFOs", 572 "MetricExpr": "1e3 * OFFCORE_REQUESTS.DEMAND_RFO / INST_RETIRED.ANY", 573 "MetricGroup": "CacheMisses;Offcore", 574 "MetricName": "tma_info_memory_l2mpki_rfo" 575 }, 576 { 577 "BriefDescription": "Average per-thread data fill bandwidth to the L3 cache [GB / sec]", 578 "MetricExpr": "64 * LONGEST_LAT_CACHE.MISS / 1e9 / duration_time", 579 "MetricGroup": "Mem;MemoryBW", 580 "MetricName": "tma_info_memory_l3_cache_fill_bw" 581 }, 582 { 583 "BriefDescription": "L3 cache true misses per kilo instruction for retired demand loads", 584 "MetricExpr": "1e3 * MEM_LOAD_UOPS_RETIRED.L3_MISS / INST_RETIRED.ANY", 585 "MetricGroup": "Mem", 586 "MetricName": "tma_info_memory_l3mpki" 587 }, 588 { 589 "BriefDescription": "Average Parallel L2 cache miss data reads", 590 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD / OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD", 591 "MetricGroup": "Memory_BW;Offcore", 592 "MetricName": "tma_info_memory_latency_data_l2_mlp" 593 }, 594 { 595 "BriefDescription": "Average Latency for L2 cache miss demand Loads", 596 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD / OFFCORE_REQUESTS.DEMAND_DATA_RD", 597 "MetricGroup": "Memory_Lat;Offcore", 598 "MetricName": "tma_info_memory_latency_load_l2_miss_latency" 599 }, 600 { 601 "BriefDescription": "Average Parallel L2 cache miss demand Loads", 602 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD / OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_DATA_RD", 603 "MetricGroup": "Memory_BW;Offcore", 604 "MetricName": "tma_info_memory_latency_load_l2_mlp" 605 }, 606 { 607 "BriefDescription": "Actual Average Latency for L1 data-cache miss demand load operations (in core cycles)", 608 "MetricConstraint": "NO_GROUP_EVENTS", 609 "MetricExpr": "L1D_PEND_MISS.PENDING / (MEM_LOAD_UOPS_RETIRED.L1_MISS + MEM_LOAD_UOPS_RETIRED.HIT_LFB)", 610 "MetricGroup": "Mem;MemoryBound;MemoryLat", 611 "MetricName": "tma_info_memory_load_miss_real_latency" 612 }, 613 { 614 "BriefDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss", 615 "MetricConstraint": "NO_GROUP_EVENTS", 616 "MetricExpr": "L1D_PEND_MISS.PENDING / L1D_PEND_MISS.PENDING_CYCLES", 617 "MetricGroup": "Mem;MemoryBW;MemoryBound", 618 "MetricName": "tma_info_memory_mlp", 619 "PublicDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss. Per-Logical Processor)" 620 }, 621 { 622 "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses", 623 "MetricExpr": "(cpu@ITLB_MISSES.WALK_DURATION\\,cmask\\=1@ + cpu@DTLB_LOAD_MISSES.WALK_DURATION\\,cmask\\=1@ + cpu@DTLB_STORE_MISSES.WALK_DURATION\\,cmask\\=1@ + 7 * (DTLB_STORE_MISSES.WALK_COMPLETED + DTLB_LOAD_MISSES.WALK_COMPLETED + ITLB_MISSES.WALK_COMPLETED)) / tma_info_core_core_clks", 624 "MetricGroup": "Mem;MemoryTLB", 625 "MetricName": "tma_info_memory_tlb_page_walks_utilization", 626 "MetricThreshold": "tma_info_memory_tlb_page_walks_utilization > 0.5" 627 }, 628 { 629 "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is execution) per core", 630 "MetricExpr": "UOPS_EXECUTED.THREAD / (cpu@UOPS_EXECUTED.CORE\\,cmask\\=1@ / 2 if #SMT_on else UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC)", 631 "MetricGroup": "Cor;Pipeline;PortsUtil;SMT", 632 "MetricName": "tma_info_pipeline_execute" 633 }, 634 { 635 "BriefDescription": "Average number of Uops retired in cycles where at least one uop has retired.", 636 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / cpu@UOPS_RETIRED.RETIRE_SLOTS\\,cmask\\=1@", 637 "MetricGroup": "Pipeline;Ret", 638 "MetricName": "tma_info_pipeline_retire" 639 }, 640 { 641 "BriefDescription": "Measured Average Core Frequency for unhalted processors [GHz]", 642 "MetricExpr": "tma_info_system_turbo_utilization * TSC / 1e9 / duration_time", 643 "MetricGroup": "Power;Summary", 644 "MetricName": "tma_info_system_core_frequency" 645 }, 646 { 647 "BriefDescription": "Average CPU Utilization (percentage)", 648 "MetricExpr": "tma_info_system_cpus_utilized / #num_cpus_online", 649 "MetricGroup": "HPC;Summary", 650 "MetricName": "tma_info_system_cpu_utilization" 651 }, 652 { 653 "BriefDescription": "Average number of utilized CPUs", 654 "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / TSC", 655 "MetricGroup": "Summary", 656 "MetricName": "tma_info_system_cpus_utilized" 657 }, 658 { 659 "BriefDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]", 660 "MetricExpr": "64 * (UNC_M_CAS_COUNT.RD + UNC_M_CAS_COUNT.WR) / 1e9 / duration_time", 661 "MetricGroup": "HPC;MemOffcore;MemoryBW;SoC;tma_issueBW", 662 "MetricName": "tma_info_system_dram_bw_use", 663 "PublicDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]. Related metrics: tma_fb_full, tma_mem_bandwidth, tma_sq_full" 664 }, 665 { 666 "BriefDescription": "Giga Floating Point Operations Per Second", 667 "MetricExpr": "(FP_ARITH_INST_RETIRED.SCALAR + 2 * FP_ARITH_INST_RETIRED.128B_PACKED_DOUBLE + 4 * FP_ARITH_INST_RETIRED.4_FLOPS + 8 * FP_ARITH_INST_RETIRED.256B_PACKED_SINGLE) / 1e9 / duration_time", 668 "MetricGroup": "Cor;Flops;HPC", 669 "MetricName": "tma_info_system_gflops", 670 "PublicDescription": "Giga Floating Point Operations Per Second. Aggregate across all supported options of: FP precisions, scalar and vector instructions, vector-width" 671 }, 672 { 673 "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]", 674 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.FAR_BRANCH:u", 675 "MetricGroup": "Branches;OS", 676 "MetricName": "tma_info_system_ipfarbranch", 677 "MetricThreshold": "tma_info_system_ipfarbranch < 1e6" 678 }, 679 { 680 "BriefDescription": "Cycles Per Instruction for the Operating System (OS) Kernel mode", 681 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / INST_RETIRED.ANY_P:k", 682 "MetricGroup": "OS", 683 "MetricName": "tma_info_system_kernel_cpi" 684 }, 685 { 686 "BriefDescription": "Fraction of cycles spent in the Operating System (OS) Kernel mode", 687 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / CPU_CLK_UNHALTED.THREAD", 688 "MetricGroup": "OS", 689 "MetricName": "tma_info_system_kernel_utilization", 690 "MetricThreshold": "tma_info_system_kernel_utilization > 0.05" 691 }, 692 { 693 "BriefDescription": "Fraction of cycles where both hardware Logical Processors were active", 694 "MetricExpr": "(1 - CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / (CPU_CLK_UNHALTED.REF_XCLK_ANY / 2) if #SMT_on else 0)", 695 "MetricGroup": "SMT", 696 "MetricName": "tma_info_system_smt_2t_utilization" 697 }, 698 { 699 "BriefDescription": "Socket actual clocks when any core is active on that socket", 700 "MetricExpr": "cbox_0@event\\=0x0@", 701 "MetricGroup": "SoC", 702 "MetricName": "tma_info_system_socket_clks" 703 }, 704 { 705 "BriefDescription": "Average Frequency Utilization relative nominal frequency", 706 "MetricExpr": "tma_info_thread_clks / CPU_CLK_UNHALTED.REF_TSC", 707 "MetricGroup": "Power", 708 "MetricName": "tma_info_system_turbo_utilization" 709 }, 710 { 711 "BriefDescription": "Per-Logical Processor actual clocks when the Logical Processor is active.", 712 "MetricExpr": "CPU_CLK_UNHALTED.THREAD", 713 "MetricGroup": "Pipeline", 714 "MetricName": "tma_info_thread_clks" 715 }, 716 { 717 "BriefDescription": "Cycles Per Instruction (per Logical Processor)", 718 "MetricExpr": "1 / tma_info_thread_ipc", 719 "MetricGroup": "Mem;Pipeline", 720 "MetricName": "tma_info_thread_cpi" 721 }, 722 { 723 "BriefDescription": "The ratio of Executed- by Issued-Uops", 724 "MetricExpr": "UOPS_EXECUTED.THREAD / UOPS_ISSUED.ANY", 725 "MetricGroup": "Cor;Pipeline", 726 "MetricName": "tma_info_thread_execute_per_issue", 727 "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." 728 }, 729 { 730 "BriefDescription": "Instructions Per Cycle (per Logical Processor)", 731 "MetricExpr": "INST_RETIRED.ANY / tma_info_thread_clks", 732 "MetricGroup": "Ret;Summary", 733 "MetricName": "tma_info_thread_ipc" 734 }, 735 { 736 "BriefDescription": "Total issue-pipeline slots (per-Physical Core till ICL; per-Logical Processor ICL onward)", 737 "MetricExpr": "4 * tma_info_core_core_clks", 738 "MetricGroup": "TmaL1;tma_L1_group", 739 "MetricName": "tma_info_thread_slots" 740 }, 741 { 742 "BriefDescription": "Uops Per Instruction", 743 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / INST_RETIRED.ANY", 744 "MetricGroup": "Pipeline;Ret;Retire", 745 "MetricName": "tma_info_thread_uoppi", 746 "MetricThreshold": "tma_info_thread_uoppi > 1.05" 747 }, 748 { 749 "BriefDescription": "Uops per taken branch", 750 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / BR_INST_RETIRED.NEAR_TAKEN", 751 "MetricGroup": "Branches;Fed;FetchBW", 752 "MetricName": "tma_info_thread_uptb", 753 "MetricThreshold": "tma_info_thread_uptb < 6" 754 }, 755 { 756 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Instruction TLB (ITLB) misses", 757 "MetricExpr": "(14 * ITLB_MISSES.STLB_HIT + cpu@ITLB_MISSES.WALK_DURATION\\,cmask\\=1@ + 7 * ITLB_MISSES.WALK_COMPLETED) / tma_info_thread_clks", 758 "MetricGroup": "BigFootprint;BvBC;FetchLat;MemoryTLB;TopdownL3;tma_L3_group;tma_fetch_latency_group", 759 "MetricName": "tma_itlb_misses", 760 "MetricThreshold": "tma_itlb_misses > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 761 "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", 762 "ScaleUnit": "100%" 763 }, 764 { 765 "BriefDescription": "This metric estimates how often the CPU was stalled without loads missing the L1 data cache", 766 "MetricExpr": "max((CYCLE_ACTIVITY.STALLS_MEM_ANY - CYCLE_ACTIVITY.STALLS_L1D_MISS) / tma_info_thread_clks, 0)", 767 "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_issueL1;tma_issueMC;tma_memory_bound_group", 768 "MetricName": "tma_l1_bound", 769 "MetricThreshold": "tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 770 "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", 771 "ScaleUnit": "100%" 772 }, 773 { 774 "BriefDescription": "This metric estimates how often the CPU was stalled due to L2 cache accesses by loads", 775 "MetricExpr": "(CYCLE_ACTIVITY.STALLS_L1D_MISS - CYCLE_ACTIVITY.STALLS_L2_MISS) / tma_info_thread_clks", 776 "MetricGroup": "BvML;CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 777 "MetricName": "tma_l2_bound", 778 "MetricThreshold": "tma_l2_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 779 "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", 780 "ScaleUnit": "100%" 781 }, 782 { 783 "BriefDescription": "This metric estimates how often the CPU was stalled due to loads accesses to L3 cache or contended with a sibling Core", 784 "MetricConstraint": "NO_GROUP_EVENTS_SMT", 785 "MetricExpr": "MEM_LOAD_UOPS_RETIRED.L3_HIT / (MEM_LOAD_UOPS_RETIRED.L3_HIT + 7 * MEM_LOAD_UOPS_RETIRED.L3_MISS) * CYCLE_ACTIVITY.STALLS_L2_MISS / tma_info_thread_clks", 786 "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 787 "MetricName": "tma_l3_bound", 788 "MetricThreshold": "tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 789 "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", 790 "ScaleUnit": "100%" 791 }, 792 { 793 "BriefDescription": "This metric estimates fraction of cycles with demand load accesses that hit the L3 cache under unloaded scenarios (possibly L3 latency limited)", 794 "MetricConstraint": "NO_GROUP_EVENTS", 795 "MetricExpr": "29 * (MEM_LOAD_UOPS_RETIRED.L3_HIT * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.L3_HIT + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_RETIRED.L3_MISS))) / tma_info_thread_clks", 796 "MetricGroup": "BvML;MemoryLat;TopdownL4;tma_L4_group;tma_issueLat;tma_l3_bound_group", 797 "MetricName": "tma_l3_hit_latency", 798 "MetricThreshold": "tma_l3_hit_latency > 0.1 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 799 "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_mem_latency", 800 "ScaleUnit": "100%" 801 }, 802 { 803 "BriefDescription": "This metric represents fraction of cycles CPU was stalled due to Length Changing Prefixes (LCPs)", 804 "MetricExpr": "ILD_STALL.LCP / tma_info_thread_clks", 805 "MetricGroup": "FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueFB", 806 "MetricName": "tma_lcp", 807 "MetricThreshold": "tma_lcp > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 808 "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_frontend_dsb_coverage, tma_info_inst_mix_iptb", 809 "ScaleUnit": "100%" 810 }, 811 { 812 "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)", 813 "MetricExpr": "tma_retiring - tma_heavy_operations", 814 "MetricGroup": "Retire;TmaL2;TopdownL2;tma_L2_group;tma_retiring_group", 815 "MetricName": "tma_light_operations", 816 "MetricThreshold": "tma_light_operations > 0.6", 817 "MetricgroupNoGroup": "TopdownL2", 818 "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", 819 "ScaleUnit": "100%" 820 }, 821 { 822 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Load operations", 823 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 824 "MetricExpr": "(UOPS_DISPATCHED_PORT.PORT_2 + UOPS_DISPATCHED_PORT.PORT_3 + UOPS_DISPATCHED_PORT.PORT_7 - UOPS_DISPATCHED_PORT.PORT_4) / (2 * tma_info_core_core_clks)", 825 "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", 826 "MetricName": "tma_load_op_utilization", 827 "MetricThreshold": "tma_load_op_utilization > 0.6", 828 "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", 829 "ScaleUnit": "100%" 830 }, 831 { 832 "BriefDescription": "This metric represents fraction of cycles the CPU spent handling cache misses due to lock operations", 833 "MetricConstraint": "NO_GROUP_EVENTS", 834 "MetricExpr": "MEM_UOPS_RETIRED.LOCK_LOADS / MEM_UOPS_RETIRED.ALL_STORES * min(CPU_CLK_UNHALTED.THREAD, OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_RFO) / tma_info_thread_clks", 835 "MetricGroup": "Offcore;TopdownL4;tma_L4_group;tma_issueRFO;tma_l1_bound_group", 836 "MetricName": "tma_lock_latency", 837 "MetricThreshold": "tma_lock_latency > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 838 "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", 839 "ScaleUnit": "100%" 840 }, 841 { 842 "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Machine Clears", 843 "MetricConstraint": "NO_GROUP_EVENTS", 844 "MetricExpr": "tma_bad_speculation - tma_branch_mispredicts", 845 "MetricGroup": "BadSpec;BvMS;MachineClears;TmaL2;TopdownL2;tma_L2_group;tma_bad_speculation_group;tma_issueMC;tma_issueSyncxn", 846 "MetricName": "tma_machine_clears", 847 "MetricThreshold": "tma_machine_clears > 0.1 & tma_bad_speculation > 0.15", 848 "MetricgroupNoGroup": "TopdownL2", 849 "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", 850 "ScaleUnit": "100%" 851 }, 852 { 853 "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)", 854 "MetricExpr": "min(CPU_CLK_UNHALTED.THREAD, cpu@OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD\\,cmask\\=4@) / tma_info_thread_clks", 855 "MetricGroup": "BvMS;MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_dram_bound_group;tma_issueBW", 856 "MetricName": "tma_mem_bandwidth", 857 "MetricThreshold": "tma_mem_bandwidth > 0.2 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 858 "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_system_dram_bw_use, tma_sq_full", 859 "ScaleUnit": "100%" 860 }, 861 { 862 "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)", 863 "MetricExpr": "min(CPU_CLK_UNHALTED.THREAD, OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD) / tma_info_thread_clks - tma_mem_bandwidth", 864 "MetricGroup": "BvML;MemoryLat;Offcore;TopdownL4;tma_L4_group;tma_dram_bound_group;tma_issueLat", 865 "MetricName": "tma_mem_latency", 866 "MetricThreshold": "tma_mem_latency > 0.1 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 867 "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_l3_hit_latency", 868 "ScaleUnit": "100%" 869 }, 870 { 871 "BriefDescription": "This metric represents fraction of slots the Memory subsystem within the Backend was a bottleneck", 872 "MetricConstraint": "NO_GROUP_EVENTS", 873 "MetricExpr": "(CYCLE_ACTIVITY.STALLS_MEM_ANY + RESOURCE_STALLS.SB) / (CYCLE_ACTIVITY.STALLS_TOTAL + UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC - (UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC if tma_info_thread_ipc > 1.8 else UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC) - (RS_EVENTS.EMPTY_CYCLES if tma_fetch_latency > 0.1 else 0) + RESOURCE_STALLS.SB) * tma_backend_bound", 874 "MetricGroup": "Backend;TmaL2;TopdownL2;tma_L2_group;tma_backend_bound_group", 875 "MetricName": "tma_memory_bound", 876 "MetricThreshold": "tma_memory_bound > 0.2 & tma_backend_bound > 0.2", 877 "MetricgroupNoGroup": "TopdownL2", 878 "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).", 879 "ScaleUnit": "100%" 880 }, 881 { 882 "BriefDescription": "This metric represents fraction of slots the CPU was retiring uops fetched by the Microcode Sequencer (MS) unit", 883 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / UOPS_ISSUED.ANY * IDQ.MS_UOPS / tma_info_thread_slots", 884 "MetricGroup": "MicroSeq;TopdownL3;tma_L3_group;tma_heavy_operations_group;tma_issueMC;tma_issueMS", 885 "MetricName": "tma_microcode_sequencer", 886 "MetricThreshold": "tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1", 887 "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_l1_bound, tma_machine_clears, tma_ms_switches", 888 "ScaleUnit": "100%" 889 }, 890 { 891 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Branch Resteers as a result of Branch Misprediction at execution stage", 892 "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES * tma_branch_resteers / (BR_MISP_RETIRED.ALL_BRANCHES + MACHINE_CLEARS.COUNT + BACLEARS.ANY)", 893 "MetricGroup": "BadSpec;BrMispredicts;BvMP;TopdownL4;tma_L4_group;tma_branch_resteers_group;tma_issueBM", 894 "MetricName": "tma_mispredicts_resteers", 895 "MetricThreshold": "tma_mispredicts_resteers > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))", 896 "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", 897 "ScaleUnit": "100%" 898 }, 899 { 900 "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to the MITE pipeline (the legacy decode pipeline)", 901 "MetricExpr": "(IDQ.ALL_MITE_CYCLES_ANY_UOPS - IDQ.ALL_MITE_CYCLES_4_UOPS) / tma_info_core_core_clks / 2", 902 "MetricGroup": "DSBmiss;FetchBW;TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 903 "MetricName": "tma_mite", 904 "MetricThreshold": "tma_mite > 0.1 & tma_fetch_bandwidth > 0.2", 905 "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", 906 "ScaleUnit": "100%" 907 }, 908 { 909 "BriefDescription": "This metric estimates the fraction of cycles when the CPU was stalled due to switches of uop delivery to the Microcode Sequencer (MS)", 910 "MetricExpr": "2 * IDQ.MS_SWITCHES / tma_info_thread_clks", 911 "MetricGroup": "FetchLat;MicroSeq;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueMC;tma_issueMS;tma_issueMV;tma_issueSO", 912 "MetricName": "tma_ms_switches", 913 "MetricThreshold": "tma_ms_switches > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 914 "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_l1_bound, tma_machine_clears, tma_microcode_sequencer, tma_mixing_vectors, tma_serializing_operation", 915 "ScaleUnit": "100%" 916 }, 917 { 918 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 0 ([SNB+] ALU; [HSW+] ALU and 2nd branch)", 919 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_0 / tma_info_core_core_clks", 920 "MetricGroup": "Compute;TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 921 "MetricName": "tma_port_0", 922 "MetricThreshold": "tma_port_0 > 0.6", 923 "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_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 924 "ScaleUnit": "100%" 925 }, 926 { 927 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 1 (ALU)", 928 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_1 / tma_info_core_core_clks", 929 "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 930 "MetricName": "tma_port_1", 931 "MetricThreshold": "tma_port_1 > 0.6", 932 "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_port_0, tma_port_5, tma_port_6, tma_ports_utilized_2", 933 "ScaleUnit": "100%" 934 }, 935 { 936 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 2 ([SNB+]Loads and Store-address; [ICL+] Loads)", 937 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_2 / tma_info_core_core_clks", 938 "MetricGroup": "TopdownL6;tma_L6_group;tma_load_op_utilization_group", 939 "MetricName": "tma_port_2", 940 "MetricThreshold": "tma_port_2 > 0.6", 941 "ScaleUnit": "100%" 942 }, 943 { 944 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 3 ([SNB+]Loads and Store-address; [ICL+] Loads)", 945 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_3 / tma_info_core_core_clks", 946 "MetricGroup": "TopdownL6;tma_L6_group;tma_load_op_utilization_group", 947 "MetricName": "tma_port_3", 948 "MetricThreshold": "tma_port_3 > 0.6", 949 "ScaleUnit": "100%" 950 }, 951 { 952 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 4 (Store-data)", 953 "MetricExpr": "tma_store_op_utilization", 954 "MetricGroup": "TopdownL6;tma_L6_group;tma_issueSpSt;tma_store_op_utilization_group", 955 "MetricName": "tma_port_4", 956 "MetricThreshold": "tma_port_4 > 0.6", 957 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 4 (Store-data). Related metrics: tma_split_stores", 958 "ScaleUnit": "100%" 959 }, 960 { 961 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 5 ([SNB+] Branches and ALU; [HSW+] ALU)", 962 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_5 / tma_info_core_core_clks", 963 "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 964 "MetricName": "tma_port_5", 965 "MetricThreshold": "tma_port_5 > 0.6", 966 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 5 ([SNB+] Branches and ALU; [HSW+] ALU). Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_6, tma_ports_utilized_2", 967 "ScaleUnit": "100%" 968 }, 969 { 970 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 6 ([HSW+] Primary Branch and simple ALU)", 971 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_6 / tma_info_core_core_clks", 972 "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 973 "MetricName": "tma_port_6", 974 "MetricThreshold": "tma_port_6 > 0.6", 975 "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_port_0, tma_port_1, tma_port_5, tma_ports_utilized_2", 976 "ScaleUnit": "100%" 977 }, 978 { 979 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 7 ([HSW+]simple Store-address)", 980 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_7 / tma_info_core_core_clks", 981 "MetricGroup": "TopdownL6;tma_L6_group;tma_store_op_utilization_group", 982 "MetricName": "tma_port_7", 983 "MetricThreshold": "tma_port_7 > 0.6", 984 "ScaleUnit": "100%" 985 }, 986 { 987 "BriefDescription": "This metric estimates fraction of cycles the CPU performance was potentially limited due to Core computation issues (non divider-related)", 988 "MetricConstraint": "NO_GROUP_EVENTS", 989 "MetricExpr": "(CYCLE_ACTIVITY.STALLS_TOTAL + UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC - (UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC if tma_info_thread_ipc > 1.8 else UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC) - (RS_EVENTS.EMPTY_CYCLES if tma_fetch_latency > 0.1 else 0) + RESOURCE_STALLS.SB - RESOURCE_STALLS.SB - CYCLE_ACTIVITY.STALLS_MEM_ANY) / tma_info_thread_clks", 990 "MetricGroup": "PortsUtil;TopdownL3;tma_L3_group;tma_core_bound_group", 991 "MetricName": "tma_ports_utilization", 992 "MetricThreshold": "tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", 993 "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.", 994 "ScaleUnit": "100%" 995 }, 996 { 997 "BriefDescription": "This metric represents fraction of cycles CPU executed no uops on any execution port (Logical Processor cycles since ICL, Physical Core cycles otherwise)", 998 "MetricExpr": "(cpu@UOPS_EXECUTED.CORE\\,inv\\,cmask\\=1@ / 2 if #SMT_on else (CYCLE_ACTIVITY.STALLS_TOTAL - (RS_EVENTS.EMPTY_CYCLES if tma_fetch_latency > 0.1 else 0)) / tma_info_core_core_clks)", 999 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_ports_utilization_group", 1000 "MetricName": "tma_ports_utilized_0", 1001 "MetricThreshold": "tma_ports_utilized_0 > 0.2 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1002 "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.", 1003 "ScaleUnit": "100%" 1004 }, 1005 { 1006 "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)", 1007 "MetricExpr": "((cpu@UOPS_EXECUTED.CORE\\,cmask\\=1@ - cpu@UOPS_EXECUTED.CORE\\,cmask\\=2@) / 2 if #SMT_on else (UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC - UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC) / tma_info_core_core_clks)", 1008 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_issueL1;tma_ports_utilization_group", 1009 "MetricName": "tma_ports_utilized_1", 1010 "MetricThreshold": "tma_ports_utilized_1 > 0.2 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1011 "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", 1012 "ScaleUnit": "100%" 1013 }, 1014 { 1015 "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)", 1016 "MetricExpr": "((cpu@UOPS_EXECUTED.CORE\\,cmask\\=2@ - cpu@UOPS_EXECUTED.CORE\\,cmask\\=3@) / 2 if #SMT_on else (UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC - UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC) / tma_info_core_core_clks)", 1017 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_issue2P;tma_ports_utilization_group", 1018 "MetricName": "tma_ports_utilized_2", 1019 "MetricThreshold": "tma_ports_utilized_2 > 0.15 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1020 "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_port_0, tma_port_1, tma_port_5, tma_port_6", 1021 "ScaleUnit": "100%" 1022 }, 1023 { 1024 "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)", 1025 "MetricExpr": "(cpu@UOPS_EXECUTED.CORE\\,cmask\\=3@ / 2 if #SMT_on else UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC) / tma_info_core_core_clks", 1026 "MetricGroup": "BvCB;PortsUtil;TopdownL4;tma_L4_group;tma_ports_utilization_group", 1027 "MetricName": "tma_ports_utilized_3m", 1028 "MetricThreshold": "tma_ports_utilized_3m > 0.4 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 1029 "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", 1030 "ScaleUnit": "100%" 1031 }, 1032 { 1033 "BriefDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired", 1034 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / tma_info_thread_slots", 1035 "MetricGroup": "BvUW;TmaL1;TopdownL1;tma_L1_group", 1036 "MetricName": "tma_retiring", 1037 "MetricThreshold": "tma_retiring > 0.7 | tma_heavy_operations > 0.1", 1038 "MetricgroupNoGroup": "TopdownL1", 1039 "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", 1040 "ScaleUnit": "100%" 1041 }, 1042 { 1043 "BriefDescription": "This metric estimates fraction of cycles handling memory load split accesses - load that cross 64-byte cache line boundary", 1044 "MetricConstraint": "NO_GROUP_EVENTS", 1045 "MetricExpr": "tma_info_memory_load_miss_real_latency * LD_BLOCKS.NO_SR / tma_info_thread_clks", 1046 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 1047 "MetricName": "tma_split_loads", 1048 "MetricThreshold": "tma_split_loads > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1049 "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", 1050 "ScaleUnit": "100%" 1051 }, 1052 { 1053 "BriefDescription": "This metric represents rate of split store accesses", 1054 "MetricExpr": "2 * MEM_UOPS_RETIRED.SPLIT_STORES / tma_info_core_core_clks", 1055 "MetricGroup": "TopdownL4;tma_L4_group;tma_issueSpSt;tma_store_bound_group", 1056 "MetricName": "tma_split_stores", 1057 "MetricThreshold": "tma_split_stores > 0.2 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1058 "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", 1059 "ScaleUnit": "100%" 1060 }, 1061 { 1062 "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)", 1063 "MetricExpr": "(OFFCORE_REQUESTS_BUFFER.SQ_FULL / 2 if #SMT_on else OFFCORE_REQUESTS_BUFFER.SQ_FULL) / tma_info_core_core_clks", 1064 "MetricGroup": "BvMS;MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_issueBW;tma_l3_bound_group", 1065 "MetricName": "tma_sq_full", 1066 "MetricThreshold": "tma_sq_full > 0.3 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1067 "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_system_dram_bw_use, tma_mem_bandwidth", 1068 "ScaleUnit": "100%" 1069 }, 1070 { 1071 "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", 1072 "MetricExpr": "RESOURCE_STALLS.SB / tma_info_thread_clks", 1073 "MetricGroup": "MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 1074 "MetricName": "tma_store_bound", 1075 "MetricThreshold": "tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 1076 "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", 1077 "ScaleUnit": "100%" 1078 }, 1079 { 1080 "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", 1081 "MetricExpr": "13 * LD_BLOCKS.STORE_FORWARD / tma_info_thread_clks", 1082 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 1083 "MetricName": "tma_store_fwd_blk", 1084 "MetricThreshold": "tma_store_fwd_blk > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1085 "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.", 1086 "ScaleUnit": "100%" 1087 }, 1088 { 1089 "BriefDescription": "This metric estimates fraction of cycles the CPU spent handling L1D store misses", 1090 "MetricConstraint": "NO_GROUP_EVENTS", 1091 "MetricExpr": "(L2_RQSTS.RFO_HIT * 9 * (1 - MEM_UOPS_RETIRED.LOCK_LOADS / MEM_UOPS_RETIRED.ALL_STORES) + (1 - MEM_UOPS_RETIRED.LOCK_LOADS / MEM_UOPS_RETIRED.ALL_STORES) * min(CPU_CLK_UNHALTED.THREAD, OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_RFO)) / tma_info_thread_clks", 1092 "MetricGroup": "BvML;MemoryLat;Offcore;TopdownL4;tma_L4_group;tma_issueRFO;tma_issueSL;tma_store_bound_group", 1093 "MetricName": "tma_store_latency", 1094 "MetricThreshold": "tma_store_latency > 0.1 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1095 "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", 1096 "ScaleUnit": "100%" 1097 }, 1098 { 1099 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Store operations", 1100 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_4 / tma_info_core_core_clks", 1101 "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", 1102 "MetricName": "tma_store_op_utilization", 1103 "MetricThreshold": "tma_store_op_utilization > 0.6", 1104 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Store operations. Sample with: UOPS_DISPATCHED.PORT_7_8", 1105 "ScaleUnit": "100%" 1106 }, 1107 { 1108 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to new branch address clears", 1109 "MetricExpr": "tma_branch_resteers - tma_mispredicts_resteers - tma_clears_resteers", 1110 "MetricGroup": "BigFootprint;BvBC;FetchLat;TopdownL4;tma_L4_group;tma_branch_resteers_group", 1111 "MetricName": "tma_unknown_branches", 1112 "MetricThreshold": "tma_unknown_branches > 0.05 & (tma_branch_resteers > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15))", 1113 "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", 1114 "ScaleUnit": "100%" 1115 }, 1116 { 1117 "BriefDescription": "This metric serves as an approximation of legacy x87 usage", 1118 "MetricExpr": "INST_RETIRED.X87 * tma_info_thread_uoppi / UOPS_RETIRED.RETIRE_SLOTS", 1119 "MetricGroup": "Compute;TopdownL4;tma_L4_group;tma_fp_arith_group", 1120 "MetricName": "tma_x87_use", 1121 "MetricThreshold": "tma_x87_use > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", 1122 "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.", 1123 "ScaleUnit": "100%" 1124 } 1125] 1126