arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.16054cs.DC
收藏

inference-fleet-sim: 一个基于排队论的LLM推理舰队容量规划器

inference-fleet-sim: A Queueing-Theory-Grounded Fleet Capacity Planner for LLM Inference

vLLM Semantic Router Project(vLLM语义路由器项目);University of Chicago(芝加哥大学);Tensormesh Inc(Tensormesh公司);MBZUAI(穆罕默德·本·扎耶德人工智能大学);McGill University(麦吉尔大学)

Huamin Chen, Xunzhuo Liu, Yuhan Liu, Junchen Jiang, Bowei He, Xue Liu

AI总结:

本文提出inference-fleet-sim,结合分析排队模型与离散事件模拟,解决LLM推理GPU舰队的容量规划问题,通过物理感知的GPU性能模型和多种拓扑结构,实现实验验证。

摘要:

为LLM推理配置GPU舰队比想象中更复杂。显而易见的问题--需要多少GPU、哪种类型、如何分割双池舰队--没有闭式解。它们依赖于完整的token长度分布、路由策略和排队动态,在重尾工作负载下会变得复杂。现有工具仅优化单引擎配置,无法解决上游问题:购买多少GPU以及如何安排它们。inference-fleet-sim填补了这一空白。它结合分析M/G/c排队模型与离散事件模拟(DES),以找到最低成本的舰队配置,实现在P99 TTFT SLO下的经验满足。它包括一个物理感知的GPU性能模型,涵盖A10G、A100和H100在单体、双池路由和解耦拓扑结构中的表现,无需实际硬件访问。我们对七个舰队规划场景进行了测试,这些场景来自两个公开的工作负载轨迹(LMSYS、Azure)和一个合成的agent密集轨迹。每个场景都揭示了简单分析无法正确识别的结果--正确的分割阈值、最便宜的GPU类型、看似空闲的舰队实际上是否损坏--并展示了联合模拟排队、路由和硬件的必要性以找到这些结果。

英文摘要:

Sizing a GPU fleet for LLM inference is harder than it looks. The obvious questions -- how many GPUs, which type, where to split a two-pool fleet -- have no closed-form answers. They depend on the full token-length distribution, the routing policy, and queueing dynamics that turn ugly under heavy-tailed workloads. Existing tools optimize per-engine configuration for a fixed GPU count; none of them address the upstream question of how many GPUs to buy and how to arrange them. inference-fleet-sim fills that gap. It combines analytical M/G/c queueing with discrete-event simulation (DES) to find the minimum-cost fleet configuration that empirically meets a P99 TTFT SLO. It includes a physics-informed GPU performance model covering A10G, A100, and H100 across monolithic, two-pool-routed, and disaggregated topologies, all without requiring access to real hardware. We run the tool on seven fleet-planning scenarios drawn from two public workload traces (LMSYS, Azure) and one synthetic agent-heavy trace. Each one surfaces a result that simple analysis gets wrong -- the right split threshold, the cheapest GPU type, whether an apparently idle fleet is actually broken -- and shows why joint simulation of queueing, routing, and hardware is necessary to find it.

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

↑