eInfer: Unlocking Fine-Grained Tracing for Distributed LLM Inference with eBPF
Modern large language model (LLM) inference workloads run on complex, heterogeneous distributed systems spanning CPUs, GPUs, multi-GPU setups, and network interconnects. Existing profiling tools either incur prohibitive overhead, provide limited visibility, or suffer from vendor lock-in, making real-time, fine-grained performance analysis impractical in production environments. We present eInfer, the first eBPF-based system enabling transparent, low-overhead end-to-end tracing of per-request performance across distributed LLM inference pipelines without requiring application modifications. eInfer uniquely correlates events across CPUs, accelerators, processes, and nodes, delivering unified, vendor-agnostic observability that approaches the accuracy of specialized GPU profiling tools. To address the challenges of scalability dynamic workloads, and instrumentation gaps on accelerators, we design a runtime-adaptive tracing mechanism that maintains comprehensive visibility in real time. Our initial evaluation demonstrates that eInfer delivers precise, low-overhead profiling, enabling critical insights to optimize LLM serving performance in production environments.
Authors
- Jianchang Su (ORCID: https://orcid.org/0000-0002-4089-8316)
- Chenxingyu Zhao (ORCID: https://orcid.org/0000-0001-8528-1689)
- Yifan Zhang (ORCID: https://orcid.org/0009-0005-6403-2161)
- Kuan-Yu Chu
- Shengkai Lin (ORCID: https://orcid.org/0009-0003-2615-0525)
- Shizhen Zhao (ORCID: https://orcid.org/0000-0001-8395-5109)
- Wei Zhang
- Yiwei Yang (ORCID: https://orcid.org/0000-0001-8011-5868)
- Yusheng Zheng
Institutions
- University of Connecticut (US)
- Shanghai Jiao Tong University (CN)
- University of California, Santa Cruz (US)
- University of Washington (US)
Publication Details
- Published
- 2025-08-19
- DOI
- https://doi.org/10.1145/3748355.3748372
- Citations
- 2
- Primary Topic
- Access Control and Trust
- Type
- article
- Field-Weighted Citation Impact
- 8.40