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