rLLM: A Serving-Aware Simulation Framework for Realistic LLM Hardware Evaluation
Abstract
Large language model inference has become a major target for computer architecture research, driving a wide range of work on specialized accelerators, serving systems, and emerging technologies. However, prior studies usually evaluate inference hardware under simplified assumptions, such as static request shapes or fixed execution patterns. These assumptions divorce hardware evaluation from actual serving dynamics, ultimately leading to inaccurate performance estimates and suboptimal architectural conclusions. We present rLLM, a zero-semantic-gap framework for realistic LLM hardware evaluation. rLLM is implemented as an extension to the official vLLM codebase, allowing it to seamlessly track upstream vLLM updates while interoperating with other vLLM extensions. By coupling the real vLLM software stack with our pluggable hardware simulators, rLLM enables end-to-end evaluation of LLM accelerators driven by realistic, highly dynamic serving behaviors without requiring full platform-specific vLLM re-implementations. We validate rLLM's end-to-end fidelity using profiling-based, analytical, and microarchitecture backend configurations. Designed with modularity in mind, the framework is easily extensible to support a wide range of emerging accelerators. Crucially, our exploration reveals that realistic serving dynamics fundamentally shift system bottlenecks and optimal design points compared to static evaluations. By uncovering these discrepancies, rLLM offers the community fresh design insights from a serving perspective, underscoring the necessity of serving-aware co-simulation for robust LLM hardware co-design.