Problem Statement
LLM inference performance depends on many configuration choices, including hardware, serving engine, attention backend, and model architecture, and changing any one of them changes the latency of the underlying GPU operations. Operation-level profiling captures this dependence by measuring the latency of every operation a model invokes under a given configuration, and these profiles are the building blocks for understanding and comparing performance across configurations. Yet existing profilers hardcode their operation set to a specific configuration and re-profile every operation from scratch, treating each (model, engine, backend, hardware) combination as a fresh target and ignoring the substantial overlap across configurations. This makes broad configuration sweeps prohibitively expensive.
Dooly's Approach
Dooly exploits structural redundancy in LLM models to achieve configuration-agnostic, redundancy-aware profiling, profiling each unique operation only once and reusing it across all configurations that share it.
Our core insight is that every input dimension of every operation in an LLM forward pass is either fixed by the model configuration or determined by the incoming request, and that model-configuration values (head size, layer count, etc.) recur heavily across model families.
Dooly exploits this through three key ideas:
- Taint propagation for dimension provenance. Dooly performs a single inference pass and labels each input dimension of each operation with its origin (model config, request size, or derived combination) via taint propagation, exposing which operations are equivalent across configurations.
- Hierarchical context resolution for stateful operations. Operations like attention carry implicit state that breaks naive operation extraction. Dooly isolates these by reusing the serving engine's own initialization code, eliminating the need for manual instrumentation.
- Duplication-aware profiling against a persistent database. Dooly generates kernel-aware signatures for each operation and only profiles operations absent from its latency database, enabling cumulative reuse across runs and configurations.
Dooly's profiler is open-sourced as DoolyProf.
Profiling Cost
56.4%
fewer profiling GPU-hours
vs. profiling each configuration from scratch
100 / 612
operation signatures are unique
across 36 configurations
<0.2 GPU-h
of new profiling per model
after the first 4 models
Across 12 models with three attention backends each, Dooly reuses a measurement only when two operations match on model-derived dimensions, dispatched GPU kernels, and module state (e.g., sliding-window size), so each unique operation is profiled exactly once.
Application of Dooly
To evaluate Dooly end to end, we built DoolySim, a profile-based simulator that reuses the serving engine's own scheduler and predicts per-iteration latency from regression models trained on Dooly's latency database. Comparing its predictions against real vLLM runs checks that per-operation profiles add up to correct serving latency:
5%
TTFT MAPE
vs. real vLLM runs
8%
TPOT MAPE
vs. real vLLM runs
<0.5%
MAPE in reproducing
vLLM's batch scheduling
The database is not tied to DoolySim: any task that needs operation-level latencies across many configurations can draw on it. Dooly's design also supports the following uses, which we have not yet evaluated:
- Existing profile-based simulators (e.g., Vidur, LLMServingSim) can train their latency models on Dooly's database as a drop-in replacement for their own profiling stage.
- Latency-prediction-based scheduling (e.g., llm-d), which routes each request to the server with the lowest predicted latency: measurements profiled once can be reused across servers running different models, GPUs, and configurations.
- Benchmarking new model configurations that share operations with previously profiled ones, without profiling them from scratch.
Demo
Dooly cuts profiling GPU-hours by 56.4% across 12 models, compared to profiling each configuration from scratch, by profiling operations shared across configurations only once.
Driven by Dooly's latency database, DoolySim emulates the target serving engine and predicts latency within 5% MAPE (TTFT) and 8% MAPE (TPOT).
BibTeX
@inproceedings{kim2026dooly,
title={Dooly: Configuration-Agnostic, Redundancy-Aware Profiling for LLM Inference Simulation},
author={Kim, Joon Ha and Kim, Geon-Woo and Rachakonda, Anoop and Kim, Daehyeok},
booktitle={Advances in Neural Information Processing Systems (NeurIPS)},
year={2026},
url={https://arxiv.org/abs/2605.07985}
}
