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

FleetOpt:基于压缩与路由机制的LLM推理fleet优化

FleetOpt: Analytical Fleet Provisioning for LLM Inference with Compress-and-Route as Implementation Mechanism

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总结:

FleetOpt通过分析工作负载的提示长度CDF和P99 TTFT目标,推导出最小成本的fleet架构,采用压缩与路由机制解决硬件边界导致的资源浪费问题,有效降低GPU成本。

摘要:

现代LLM GPU fleet为最坏情况的上下文长度进行配置,而绝大多数请求从未接近此长度,导致GPU容量浪费。我们提出了FleetOpt框架,从基础原理出发:给定工作负载的提示长度CDF和P99 TTFT目标,推导出最小成本的fleet,然后在实践中部署。分析核心将每个池建模为M/G/c队列,并推导出最小成本fleet是双池架构——短上下文池和长上下文池——其最优边界B*满足跨两个池的边际GPU成本相等的条件。实现这一目标的基本障碍是成本悬崖:一个硬路由步骤,其中略高于B*的请求消耗8倍至42倍的GPU容量,比略低于它的请求多(取决于上下文窗口比例),造成结构性的不愿降低边界。压缩与路由(C&R)是解决这一障碍的实现机制。网关层的提取性压缩在引擎看到请求之前修剪临界请求,将硬硬件边界转化为软件参数,从工作负载CDF中读取。这两个组件在FleetOpt离线规划器中统一:给定CDF和SLO,它在不到1毫秒内返回最优(n_s*, n_l*, B*, gamma*)。在三个生产轨迹上,结合框架将总GPU成本降低了6-82%,与同质fleet相比,C&R贡献了1-44个百分点,具体取决于工作负载类型。分析模型通过离散事件模拟器(inference-fleet-sim)验证,预测的GPU利用率在所有池和工作负载中误差不超过3%。

英文摘要:

Modern LLM GPU fleets are provisioned for worst-case context lengths that the vast majority of requests never approach, wasting GPU capacity on idle KV-cache slots. We present FleetOpt, a framework that starts from first principles: given a workload's prompt-length CDF and a P99 TTFT target, derive the minimum-cost fleet analytically, then deploy it in practice. The analytical core models each pool as an M/G/c queue and derives that the minimum-cost fleet is a two-pool architecture -- a short-context pool and a long-context pool -- with an optimal boundary B* satisfying an equal marginal GPU cost condition across both pools. The fundamental barrier to achieving B* is the cost cliff: a hard routing step where requests just above B* consume 8x--42x more GPU capacity than requests just below it (depending on the context window ratio), creating a structural disincentive to lower the boundary. Compress-and-Route (C&R) is the implementation mechanism that resolves this barrier. Gateway-layer extractive compression trims borderline requests below B* before the engine ever sees them, converting the hard hardware boundary into a software parameter read from the workload CDF. The two components are unified in the FleetOpt offline planner: given a CDF and SLO, it returns the optimal (n_s*, n_l*, B*, gamma*) in under 1 ms. On three production traces, the combined framework reduces total GPU cost by 6--82% versus a homogeneous fleet, with C&R contributing 1--44 percentage points beyond plain pool routing depending on workload archetype. The analytical model is validated against a discrete-event simulator (inference-fleet-sim) with <= 3% error on predicted GPU utilization across all pools and workloads.

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

↑