Manuscript Offprint

arXiv:2609.35508

Argus: Agentic, Reference-Calibrated, Tree-Guided, System-Software-Level Bottleneck Localization

Vlad-Petru Nitu, Harsh Songara, Konstantinos Sgouras, Spiros Galanopoulos, Konstantinos Kanellopoulos, Onur Mutlu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Argus: Agentic‾\underline{Agentic}, Reference−Calibrated‾\underline{Reference-Calibrated}, Tree- Guided‾\underline{Guided}, System−Software−Level‾\underline{System-Software-Level} Bottleneck Localization

Vlad-Petru Nitu Harsh Songara Konstantinos Sgouras

Spiros Galanopoulos Konstantinos Kanellopoulos Onur Mutlu

ETH Zürich

Abstract. Operating system (OS) code can account for a substantial share of CPU execution time. First, as application logic is offloaded to heterogeneous accelerators (e.g., GPUs), the CPU increasingly acts as an orchestrator, spending cycles in driver calls, data movement, and synchronization rather than in application code. Second, workloads such as serverless functions frequently invoke OS services. At the same time, the OS is a complex codebase spanning many subsystems (e.g., memory management, networking), making it hard to localize the specific code path responsible for a slowdown. Existing profilers expose measurements that require interpretation (e.g., perf and Intel VTune) or can perturb short operations when extensively instrumented (e.g., ftrace). Diagnosing OS bottlenecks can therefore require repeated kernel instrumentation and manual interpretation.

We introduce Argus, an agentic LLM-based profiler that produces instrumentation code and autonomously (i.e., without human intervention) reasons over potential OS-level bottlenecks. Argus integrates two key mechanisms: (i) a calibration methodology that involves collecting a measurement from an idle system and using it as a reference point to discover potential bottlenecks, and (ii) a tree-based data structure that represents the different OS execution paths, improving the agent's bottleneck localization accuracy. Argus aims to identify a specific kernel code path rather than stop at a subsystem-level diagnosis. In two case studies, we employ Argus to autonomously discover bottlenecks present in the memory management subsystem caused by (i) a THP aggressor co-running with other applications, and (ii) applications that incur different types of page faults. Argus produces 19×19\times fewer incorrect deep-path diagnoses than the strongest evaluated LLM-based baseline, which lacks reference calibration, while preserving low time-to-diagnosis ( ≈31s\approx 31s).

References (40)

  • Profiling a Warehouse-Scale Computer
  • Virtuoso: Enabling Fast and Accurate Virtual Memory Research via an Imitation-based Operating System Simulation Methodology
  • A New Golden Age for Computer Architecture
  • In-Datacenter Performance Analysis of a Tensor Processing Unit
  • AMDGPU: Linux Kernel Driver for AMD GPUs
  • Mosaic: A GPU Memory Manager with Application-Transparent Support for Multiple Page Sizes
  • Attack of the Killer Microseconds
  • Taming the Killer Microsecond
  • Firecracker: Lightweight Virtualization for Serverless Applications
  • An Open-Source Benchmark Suite for Microservices and Their Hardware-Software Implications for Cloud & Edge Systems
  • perf: Linux profiling with performance counters
  • Intel VTune Profiler
  • AMD μProf Profiler
  • A Top-Down Method for Performance Analysis and Counters Architecture
  • The LTTng tracer: A low impact performance and behavior monitor for GNU/Linux
  • Using the Linux Kernel Tracepoints
  • Grafana Pyroscope: Continuous Profiling
  • Parca: Continuous Profiling for Analysis of CPU and Memory Usage
  • Datadog Continuous Profiler
  • Profiling Types and Their Uses
  • Profile Types
  • NVIDIA Nsight Systems
  • Omniperf Documentation
  • Nsight Systems User Guide
  • Dynamic Instrumentation of Production Systems
  • Locating System Problems Using Dynamic Instrumentation
  • Kernel Probes (Kprobes)
  • The eBPF Runtime in the Linux Kernel (opens arXiv in a new tab)
  • bpftrace: High-level Tracing Language for Linux
  • eunomia-bpf: A Dynamic Loading Library and Compile Toolchain for eBPF
  • eBPF verifier
  • Bottleneck Identification and Scheduling in Multi-threaded Applications
  • GAPP: A Fast Profiler for Detecting Serialization Bottlenecks in Parallel Linux Applications (opens arXiv in a new tab)
  • How to Diagnose Nanosecond Network Latencies in Rich End-host Stacks
  • OpenCode: The open source AI coding agent
  • AlphaEvolve: A coding agent for scientific and algorithmic discovery
  • ReAct: Synergizing Reasoning and Acting in Language Models
  • ftrace: Function Tracer for the Linux Kernel
  • Revelator: Rapid Data Fetching via System-Software-Guided Hash-based Speculative Address Translation
  • Page Overlays: An Enhanced Virtual Memory Framework to Enable Fine-grained Memory Management