Argus: Debugging Performance Issues in Modern Desktop Applications with Annotated Causal Tracing
Lingmei Weng, Peng Huang, Jason Nieh, Junfeng Yang
Abstract
Modern desktop applications involve many asynchronous, concurrent interactions that make performance issues difficult to diagnose. Although prior work has used causal tracing for debugging performance issues in distributed systems, we find that these techniques suffer from high inaccuracies for desktop applications. We present Argus, a fast, effective causal tracing tool for debugging performance anomalies in desktop applications. Argus introduces a novel notion of strong and weak edges to explicitly model and annotate trace graph ambiguities, a new beam-search-based diagnosis algorithm to select the most likely causal paths in the presence of ambiguities, and a new way to compare causal paths across normal and abnormal executions. We have implemented Argus across multiple versions of macOS and evaluated it on 12 infamous spinning pinwheel issues in popular macOS applications. Argus diagnosed the root causes for all issues, 10 of which were previously unknown, some of which have been open for several years. Argus incurs less than 5% CPU overhead when its system-wide tracing is enabled, making always-on tracing feasible.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers11
- Effective Performance Issue Diagnosis with Value-Assisted Cost ProfilingLingmei Weng, Yigong Hu, Peng Huang, Jason Nieh et al.EuroSys 2023 · 8 citations
- Relational Debugging - Pinpointing Root Causes of Performance ProblemsXiang (Jenny) Ren, Sitao Wang, Zhuqi Jin, David Lion et al.OSDI 2023 · 5 citations
- FastPERT: Towards Fast Microservice Application Latency Prediction via Structural Inductive Bias over PERT NetworksDa Sun Handason Tam, Huanle Xu, Yang Liu, Siyue Xie et al.AAAI 2025 · 5 citations
- EXIST: Enabling Extremely Efficient Intra-Service Tracing Observability in DatacentersXinkai Wang, Xiaofeng Hou, Chao Li, Yuancheng Li et al.ASPLOS 2025 · 4 citations
- Understanding the Linux Kernel, VisuallyHanzhi Liu, Yanyan Jiang, Chang XuEuroSys 2025 · 2 citations
Builds on1
Related papers
- An Interactive Debugger for Rust Trait ErrorsGavin Gray, Will Crichton, Shriram KrishnamurthiPLDI 2025 · 1 citation
- BulletTime: Time Dilation for High-Fidelity TracingMichael Wu, Sibren Isaacman, Abhishek Bhattacharjee, Anurag KhandelwalISCA 2026
- LDB: An Efficient Latency Profiling Tool for Multithreaded ApplicationsInho Cho, Seo Jin Park, Ahmed Saeed, Mohammad Alizadeh et al.NSDI 2024 · 4 citations
- FlowScope: Non-Intrusive Distributed Tracing with Method-Level Delay Estimation for Microservices TroubleshootingYantao Geng, Han Zhang, Zhiheng Wu, Yahui Li et al.ICSE 2026
- Unicorn: reasoning about configurable system performance through the lens of causalityMd Shahriar Iqbal, Rahul Krishna, Mohammad Ali Javidian, Baishakhi Ray et al.EuroSys 2022 · 60 citations
