Top-Down Microarchitecture Analysis Without Causal Modelling Is Dangerous!
Chenxi Wang, Lei Wang, Wanling Gao, Guoxin Kang, Fanda Fan, Jianfeng Zhan
Key points
From the paper's conclusion- To address this, we propose Causal Top-Down Microarchitecture Analysis (CTMA).
Abstract
Top-Down Microarchitecture Analysis (TMA) is the standard for identifying CPU bottlenecks. However, TMA implicitly models performance via a single causal path: Workload(dataset, algorithm) => CPU(CPI) => System(Performance) (microarchitectural efficiency path). It overlooks two hidden causal paths: Workload(dataset, algorithm) => Instructions(Retired) => System(Performance) (algorithmic efficiency path) and Workload(dataset, algorithm) => Instructions(Retired) => CPU(CPI) => System(Performance) (microarchitecture-algorithm efficiency path). This causal blindness often misleads architects into futile hardware optimizations. To address this, we propose Causal Top-Down Microarchitecture Analysis (CTMA). Utilizing the object causal model, CTMA explicitly models these three causal paths among the workload, instructions, CPU, and system. We validate CTMA across Intel, AMD, and ARM platforms. Our experiments reveal counterintuitive insights: (1) CPI Profiling Blindness: Algorithmic instruction bloat can double elapsed time while the CPI profile remains frozen. (2) Over-Speculation Congestion: Throttling the Frontend paradoxically improves performance in pointer-chasing algorithms. (3) ILP Window Collapse: Extreme data topologies shift bottlenecks from Backend ROB capacity to Frontend fill-rate starvation. (4) Op-Cache SMT Overlap: Ultra-small footprints yield SMT speedups on Intel but cause severe thrashing on AMD. (5) "Ghost State" Artifact: Stale pipeline mitigations on Intel Xeon Gold 5120T artificially boost performance by 22.75% on SPEC CPU2017 and 42.2% on SPEC CPU2026. Based on this, we propose a dynamic speculation throttling mechanism.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Language Approach to Fine-Grained Microarchitectural ObservationProceedings of the ACM on Programming Languages · 2026
- DELTA: Diagnosing Exploration Lineages via Twin-path Alignment - What Can Contrasting Design Paths Reveal About Microarchitectural Behavior?arXiv · 2026
- Adaptive Thread Scheduling and Optimization Framework for the Multi-Core CPU with Large-Capacity CacheACM Transactions on Architecture and Code Optimization · 2026
- The Unseen Delta: Characterizing the Compiler Optimization Landscape via Top-Down Differential AnalysisProceedings of the ACM on Software Engineering · 2026
- The Expanding Battlefield of Microarchitectural Vulnerabilities: A Survey on Defining and Reducing the Timing Side-Channel Attack Surface through Vulnerability Assessment and SimulationACM Computing Surveys · 2026
- PerfReasoning: How Well Do LLMs Reason on Hardware Performance?arXiv · 2026