Lune

OOPSLA2024Top-tier venue

Making Sense of Multi-threaded Application Performance at Scale with NonSequitur

Augustine Wong, Paul Bucci, Ivan Beschastnikh, Alexandra Fedorova

Abstract

Modern multi-threaded systems are highly complex. This makes their behavior difficult to understand. Developers frequently capture behavior in the form of program traces and then manually inspect these traces. Existing tools, however, fail to scale to traces larger than a million events.

In this paper we present an approach to compress multi-threaded traces in order to allow developers to visually explore these traces at scale. Our approach is able to compress traces that contain millions of events down to a few hundred events. We use this approach to design and implement a tool called NonSequitur.

We present three case studies which demonstrate how we used NonSequitur to analyze real-world performance issues with Meta's storage engine RocksDB and MongoDB's storage engine WiredTiger, two complex database backends. We also evaluate NonSequitur with 42 participants on traces from RocksDB and WiredTiger. We demonstrate that, in some cases, participants on average scored 11 times higher when performing performance analysis tasks on large execution traces. Additionally, for some performance analysis tasks, the participants spent on average three times longer with other tools than with NonSequitur.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. Sage: practical and scalable ML-driven performance debugging in microservicesYu Gan, Mingyu Liang, Sundar Dev, David Lo et al.ASPLOS 2021 · 170 citations

Related papers

  1. Traveler: Navigating Task Parallel Traces for Performance AnalysisSayef Azad Sakin, Alex Bigelow, R. Tohid, Connor Scully-Allison et al.IEEE VIS 2022 · 10 citations
  2. ADOC: Automatically Harmonizing Dataflow Between Components in Log-Structured Key-Value Stores for Improved PerformanceJinghuan Yu, Sam H. Noh, Young-ri Choi, Chun Jason XueFAST 2023 · 52 citations
  3. Thicket: Seeing the Performance Experiment Forest for the Individual Run TreesStephanie Brink, Michael McKinsey, David Böhme, Connor Scully-Allison et al.HPDC 2023 · 18 citations
  4. Tetris: Lightweight Hyperparameter Auto-Tuning for Mitigating Performance Spikes in LSM-KVSYina Lv, Wenhao Zhu, Qiao Li, Quanqing Xu et al.ICDE 2026
  5. Using sample-based time series data for automated diagnosis of scalability losses in parallel programsLai Wei, John M. Mellor-CrummeyPPoPP 2020 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines