arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.07229cs.DCcs.AI
收藏

LLMServingSim2.0:面向LLM基础设施中异构硬件与推理服务技术的统一模拟器

LLMServingSim2.0: A Unified Simulator for Heterogeneous Hardware and Serving Techniques in LLM Infrastructure

Jaehong Cho, Hyunmin Choi, Jongse Park

AI总结:

LLMServingSim2.0通过trace驱动建模与算子级剖析器,以低代码量实现异构硬件快速集成,并支持多种现代LLM服务技术,在TPU案例和GPU服务复现中分别实现18.5倍LoC缩减与1.9%误差。

摘要:

本文介绍了LLMServingSim2.0,一个为探索大规模LLM服务系统中异构硬件而设计的系统模拟器。LLMServingSim2.0解决了其前代版本的两个关键局限:(1)由于缺乏清晰的抽象,将硬件模型集成到系统级模拟器中并非易事;(2)现有模拟器仅支持一小部分推理服务技术,缺乏能够覆盖现代LLM服务中广泛方法的统一基础设施。为克服这些问题,LLMServingSim2.0采用基于trace驱动的性能建模,并配套一个算子级延迟剖析器,使得仅需一条命令即可集成新加速器。它进一步内置了最新的推理服务技术,同时为请求路由、缓存管理和调度策略暴露了灵活的接口。在一项TPU案例研究中,我们的剖析器所需的代码行数(LoC)减少了18.5倍,并且性能优于前代版本的硬件模拟器集成方案,证明了LLMServingSim2.0的低成本硬件可扩展性。我们的实验进一步表明,LLMServingSim2.0能够以1.9%的误差复现基于GPU的LLM服务,同时保持实用的模拟时间,使其成为面向硬件开发者和LLM服务提供商的综合平台。

英文摘要:

This paper introduces LLMServingSim2.0, a system simulator designed for exploring heterogeneous hardware in large-scale LLM serving systems. LLMServingSim2.0 addresses two key limitations of its predecessor: (1) integrating hardware models into system-level simulators is non-trivial due to the lack of a clear abstraction, and (2) existing simulators support only a narrow subset of serving techniques, leaving no infrastructure that captures the breadth of approaches in modern LLM serving. To overcome these issues, LLMServingSim2.0 adopts trace-driven performance modeling, accompanied by an operator-level latency profiler, enabling the integration of new accelerators with a single command. It further embeds up-to-date serving techniques while exposing flexible interfaces for request routing, cache management, and scheduling policies. In a TPU case study, our profiler requires 18.5x fewer LoC and outperforms the predecessor's hardware-simulator integration, demonstrating LLMServingSim2.0's low-effort hardware extensibility. Our experiments further show that LLMServingSim2.0 reproduces GPU-based LLM serving with 1.9% error, while maintaining practical simulation time, making it a comprehensive platform for both hardware developers and LLM service providers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑