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) / (3 * tma_info_core_core_clks)", 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: OTHER_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.", 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: BR_MISP_RETIRED.ALL_BRANCHES. 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 estimates fraction of cycles while the memory subsystem was handling synchronizations due to contested accesses", 152 "MetricConstraint": "NO_GROUP_EVENTS", 153 "MetricExpr": "(60 * (MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HITM * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.LLC_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_LLC_MISS_RETIRED.LOCAL_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_HITM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_FWD))) + 43 * (MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_MISS * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.LLC_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_LLC_MISS_RETIRED.LOCAL_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_HITM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_FWD)))) / tma_info_thread_clks", 154 "MetricGroup": "BvMS;DataSharing;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_l3_bound_group", 155 "MetricName": "tma_contested_accesses", 156 "MetricThreshold": "tma_contested_accesses > 0.05 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 157 "PublicDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to contested accesses. Contested accesses occur when data written by one Logical Processor are read by another Logical Processor on a different Physical Core. Examples of contested accesses include synchronizations such as locks; true data sharing such as modified locked variables; and false sharing. Sample with: MEM_LOAD_L3_HIT_RETIRED.XSNP_HITM_PS;MEM_LOAD_L3_HIT_RETIRED.XSNP_MISS_PS. Related metrics: tma_data_sharing, tma_false_sharing, tma_machine_clears, tma_remote_cache", 158 "ScaleUnit": "100%" 159 }, 160 { 161 "BriefDescription": "This metric represents fraction of slots where Core non-memory issues were of a bottleneck", 162 "MetricConstraint": "NO_GROUP_EVENTS", 163 "MetricExpr": "tma_backend_bound - tma_memory_bound", 164 "MetricGroup": "Backend;Compute;TmaL2;TopdownL2;tma_L2_group;tma_backend_bound_group", 165 "MetricName": "tma_core_bound", 166 "MetricThreshold": "tma_core_bound > 0.1 & tma_backend_bound > 0.2", 167 "MetricgroupNoGroup": "TopdownL2", 168 "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).", 169 "ScaleUnit": "100%" 170 }, 171 { 172 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to data-sharing accesses", 173 "MetricConstraint": "NO_GROUP_EVENTS", 174 "MetricExpr": "43 * (MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HIT * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.LLC_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_LLC_MISS_RETIRED.LOCAL_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_HITM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_FWD))) / tma_info_thread_clks", 175 "MetricGroup": "BvMS;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_l3_bound_group", 176 "MetricName": "tma_data_sharing", 177 "MetricThreshold": "tma_data_sharing > 0.05 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 178 "PublicDescription": "This metric estimates fraction of cycles while the memory subsystem was handling synchronizations due to data-sharing accesses. Data shared by multiple Logical Processors (even just read shared) may cause increased access latency due to cache coherency. Excessive data sharing can drastically harm multithreaded performance. Sample with: MEM_LOAD_L3_HIT_RETIRED.XSNP_HIT_PS. Related metrics: tma_contested_accesses, tma_false_sharing, tma_machine_clears, tma_remote_cache", 179 "ScaleUnit": "100%" 180 }, 181 { 182 "BriefDescription": "This metric represents fraction of cycles where the Divider unit was active", 183 "MetricExpr": "ARITH.FPU_DIV_ACTIVE / tma_info_core_core_clks", 184 "MetricGroup": "BvCB;TopdownL3;tma_L3_group;tma_core_bound_group", 185 "MetricName": "tma_divider", 186 "MetricThreshold": "tma_divider > 0.2 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", 187 "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_UOPS", 188 "ScaleUnit": "100%" 189 }, 190 { 191 "BriefDescription": "This metric estimates how often the CPU was stalled on accesses to external memory (DRAM) by loads", 192 "MetricConstraint": "NO_GROUP_EVENTS_SMT", 193 "MetricExpr": "(1 - MEM_LOAD_UOPS_RETIRED.LLC_HIT / (MEM_LOAD_UOPS_RETIRED.LLC_HIT + 7 * MEM_LOAD_UOPS_RETIRED.LLC_MISS)) * CYCLE_ACTIVITY.STALLS_L2_PENDING / tma_info_thread_clks", 194 "MetricGroup": "MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 195 "MetricName": "tma_dram_bound", 196 "MetricThreshold": "tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 197 "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_UOPS_RETIRED.L3_MISS_PS", 198 "ScaleUnit": "100%" 199 }, 200 { 201 "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to DSB (decoded uop cache) fetch pipeline", 202 "MetricExpr": "(IDQ.ALL_DSB_CYCLES_ANY_UOPS - IDQ.ALL_DSB_CYCLES_4_UOPS) / tma_info_core_core_clks / 2", 203 "MetricGroup": "DSB;FetchBW;TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 204 "MetricName": "tma_dsb", 205 "MetricThreshold": "tma_dsb > 0.15 & tma_fetch_bandwidth > 0.2", 206 "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.", 207 "ScaleUnit": "100%" 208 }, 209 { 210 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to switches from DSB to MITE pipelines", 211 "MetricExpr": "DSB2MITE_SWITCHES.PENALTY_CYCLES / tma_info_thread_clks", 212 "MetricGroup": "DSBmiss;FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueFB", 213 "MetricName": "tma_dsb_switches", 214 "MetricThreshold": "tma_dsb_switches > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 215 "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. Related metrics: tma_fetch_bandwidth, tma_info_frontend_dsb_coverage, tma_info_inst_mix_iptb, tma_lcp", 216 "ScaleUnit": "100%" 217 }, 218 { 219 "BriefDescription": "This metric roughly estimates the fraction of cycles where the Data TLB (DTLB) was missed by load accesses", 220 "MetricExpr": "(7 * DTLB_LOAD_MISSES.STLB_HIT + DTLB_LOAD_MISSES.WALK_DURATION) / tma_info_thread_clks", 221 "MetricGroup": "BvMT;MemoryTLB;TopdownL4;tma_L4_group;tma_issueTLB;tma_l1_bound_group", 222 "MetricName": "tma_dtlb_load", 223 "MetricThreshold": "tma_dtlb_load > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 224 "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_UOPS_RETIRED.STLB_MISS_LOADS_PS. Related metrics: tma_dtlb_store", 225 "ScaleUnit": "100%" 226 }, 227 { 228 "BriefDescription": "This metric roughly estimates the fraction of cycles spent handling first-level data TLB store misses", 229 "MetricExpr": "(7 * DTLB_STORE_MISSES.STLB_HIT + DTLB_STORE_MISSES.WALK_DURATION) / tma_info_thread_clks", 230 "MetricGroup": "BvMT;MemoryTLB;TopdownL4;tma_L4_group;tma_issueTLB;tma_store_bound_group", 231 "MetricName": "tma_dtlb_store", 232 "MetricThreshold": "tma_dtlb_store > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 233 "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_UOPS_RETIRED.STLB_MISS_STORES_PS. Related metrics: tma_dtlb_load", 234 "ScaleUnit": "100%" 235 }, 236 { 237 "BriefDescription": "This metric roughly estimates how often CPU was handling synchronizations due to False Sharing", 238 "MetricExpr": "(200 * OFFCORE_RESPONSE.DEMAND_RFO.LLC_MISS.REMOTE_HITM + 60 * OFFCORE_RESPONSE.DEMAND_RFO.LLC_HIT.HITM_OTHER_CORE) / tma_info_thread_clks", 239 "MetricGroup": "BvMS;DataSharing;Offcore;Snoop;TopdownL4;tma_L4_group;tma_issueSyncxn;tma_store_bound_group", 240 "MetricName": "tma_false_sharing", 241 "MetricThreshold": "tma_false_sharing > 0.05 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 242 "PublicDescription": "This metric roughly estimates how often CPU was handling synchronizations due to False Sharing. False Sharing is a multithreading hiccup; where multiple Logical Processors contend on different data-elements mapped into the same cache line. Sample with: MEM_LOAD_L3_HIT_RETIRED.XSNP_HITM_PS;OFFCORE_RESPONSE.DEMAND_RFO.L3_HIT.SNOOP_HITM. Related metrics: tma_contested_accesses, tma_data_sharing, tma_machine_clears, tma_remote_cache", 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. 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 * min(CPU_CLK_UNHALTED.THREAD, 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: RS_EVENTS.EMPTY_END", 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_COMP_OPS_EXE.SSE_SCALAR_SINGLE + FP_COMP_OPS_EXE.SSE_SCALAR_DOUBLE) / UOPS_EXECUTED.THREAD", 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_COMP_OPS_EXE.SSE_PACKED_DOUBLE + FP_COMP_OPS_EXE.SSE_PACKED_SINGLE + SIMD_FP_256.PACKED_SINGLE + SIMD_FP_256.PACKED_DOUBLE) / UOPS_EXECUTED.THREAD", 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_COMP_OPS_EXE.SSE_SCALAR_DOUBLE + FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE) / UOPS_EXECUTED.THREAD", 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": "(SIMD_FP_256.PACKED_DOUBLE + SIMD_FP_256.PACKED_SINGLE) / UOPS_EXECUTED.THREAD", 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.", 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.IFETCH_STALL / tma_info_thread_clks - tma_itlb_misses", 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 "ScaleUnit": "100%" 347 }, 348 { 349 "BriefDescription": "Instructions per retired mispredicts for indirect CALL or JMP branches (lower number means higher occurrence rate).", 350 "MetricExpr": "tma_info_inst_mix_instructions / (UOPS_RETIRED.RETIRE_SLOTS / UOPS_ISSUED.ANY * BR_MISP_EXEC.INDIRECT)", 351 "MetricGroup": "Bad;BrMispredicts", 352 "MetricName": "tma_info_bad_spec_ipmisp_indirect", 353 "MetricThreshold": "tma_info_bad_spec_ipmisp_indirect < 1e3" 354 }, 355 { 356 "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction (JEClear) (lower number means higher occurrence rate)", 357 "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES", 358 "MetricGroup": "Bad;BadSpec;BrMispredicts", 359 "MetricName": "tma_info_bad_spec_ipmispredict", 360 "MetricThreshold": "tma_info_bad_spec_ipmispredict < 200" 361 }, 362 { 363 "BriefDescription": "Core actual clocks when any Logical Processor is active on the Physical Core", 364 "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))", 365 "MetricGroup": "SMT", 366 "MetricName": "tma_info_core_core_clks" 367 }, 368 { 369 "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)", 370 "MetricExpr": "INST_RETIRED.ANY / tma_info_core_core_clks", 371 "MetricGroup": "Ret;SMT;TmaL1;tma_L1_group", 372 "MetricName": "tma_info_core_coreipc" 373 }, 374 { 375 "BriefDescription": "Floating Point Operations Per Cycle", 376 "MetricExpr": "(FP_COMP_OPS_EXE.SSE_SCALAR_SINGLE + FP_COMP_OPS_EXE.SSE_SCALAR_DOUBLE + 2 * FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE + 4 * (FP_COMP_OPS_EXE.SSE_PACKED_SINGLE + SIMD_FP_256.PACKED_DOUBLE) + 8 * SIMD_FP_256.PACKED_SINGLE) / tma_info_core_core_clks", 377 "MetricGroup": "Flops;Ret", 378 "MetricName": "tma_info_core_flopc" 379 }, 380 { 381 "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is execution) per thread (logical-processor)", 382 "MetricExpr": "UOPS_EXECUTED.THREAD / cpu@UOPS_EXECUTED.THREAD\\,cmask\\=1@", 383 "MetricGroup": "Backend;Cor;Pipeline;PortsUtil", 384 "MetricName": "tma_info_core_ilp" 385 }, 386 { 387 "BriefDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache)", 388 "MetricExpr": "IDQ.DSB_UOPS / (IDQ.DSB_UOPS + LSD.UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS)", 389 "MetricGroup": "DSB;Fed;FetchBW;tma_issueFB", 390 "MetricName": "tma_info_frontend_dsb_coverage", 391 "MetricThreshold": "tma_info_frontend_dsb_coverage < 0.7 & tma_info_thread_ipc / 4 > 0.35", 392 "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" 393 }, 394 { 395 "BriefDescription": "Instructions per speculative Unknown Branch Misprediction (BAClear) (lower number means higher occurrence rate)", 396 "MetricExpr": "tma_info_inst_mix_instructions / BACLEARS.ANY", 397 "MetricGroup": "Fed", 398 "MetricName": "tma_info_frontend_ipunknown_branch" 399 }, 400 { 401 "BriefDescription": "Branch instructions per taken branch.", 402 "MetricExpr": "BR_INST_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.NEAR_TAKEN", 403 "MetricGroup": "Branches;Fed;PGO", 404 "MetricName": "tma_info_inst_mix_bptkbranch" 405 }, 406 { 407 "BriefDescription": "Total number of retired Instructions", 408 "MetricExpr": "INST_RETIRED.ANY", 409 "MetricGroup": "Summary;TmaL1;tma_L1_group", 410 "MetricName": "tma_info_inst_mix_instructions", 411 "PublicDescription": "Total number of retired Instructions. Sample with: INST_RETIRED.PREC_DIST" 412 }, 413 { 414 "BriefDescription": "Instructions per FP Arithmetic instruction (lower number means higher occurrence rate)", 415 "MetricExpr": "1 / (tma_fp_scalar + tma_fp_vector)", 416 "MetricGroup": "Flops;InsType", 417 "MetricName": "tma_info_inst_mix_iparith", 418 "MetricThreshold": "tma_info_inst_mix_iparith < 10", 419 "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." 420 }, 421 { 422 "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)", 423 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES", 424 "MetricGroup": "Branches;Fed;InsType", 425 "MetricName": "tma_info_inst_mix_ipbranch", 426 "MetricThreshold": "tma_info_inst_mix_ipbranch < 8" 427 }, 428 { 429 "BriefDescription": "Instructions per (near) call (lower number means higher occurrence rate)", 430 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_CALL", 431 "MetricGroup": "Branches;Fed;PGO", 432 "MetricName": "tma_info_inst_mix_ipcall", 433 "MetricThreshold": "tma_info_inst_mix_ipcall < 200" 434 }, 435 { 436 "BriefDescription": "Instructions per Load (lower number means higher occurrence rate)", 437 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_LOADS", 438 "MetricGroup": "InsType", 439 "MetricName": "tma_info_inst_mix_ipload", 440 "MetricThreshold": "tma_info_inst_mix_ipload < 3" 441 }, 442 { 443 "BriefDescription": "Instructions per Store (lower number means higher occurrence rate)", 444 "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_STORES", 445 "MetricGroup": "InsType", 446 "MetricName": "tma_info_inst_mix_ipstore", 447 "MetricThreshold": "tma_info_inst_mix_ipstore < 8" 448 }, 449 { 450 "BriefDescription": "Instructions per taken branch", 451 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_TAKEN", 452 "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO;tma_issueFB", 453 "MetricName": "tma_info_inst_mix_iptb", 454 "MetricThreshold": "tma_info_inst_mix_iptb < 9", 455 "PublicDescription": "Instructions per taken branch. Related metrics: tma_dsb_switches, tma_fetch_bandwidth, tma_info_frontend_dsb_coverage, tma_lcp" 456 }, 457 { 458 "BriefDescription": "Average per-core data fill bandwidth to the L1 data cache [GB / sec]", 459 "MetricExpr": "tma_info_memory_l1d_cache_fill_bw", 460 "MetricGroup": "Mem;MemoryBW", 461 "MetricName": "tma_info_memory_core_l1d_cache_fill_bw_2t" 462 }, 463 { 464 "BriefDescription": "Average per-core data fill bandwidth to the L2 cache [GB / sec]", 465 "MetricExpr": "tma_info_memory_l2_cache_fill_bw", 466 "MetricGroup": "Mem;MemoryBW", 467 "MetricName": "tma_info_memory_core_l2_cache_fill_bw_2t" 468 }, 469 { 470 "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]", 471 "MetricExpr": "tma_info_memory_l3_cache_fill_bw", 472 "MetricGroup": "Mem;MemoryBW", 473 "MetricName": "tma_info_memory_core_l3_cache_fill_bw_2t" 474 }, 475 { 476 "BriefDescription": "Average per-thread data fill bandwidth to the L1 data cache [GB / sec]", 477 "MetricExpr": "64 * L1D.REPLACEMENT / 1e9 / duration_time", 478 "MetricGroup": "Mem;MemoryBW", 479 "MetricName": "tma_info_memory_l1d_cache_fill_bw" 480 }, 481 { 482 "BriefDescription": "L1 cache true misses per kilo instruction for retired demand loads", 483 "MetricExpr": "1e3 * MEM_LOAD_UOPS_RETIRED.L1_MISS / INST_RETIRED.ANY", 484 "MetricGroup": "CacheHits;Mem", 485 "MetricName": "tma_info_memory_l1mpki" 486 }, 487 { 488 "BriefDescription": "Average per-thread data fill bandwidth to the L2 cache [GB / sec]", 489 "MetricExpr": "64 * L2_LINES_IN.ALL / 1e9 / duration_time", 490 "MetricGroup": "Mem;MemoryBW", 491 "MetricName": "tma_info_memory_l2_cache_fill_bw" 492 }, 493 { 494 "BriefDescription": "L2 cache true misses per kilo instruction for retired demand loads", 495 "MetricExpr": "1e3 * MEM_LOAD_UOPS_RETIRED.L2_MISS / INST_RETIRED.ANY", 496 "MetricGroup": "Backend;CacheHits;Mem", 497 "MetricName": "tma_info_memory_l2mpki" 498 }, 499 { 500 "BriefDescription": "Offcore requests (L2 cache miss) per kilo instruction for demand RFOs", 501 "MetricExpr": "1e3 * OFFCORE_REQUESTS.DEMAND_RFO / INST_RETIRED.ANY", 502 "MetricGroup": "CacheMisses;Offcore", 503 "MetricName": "tma_info_memory_l2mpki_rfo" 504 }, 505 { 506 "BriefDescription": "Average per-thread data fill bandwidth to the L3 cache [GB / sec]", 507 "MetricExpr": "64 * LONGEST_LAT_CACHE.MISS / 1e9 / duration_time", 508 "MetricGroup": "Mem;MemoryBW", 509 "MetricName": "tma_info_memory_l3_cache_fill_bw" 510 }, 511 { 512 "BriefDescription": "L3 cache true misses per kilo instruction for retired demand loads", 513 "MetricExpr": "1e3 * MEM_LOAD_UOPS_RETIRED.LLC_MISS / INST_RETIRED.ANY", 514 "MetricGroup": "Mem", 515 "MetricName": "tma_info_memory_l3mpki" 516 }, 517 { 518 "BriefDescription": "Average Parallel L2 cache miss data reads", 519 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD / OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD", 520 "MetricGroup": "Memory_BW;Offcore", 521 "MetricName": "tma_info_memory_latency_data_l2_mlp" 522 }, 523 { 524 "BriefDescription": "Average Latency for L2 cache miss demand Loads", 525 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD / OFFCORE_REQUESTS.DEMAND_DATA_RD", 526 "MetricGroup": "Memory_Lat;Offcore", 527 "MetricName": "tma_info_memory_latency_load_l2_miss_latency" 528 }, 529 { 530 "BriefDescription": "Average Parallel L2 cache miss demand Loads", 531 "MetricExpr": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD / OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_DATA_RD", 532 "MetricGroup": "Memory_BW;Offcore", 533 "MetricName": "tma_info_memory_latency_load_l2_mlp" 534 }, 535 { 536 "BriefDescription": "Actual Average Latency for L1 data-cache miss demand load operations (in core cycles)", 537 "MetricConstraint": "NO_GROUP_EVENTS", 538 "MetricExpr": "L1D_PEND_MISS.PENDING / (MEM_LOAD_UOPS_RETIRED.L1_MISS + MEM_LOAD_UOPS_RETIRED.HIT_LFB)", 539 "MetricGroup": "Mem;MemoryBound;MemoryLat", 540 "MetricName": "tma_info_memory_load_miss_real_latency" 541 }, 542 { 543 "BriefDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss", 544 "MetricConstraint": "NO_GROUP_EVENTS", 545 "MetricExpr": "L1D_PEND_MISS.PENDING / L1D_PEND_MISS.PENDING_CYCLES", 546 "MetricGroup": "Mem;MemoryBW;MemoryBound", 547 "MetricName": "tma_info_memory_mlp", 548 "PublicDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss. Per-Logical Processor)" 549 }, 550 { 551 "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses", 552 "MetricExpr": "(ITLB_MISSES.WALK_DURATION + DTLB_LOAD_MISSES.WALK_DURATION + DTLB_STORE_MISSES.WALK_DURATION) / tma_info_core_core_clks", 553 "MetricGroup": "Mem;MemoryTLB", 554 "MetricName": "tma_info_memory_tlb_page_walks_utilization", 555 "MetricThreshold": "tma_info_memory_tlb_page_walks_utilization > 0.5" 556 }, 557 { 558 "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is execution) per core", 559 "MetricExpr": "UOPS_EXECUTED.THREAD / (cpu@UOPS_EXECUTED.CORE\\,cmask\\=1@ / 2 if #SMT_on else UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC)", 560 "MetricGroup": "Cor;Pipeline;PortsUtil;SMT", 561 "MetricName": "tma_info_pipeline_execute" 562 }, 563 { 564 "BriefDescription": "Average number of Uops retired in cycles where at least one uop has retired.", 565 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / cpu@UOPS_RETIRED.RETIRE_SLOTS\\,cmask\\=1@", 566 "MetricGroup": "Pipeline;Ret", 567 "MetricName": "tma_info_pipeline_retire" 568 }, 569 { 570 "BriefDescription": "Measured Average Core Frequency for unhalted processors [GHz]", 571 "MetricExpr": "tma_info_system_turbo_utilization * TSC / 1e9 / duration_time", 572 "MetricGroup": "Power;Summary", 573 "MetricName": "tma_info_system_core_frequency" 574 }, 575 { 576 "BriefDescription": "Average CPU Utilization (percentage)", 577 "MetricExpr": "tma_info_system_cpus_utilized / #num_cpus_online", 578 "MetricGroup": "HPC;Summary", 579 "MetricName": "tma_info_system_cpu_utilization" 580 }, 581 { 582 "BriefDescription": "Average number of utilized CPUs", 583 "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / TSC", 584 "MetricGroup": "Summary", 585 "MetricName": "tma_info_system_cpus_utilized" 586 }, 587 { 588 "BriefDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]", 589 "MetricExpr": "64 * (UNC_M_CAS_COUNT.RD + UNC_M_CAS_COUNT.WR) / 1e9 / duration_time", 590 "MetricGroup": "HPC;MemOffcore;MemoryBW;SoC;tma_issueBW", 591 "MetricName": "tma_info_system_dram_bw_use", 592 "PublicDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]. Related metrics: tma_fb_full, tma_mem_bandwidth, tma_sq_full" 593 }, 594 { 595 "BriefDescription": "Giga Floating Point Operations Per Second", 596 "MetricExpr": "(FP_COMP_OPS_EXE.SSE_SCALAR_SINGLE + FP_COMP_OPS_EXE.SSE_SCALAR_DOUBLE + 2 * FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE + 4 * (FP_COMP_OPS_EXE.SSE_PACKED_SINGLE + SIMD_FP_256.PACKED_DOUBLE) + 8 * SIMD_FP_256.PACKED_SINGLE) / 1e9 / duration_time", 597 "MetricGroup": "Cor;Flops;HPC", 598 "MetricName": "tma_info_system_gflops", 599 "PublicDescription": "Giga Floating Point Operations Per Second. Aggregate across all supported options of: FP precisions, scalar and vector instructions, vector-width" 600 }, 601 { 602 "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]", 603 "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.FAR_BRANCH:u", 604 "MetricGroup": "Branches;OS", 605 "MetricName": "tma_info_system_ipfarbranch", 606 "MetricThreshold": "tma_info_system_ipfarbranch < 1e6" 607 }, 608 { 609 "BriefDescription": "Cycles Per Instruction for the Operating System (OS) Kernel mode", 610 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / INST_RETIRED.ANY_P:k", 611 "MetricGroup": "OS", 612 "MetricName": "tma_info_system_kernel_cpi" 613 }, 614 { 615 "BriefDescription": "Fraction of cycles spent in the Operating System (OS) Kernel mode", 616 "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / CPU_CLK_UNHALTED.THREAD", 617 "MetricGroup": "OS", 618 "MetricName": "tma_info_system_kernel_utilization", 619 "MetricThreshold": "tma_info_system_kernel_utilization > 0.05" 620 }, 621 { 622 "BriefDescription": "Average number of parallel data read requests to external memory", 623 "MetricExpr": "UNC_C_TOR_OCCUPANCY.MISS_OPCODE@filter_opc\\=0x182@ / UNC_C_TOR_OCCUPANCY.MISS_OPCODE@filter_opc\\=0x182\\,thresh\\=1@", 624 "MetricGroup": "Mem;MemoryBW;SoC", 625 "MetricName": "tma_info_system_mem_parallel_reads", 626 "PublicDescription": "Average number of parallel data read requests to external memory. Accounts for demand loads and L1/L2 prefetches" 627 }, 628 { 629 "BriefDescription": "Average latency of data read request to external memory (in nanoseconds)", 630 "MetricExpr": "1e9 * (UNC_C_TOR_OCCUPANCY.MISS_OPCODE@filter_opc\\=0x182@ / UNC_C_TOR_INSERTS.MISS_OPCODE@filter_opc\\=0x182@) / (tma_info_system_socket_clks / duration_time)", 631 "MetricGroup": "Mem;MemoryLat;SoC", 632 "MetricName": "tma_info_system_mem_read_latency", 633 "PublicDescription": "Average latency of data read request to external memory (in nanoseconds). Accounts for demand loads and L1/L2 prefetches. ([RKL+]memory-controller only)" 634 }, 635 { 636 "BriefDescription": "Fraction of cycles where both hardware Logical Processors were active", 637 "MetricExpr": "(1 - CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / (CPU_CLK_UNHALTED.REF_XCLK_ANY / 2) if #SMT_on else 0)", 638 "MetricGroup": "SMT", 639 "MetricName": "tma_info_system_smt_2t_utilization" 640 }, 641 { 642 "BriefDescription": "Socket actual clocks when any core is active on that socket", 643 "MetricExpr": "cbox_0@event\\=0x0@", 644 "MetricGroup": "SoC", 645 "MetricName": "tma_info_system_socket_clks" 646 }, 647 { 648 "BriefDescription": "Average Frequency Utilization relative nominal frequency", 649 "MetricExpr": "tma_info_thread_clks / CPU_CLK_UNHALTED.REF_TSC", 650 "MetricGroup": "Power", 651 "MetricName": "tma_info_system_turbo_utilization" 652 }, 653 { 654 "BriefDescription": "Measured Average Uncore Frequency for the SoC [GHz]", 655 "MetricExpr": "tma_info_system_socket_clks / 1e9 / duration_time", 656 "MetricGroup": "SoC", 657 "MetricName": "tma_info_system_uncore_frequency" 658 }, 659 { 660 "BriefDescription": "Per-Logical Processor actual clocks when the Logical Processor is active.", 661 "MetricExpr": "CPU_CLK_UNHALTED.THREAD", 662 "MetricGroup": "Pipeline", 663 "MetricName": "tma_info_thread_clks" 664 }, 665 { 666 "BriefDescription": "Cycles Per Instruction (per Logical Processor)", 667 "MetricExpr": "1 / tma_info_thread_ipc", 668 "MetricGroup": "Mem;Pipeline", 669 "MetricName": "tma_info_thread_cpi" 670 }, 671 { 672 "BriefDescription": "The ratio of Executed- by Issued-Uops", 673 "MetricExpr": "UOPS_EXECUTED.THREAD / UOPS_ISSUED.ANY", 674 "MetricGroup": "Cor;Pipeline", 675 "MetricName": "tma_info_thread_execute_per_issue", 676 "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." 677 }, 678 { 679 "BriefDescription": "Instructions Per Cycle (per Logical Processor)", 680 "MetricExpr": "INST_RETIRED.ANY / tma_info_thread_clks", 681 "MetricGroup": "Ret;Summary", 682 "MetricName": "tma_info_thread_ipc" 683 }, 684 { 685 "BriefDescription": "Total issue-pipeline slots (per-Physical Core till ICL; per-Logical Processor ICL onward)", 686 "MetricExpr": "4 * tma_info_core_core_clks", 687 "MetricGroup": "TmaL1;tma_L1_group", 688 "MetricName": "tma_info_thread_slots" 689 }, 690 { 691 "BriefDescription": "Uops Per Instruction", 692 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / INST_RETIRED.ANY", 693 "MetricGroup": "Pipeline;Ret;Retire", 694 "MetricName": "tma_info_thread_uoppi", 695 "MetricThreshold": "tma_info_thread_uoppi > 1.05" 696 }, 697 { 698 "BriefDescription": "Uops per taken branch", 699 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / BR_INST_RETIRED.NEAR_TAKEN", 700 "MetricGroup": "Branches;Fed;FetchBW", 701 "MetricName": "tma_info_thread_uptb", 702 "MetricThreshold": "tma_info_thread_uptb < 6" 703 }, 704 { 705 "BriefDescription": "This metric represents fraction of cycles the CPU was stalled due to Instruction TLB (ITLB) misses", 706 "MetricExpr": "(12 * ITLB_MISSES.STLB_HIT + ITLB_MISSES.WALK_DURATION) / tma_info_thread_clks", 707 "MetricGroup": "BigFootprint;BvBC;FetchLat;MemoryTLB;TopdownL3;tma_L3_group;tma_fetch_latency_group", 708 "MetricName": "tma_itlb_misses", 709 "MetricThreshold": "tma_itlb_misses > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 710 "PublicDescription": "This metric represents fraction of cycles the CPU was stalled due to Instruction TLB (ITLB) misses. Sample with: ITLB_MISSES.WALK_COMPLETED", 711 "ScaleUnit": "100%" 712 }, 713 { 714 "BriefDescription": "This metric estimates how often the CPU was stalled without loads missing the L1 data cache", 715 "MetricExpr": "max((min(CPU_CLK_UNHALTED.THREAD, CYCLE_ACTIVITY.STALLS_LDM_PENDING) - CYCLE_ACTIVITY.STALLS_L1D_PENDING) / tma_info_thread_clks, 0)", 716 "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_issueL1;tma_issueMC;tma_memory_bound_group", 717 "MetricName": "tma_l1_bound", 718 "MetricThreshold": "tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 719 "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_UOPS_RETIRED.L1_HIT_PS;MEM_LOAD_UOPS_RETIRED.HIT_LFB_PS. Related metrics: tma_clears_resteers, tma_machine_clears, tma_microcode_sequencer, tma_ms_switches, tma_ports_utilized_1", 720 "ScaleUnit": "100%" 721 }, 722 { 723 "BriefDescription": "This metric estimates how often the CPU was stalled due to L2 cache accesses by loads", 724 "MetricExpr": "(CYCLE_ACTIVITY.STALLS_L1D_PENDING - CYCLE_ACTIVITY.STALLS_L2_PENDING) / tma_info_thread_clks", 725 "MetricGroup": "BvML;CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 726 "MetricName": "tma_l2_bound", 727 "MetricThreshold": "tma_l2_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 728 "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_UOPS_RETIRED.L2_HIT_PS", 729 "ScaleUnit": "100%" 730 }, 731 { 732 "BriefDescription": "This metric estimates how often the CPU was stalled due to loads accesses to L3 cache or contended with a sibling Core", 733 "MetricConstraint": "NO_GROUP_EVENTS_SMT", 734 "MetricExpr": "MEM_LOAD_UOPS_RETIRED.LLC_HIT / (MEM_LOAD_UOPS_RETIRED.LLC_HIT + 7 * MEM_LOAD_UOPS_RETIRED.LLC_MISS) * CYCLE_ACTIVITY.STALLS_L2_PENDING / tma_info_thread_clks", 735 "MetricGroup": "CacheHits;MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 736 "MetricName": "tma_l3_bound", 737 "MetricThreshold": "tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 738 "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_UOPS_RETIRED.L3_HIT_PS", 739 "ScaleUnit": "100%" 740 }, 741 { 742 "BriefDescription": "This metric estimates fraction of cycles with demand load accesses that hit the L3 cache under unloaded scenarios (possibly L3 latency limited)", 743 "MetricConstraint": "NO_GROUP_EVENTS", 744 "MetricExpr": "41 * (MEM_LOAD_UOPS_RETIRED.LLC_HIT * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.LLC_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_LLC_MISS_RETIRED.LOCAL_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_HITM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_FWD))) / tma_info_thread_clks", 745 "MetricGroup": "BvML;MemoryLat;TopdownL4;tma_L4_group;tma_issueLat;tma_l3_bound_group", 746 "MetricName": "tma_l3_hit_latency", 747 "MetricThreshold": "tma_l3_hit_latency > 0.1 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 748 "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_UOPS_RETIRED.L3_HIT_PS. Related metrics: tma_mem_latency", 749 "ScaleUnit": "100%" 750 }, 751 { 752 "BriefDescription": "This metric represents fraction of cycles CPU was stalled due to Length Changing Prefixes (LCPs)", 753 "MetricExpr": "ILD_STALL.LCP / tma_info_thread_clks", 754 "MetricGroup": "FetchLat;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueFB", 755 "MetricName": "tma_lcp", 756 "MetricThreshold": "tma_lcp > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 757 "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", 758 "ScaleUnit": "100%" 759 }, 760 { 761 "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)", 762 "MetricExpr": "tma_retiring - tma_heavy_operations", 763 "MetricGroup": "Retire;TmaL2;TopdownL2;tma_L2_group;tma_retiring_group", 764 "MetricName": "tma_light_operations", 765 "MetricThreshold": "tma_light_operations > 0.6", 766 "MetricgroupNoGroup": "TopdownL2", 767 "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", 768 "ScaleUnit": "100%" 769 }, 770 { 771 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Load operations", 772 "MetricConstraint": "NO_GROUP_EVENTS_NMI", 773 "MetricExpr": "(UOPS_DISPATCHED_PORT.PORT_2 + UOPS_DISPATCHED_PORT.PORT_3 - UOPS_DISPATCHED_PORT.PORT_4) / (2 * tma_info_core_core_clks)", 774 "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", 775 "MetricName": "tma_load_op_utilization", 776 "MetricThreshold": "tma_load_op_utilization > 0.6", 777 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Load operations. Sample with: UOPS_DISPATCHED.PORT_2_3", 778 "ScaleUnit": "100%" 779 }, 780 { 781 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from local memory", 782 "MetricExpr": "200 * (MEM_LOAD_UOPS_LLC_MISS_RETIRED.LOCAL_DRAM * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.LLC_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_LLC_MISS_RETIRED.LOCAL_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_HITM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_FWD))) / tma_info_thread_clks", 783 "MetricGroup": "Server;TopdownL5;tma_L5_group;tma_mem_latency_group", 784 "MetricName": "tma_local_mem", 785 "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)))", 786 "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_UOPS_L3_MISS_RETIRED.LOCAL_DRAM_PS", 787 "ScaleUnit": "100%" 788 }, 789 { 790 "BriefDescription": "This metric represents fraction of cycles the CPU spent handling cache misses due to lock operations", 791 "MetricConstraint": "NO_GROUP_EVENTS", 792 "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", 793 "MetricGroup": "Offcore;TopdownL4;tma_L4_group;tma_issueRFO;tma_l1_bound_group", 794 "MetricName": "tma_lock_latency", 795 "MetricThreshold": "tma_lock_latency > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 796 "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_UOPS_RETIRED.LOCK_LOADS_PS. Related metrics: tma_store_latency", 797 "ScaleUnit": "100%" 798 }, 799 { 800 "BriefDescription": "This metric represents fraction of slots the CPU has wasted due to Machine Clears", 801 "MetricConstraint": "NO_GROUP_EVENTS", 802 "MetricExpr": "tma_bad_speculation - tma_branch_mispredicts", 803 "MetricGroup": "BadSpec;BvMS;MachineClears;TmaL2;TopdownL2;tma_L2_group;tma_bad_speculation_group;tma_issueMC;tma_issueSyncxn", 804 "MetricName": "tma_machine_clears", 805 "MetricThreshold": "tma_machine_clears > 0.1 & tma_bad_speculation > 0.15", 806 "MetricgroupNoGroup": "TopdownL2", 807 "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", 808 "ScaleUnit": "100%" 809 }, 810 { 811 "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)", 812 "MetricExpr": "min(CPU_CLK_UNHALTED.THREAD, cpu@OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD\\,cmask\\=6@) / tma_info_thread_clks", 813 "MetricGroup": "BvMS;MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_dram_bound_group;tma_issueBW", 814 "MetricName": "tma_mem_bandwidth", 815 "MetricThreshold": "tma_mem_bandwidth > 0.2 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 816 "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", 817 "ScaleUnit": "100%" 818 }, 819 { 820 "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)", 821 "MetricExpr": "min(CPU_CLK_UNHALTED.THREAD, OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD) / tma_info_thread_clks - tma_mem_bandwidth", 822 "MetricGroup": "BvML;MemoryLat;Offcore;TopdownL4;tma_L4_group;tma_dram_bound_group;tma_issueLat", 823 "MetricName": "tma_mem_latency", 824 "MetricThreshold": "tma_mem_latency > 0.1 & (tma_dram_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 825 "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", 826 "ScaleUnit": "100%" 827 }, 828 { 829 "BriefDescription": "This metric represents fraction of slots the Memory subsystem within the Backend was a bottleneck", 830 "MetricConstraint": "NO_GROUP_EVENTS", 831 "MetricExpr": "(min(CPU_CLK_UNHALTED.THREAD, CYCLE_ACTIVITY.STALLS_LDM_PENDING) + RESOURCE_STALLS.SB) / (min(CPU_CLK_UNHALTED.THREAD, CYCLE_ACTIVITY.CYCLES_NO_EXECUTE) + 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", 832 "MetricGroup": "Backend;TmaL2;TopdownL2;tma_L2_group;tma_backend_bound_group", 833 "MetricName": "tma_memory_bound", 834 "MetricThreshold": "tma_memory_bound > 0.2 & tma_backend_bound > 0.2", 835 "MetricgroupNoGroup": "TopdownL2", 836 "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).", 837 "ScaleUnit": "100%" 838 }, 839 { 840 "BriefDescription": "This metric represents fraction of slots the CPU was retiring uops fetched by the Microcode Sequencer (MS) unit", 841 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / UOPS_ISSUED.ANY * IDQ.MS_UOPS / tma_info_thread_slots", 842 "MetricGroup": "MicroSeq;TopdownL3;tma_L3_group;tma_heavy_operations_group;tma_issueMC;tma_issueMS", 843 "MetricName": "tma_microcode_sequencer", 844 "MetricThreshold": "tma_microcode_sequencer > 0.05 & tma_heavy_operations > 0.1", 845 "PublicDescription": "This metric represents fraction of slots the CPU was retiring uops fetched by the Microcode Sequencer (MS) unit. The MS is used for CISC instructions not supported by the default decoders (like repeat move strings; or CPUID); or by microcode assists used to address some operation modes (like in Floating Point assists). These cases can often be avoided. Sample with: IDQ.MS_UOPS. Related metrics: tma_clears_resteers, tma_l1_bound, tma_machine_clears, tma_ms_switches", 846 "ScaleUnit": "100%" 847 }, 848 { 849 "BriefDescription": "This metric represents Core fraction of cycles in which CPU was likely limited due to the MITE pipeline (the legacy decode pipeline)", 850 "MetricExpr": "(IDQ.ALL_MITE_CYCLES_ANY_UOPS - IDQ.ALL_MITE_CYCLES_4_UOPS) / tma_info_core_core_clks / 2", 851 "MetricGroup": "DSBmiss;FetchBW;TopdownL3;tma_L3_group;tma_fetch_bandwidth_group", 852 "MetricName": "tma_mite", 853 "MetricThreshold": "tma_mite > 0.1 & tma_fetch_bandwidth > 0.2", 854 "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.", 855 "ScaleUnit": "100%" 856 }, 857 { 858 "BriefDescription": "This metric estimates the fraction of cycles when the CPU was stalled due to switches of uop delivery to the Microcode Sequencer (MS)", 859 "MetricExpr": "3 * IDQ.MS_SWITCHES / tma_info_thread_clks", 860 "MetricGroup": "FetchLat;MicroSeq;TopdownL3;tma_L3_group;tma_fetch_latency_group;tma_issueMC;tma_issueMS;tma_issueMV;tma_issueSO", 861 "MetricName": "tma_ms_switches", 862 "MetricThreshold": "tma_ms_switches > 0.05 & (tma_fetch_latency > 0.1 & tma_frontend_bound > 0.15)", 863 "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", 864 "ScaleUnit": "100%" 865 }, 866 { 867 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 0 ([SNB+] ALU; [HSW+] ALU and 2nd branch)", 868 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_0 / tma_info_core_core_clks", 869 "MetricGroup": "Compute;TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 870 "MetricName": "tma_port_0", 871 "MetricThreshold": "tma_port_0 > 0.6", 872 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 0 ([SNB+] ALU; [HSW+] ALU and 2nd branch). Sample with: UOPS_DISPATCHED_PORT.PORT_0. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_1, tma_port_5, tma_port_6, tma_ports_utilized_2", 873 "ScaleUnit": "100%" 874 }, 875 { 876 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 1 (ALU)", 877 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_1 / tma_info_core_core_clks", 878 "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 879 "MetricName": "tma_port_1", 880 "MetricThreshold": "tma_port_1 > 0.6", 881 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 1 (ALU). Sample with: UOPS_DISPATCHED_PORT.PORT_1. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_5, tma_port_6, tma_ports_utilized_2", 882 "ScaleUnit": "100%" 883 }, 884 { 885 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 2 ([SNB+]Loads and Store-address; [ICL+] Loads)", 886 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_2 / tma_info_core_core_clks", 887 "MetricGroup": "TopdownL6;tma_L6_group;tma_load_op_utilization_group", 888 "MetricName": "tma_port_2", 889 "MetricThreshold": "tma_port_2 > 0.6", 890 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 2 ([SNB+]Loads and Store-address; [ICL+] Loads). Sample with: UOPS_DISPATCHED_PORT.PORT_2", 891 "ScaleUnit": "100%" 892 }, 893 { 894 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 3 ([SNB+]Loads and Store-address; [ICL+] Loads)", 895 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_3 / tma_info_core_core_clks", 896 "MetricGroup": "TopdownL6;tma_L6_group;tma_load_op_utilization_group", 897 "MetricName": "tma_port_3", 898 "MetricThreshold": "tma_port_3 > 0.6", 899 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 3 ([SNB+]Loads and Store-address; [ICL+] Loads). Sample with: UOPS_DISPATCHED_PORT.PORT_3", 900 "ScaleUnit": "100%" 901 }, 902 { 903 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 4 (Store-data)", 904 "MetricExpr": "tma_store_op_utilization", 905 "MetricGroup": "TopdownL6;tma_L6_group;tma_issueSpSt;tma_store_op_utilization_group", 906 "MetricName": "tma_port_4", 907 "MetricThreshold": "tma_port_4 > 0.6", 908 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 4 (Store-data). Sample with: UOPS_DISPATCHED_PORT.PORT_4. Related metrics: tma_split_stores", 909 "ScaleUnit": "100%" 910 }, 911 { 912 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 5 ([SNB+] Branches and ALU; [HSW+] ALU)", 913 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_5 / tma_info_core_core_clks", 914 "MetricGroup": "TopdownL6;tma_L6_group;tma_alu_op_utilization_group;tma_issue2P", 915 "MetricName": "tma_port_5", 916 "MetricThreshold": "tma_port_5 > 0.6", 917 "PublicDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port 5 ([SNB+] Branches and ALU; [HSW+] ALU). Sample with: UOPS_DISPATCHED.PORT_5. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_6, tma_ports_utilized_2", 918 "ScaleUnit": "100%" 919 }, 920 { 921 "BriefDescription": "This metric estimates fraction of cycles the CPU performance was potentially limited due to Core computation issues (non divider-related)", 922 "MetricConstraint": "NO_GROUP_EVENTS", 923 "MetricExpr": "(min(CPU_CLK_UNHALTED.THREAD, CYCLE_ACTIVITY.CYCLES_NO_EXECUTE) + 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 - min(CPU_CLK_UNHALTED.THREAD, CYCLE_ACTIVITY.STALLS_LDM_PENDING)) / tma_info_thread_clks", 924 "MetricGroup": "PortsUtil;TopdownL3;tma_L3_group;tma_core_bound_group", 925 "MetricName": "tma_ports_utilization", 926 "MetricThreshold": "tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2)", 927 "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.", 928 "ScaleUnit": "100%" 929 }, 930 { 931 "BriefDescription": "This metric represents fraction of cycles CPU executed no uops on any execution port (Logical Processor cycles since ICL, Physical Core cycles otherwise)", 932 "MetricExpr": "(cpu@UOPS_EXECUTED.CORE\\,inv\\,cmask\\=1@ / 2 if #SMT_on else (min(CPU_CLK_UNHALTED.THREAD, CYCLE_ACTIVITY.CYCLES_NO_EXECUTE) - (RS_EVENTS.EMPTY_CYCLES if tma_fetch_latency > 0.1 else 0)) / tma_info_core_core_clks)", 933 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_ports_utilization_group", 934 "MetricName": "tma_ports_utilized_0", 935 "MetricThreshold": "tma_ports_utilized_0 > 0.2 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 936 "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.", 937 "ScaleUnit": "100%" 938 }, 939 { 940 "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)", 941 "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)", 942 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_issueL1;tma_ports_utilization_group", 943 "MetricName": "tma_ports_utilized_1", 944 "MetricThreshold": "tma_ports_utilized_1 > 0.2 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 945 "PublicDescription": "This metric represents fraction of cycles where the CPU executed total of 1 uop per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise). This can be due to heavy data-dependency among software instructions; or over oversubscribing a particular hardware resource. In some other cases with high 1_Port_Utilized and L1_Bound; this metric can point to L1 data-cache latency bottleneck that may not necessarily manifest with complete execution starvation (due to the short L1 latency e.g. walking a linked list) - looking at the assembly can be helpful. Related metrics: tma_l1_bound", 946 "ScaleUnit": "100%" 947 }, 948 { 949 "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)", 950 "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)", 951 "MetricGroup": "PortsUtil;TopdownL4;tma_L4_group;tma_issue2P;tma_ports_utilization_group", 952 "MetricName": "tma_ports_utilized_2", 953 "MetricThreshold": "tma_ports_utilized_2 > 0.15 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 954 "PublicDescription": "This metric represents fraction of cycles CPU executed total of 2 uops per cycle on all execution ports (Logical Processor cycles since ICL, Physical Core cycles otherwise). Loop Vectorization -most compilers feature auto-Vectorization options today- reduces pressure on the execution ports as multiple elements are calculated with same uop. Related metrics: tma_fp_scalar, tma_fp_vector, tma_fp_vector_128b, tma_fp_vector_256b, tma_fp_vector_512b, tma_port_0, tma_port_1, tma_port_5, tma_port_6", 955 "ScaleUnit": "100%" 956 }, 957 { 958 "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).", 959 "MetricExpr": "(cpu@UOPS_EXECUTED.CORE\\,cmask\\=3@ / 2 if #SMT_on else UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC) / tma_info_core_core_clks", 960 "MetricGroup": "BvCB;PortsUtil;TopdownL4;tma_L4_group;tma_ports_utilization_group", 961 "MetricName": "tma_ports_utilized_3m", 962 "MetricThreshold": "tma_ports_utilized_3m > 0.4 & (tma_ports_utilization > 0.15 & (tma_core_bound > 0.1 & tma_backend_bound > 0.2))", 963 "ScaleUnit": "100%" 964 }, 965 { 966 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from remote cache in other sockets including synchronizations issues", 967 "MetricConstraint": "NO_GROUP_EVENTS", 968 "MetricExpr": "(200 * (MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_HITM * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.LLC_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_LLC_MISS_RETIRED.LOCAL_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_HITM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_FWD))) + 180 * (MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_FWD * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.LLC_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_LLC_MISS_RETIRED.LOCAL_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_HITM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_FWD)))) / tma_info_thread_clks", 969 "MetricGroup": "Offcore;Server;Snoop;TopdownL5;tma_L5_group;tma_issueSyncxn;tma_mem_latency_group", 970 "MetricName": "tma_remote_cache", 971 "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)))", 972 "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_UOPS_L3_MISS_RETIRED.REMOTE_HITM_PS;MEM_LOAD_UOPS_L3_MISS_RETIRED.REMOTE_FWD_PS. Related metrics: tma_contested_accesses, tma_data_sharing, tma_false_sharing, tma_machine_clears", 973 "ScaleUnit": "100%" 974 }, 975 { 976 "BriefDescription": "This metric estimates fraction of cycles while the memory subsystem was handling loads from remote memory", 977 "MetricExpr": "310 * (MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_DRAM * (1 + MEM_LOAD_UOPS_RETIRED.HIT_LFB / (MEM_LOAD_UOPS_RETIRED.L2_HIT + MEM_LOAD_UOPS_RETIRED.LLC_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HIT + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_HITM + MEM_LOAD_UOPS_LLC_HIT_RETIRED.XSNP_MISS + MEM_LOAD_UOPS_LLC_MISS_RETIRED.LOCAL_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_DRAM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_HITM + MEM_LOAD_UOPS_LLC_MISS_RETIRED.REMOTE_FWD))) / tma_info_thread_clks", 978 "MetricGroup": "Server;Snoop;TopdownL5;tma_L5_group;tma_mem_latency_group", 979 "MetricName": "tma_remote_mem", 980 "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)))", 981 "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_UOPS_L3_MISS_RETIRED.REMOTE_DRAM_PS", 982 "ScaleUnit": "100%" 983 }, 984 { 985 "BriefDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired", 986 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / tma_info_thread_slots", 987 "MetricGroup": "BvUW;TmaL1;TopdownL1;tma_L1_group", 988 "MetricName": "tma_retiring", 989 "MetricThreshold": "tma_retiring > 0.7 | tma_heavy_operations > 0.1", 990 "MetricgroupNoGroup": "TopdownL1", 991 "PublicDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired. Ideally; all pipeline slots would be attributed to the Retiring category. Retiring of 100% would indicate the maximum Pipeline_Width throughput was achieved. Maximizing Retiring typically increases the Instructions-per-cycle (see IPC metric). Note that a high Retiring value does not necessary mean there is no room for more performance. For example; Heavy-operations or Microcode Assists are categorized under Retiring. They often indicate suboptimal performance and can often be optimized or avoided. Sample with: UOPS_RETIRED.RETIRE_SLOTS", 992 "ScaleUnit": "100%" 993 }, 994 { 995 "BriefDescription": "This metric estimates fraction of cycles handling memory load split accesses - load that cross 64-byte cache line boundary", 996 "MetricConstraint": "NO_GROUP_EVENTS", 997 "MetricExpr": "13 * LD_BLOCKS.NO_SR / tma_info_thread_clks", 998 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 999 "MetricName": "tma_split_loads", 1000 "MetricThreshold": "tma_split_loads > 0.2 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1001 "PublicDescription": "This metric estimates fraction of cycles handling memory load split accesses - load that cross 64-byte cache line boundary. Sample with: MEM_UOPS_RETIRED.SPLIT_LOADS_PS", 1002 "ScaleUnit": "100%" 1003 }, 1004 { 1005 "BriefDescription": "This metric represents rate of split store accesses", 1006 "MetricExpr": "2 * MEM_UOPS_RETIRED.SPLIT_STORES / tma_info_core_core_clks", 1007 "MetricGroup": "TopdownL4;tma_L4_group;tma_issueSpSt;tma_store_bound_group", 1008 "MetricName": "tma_split_stores", 1009 "MetricThreshold": "tma_split_stores > 0.2 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1010 "PublicDescription": "This metric represents rate of split store accesses. Consider aligning your data to the 64-byte cache line granularity. Sample with: MEM_UOPS_RETIRED.SPLIT_STORES_PS. Related metrics: tma_port_4", 1011 "ScaleUnit": "100%" 1012 }, 1013 { 1014 "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)", 1015 "MetricExpr": "(OFFCORE_REQUESTS_BUFFER.SQ_FULL / 2 if #SMT_on else OFFCORE_REQUESTS_BUFFER.SQ_FULL) / tma_info_core_core_clks", 1016 "MetricGroup": "BvMS;MemoryBW;Offcore;TopdownL4;tma_L4_group;tma_issueBW;tma_l3_bound_group", 1017 "MetricName": "tma_sq_full", 1018 "MetricThreshold": "tma_sq_full > 0.3 & (tma_l3_bound > 0.05 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1019 "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", 1020 "ScaleUnit": "100%" 1021 }, 1022 { 1023 "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", 1024 "MetricExpr": "RESOURCE_STALLS.SB / tma_info_thread_clks", 1025 "MetricGroup": "MemoryBound;TmaL3mem;TopdownL3;tma_L3_group;tma_memory_bound_group", 1026 "MetricName": "tma_store_bound", 1027 "MetricThreshold": "tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2)", 1028 "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_UOPS_RETIRED.ALL_STORES_PS", 1029 "ScaleUnit": "100%" 1030 }, 1031 { 1032 "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", 1033 "MetricExpr": "13 * LD_BLOCKS.STORE_FORWARD / tma_info_thread_clks", 1034 "MetricGroup": "TopdownL4;tma_L4_group;tma_l1_bound_group", 1035 "MetricName": "tma_store_fwd_blk", 1036 "MetricThreshold": "tma_store_fwd_blk > 0.1 & (tma_l1_bound > 0.1 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1037 "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.", 1038 "ScaleUnit": "100%" 1039 }, 1040 { 1041 "BriefDescription": "This metric estimates fraction of cycles the CPU spent handling L1D store misses", 1042 "MetricConstraint": "NO_GROUP_EVENTS", 1043 "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", 1044 "MetricGroup": "BvML;MemoryLat;Offcore;TopdownL4;tma_L4_group;tma_issueRFO;tma_issueSL;tma_store_bound_group", 1045 "MetricName": "tma_store_latency", 1046 "MetricThreshold": "tma_store_latency > 0.1 & (tma_store_bound > 0.2 & (tma_memory_bound > 0.2 & tma_backend_bound > 0.2))", 1047 "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", 1048 "ScaleUnit": "100%" 1049 }, 1050 { 1051 "BriefDescription": "This metric represents Core fraction of cycles CPU dispatched uops on execution port for Store operations", 1052 "MetricExpr": "UOPS_DISPATCHED_PORT.PORT_4 / tma_info_core_core_clks", 1053 "MetricGroup": "TopdownL5;tma_L5_group;tma_ports_utilized_3m_group", 1054 "MetricName": "tma_store_op_utilization", 1055 "MetricThreshold": "tma_store_op_utilization > 0.6", 1056 "ScaleUnit": "100%" 1057 }, 1058 { 1059 "BriefDescription": "This metric serves as an approximation of legacy x87 usage", 1060 "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS * FP_COMP_OPS_EXE.X87 / UOPS_EXECUTED.THREAD", 1061 "MetricGroup": "Compute;TopdownL4;tma_L4_group;tma_fp_arith_group", 1062 "MetricName": "tma_x87_use", 1063 "MetricThreshold": "tma_x87_use > 0.1 & (tma_fp_arith > 0.2 & tma_light_operations > 0.6)", 1064 "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.", 1065 "ScaleUnit": "100%" 1066 } 1067 ]
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.