跳到正文
arXiv (AI + Vision + Imaging)· Xindan Zhang, Fei Wang·· 8 天前AI 评分20

vLLM过载实验:仅靠取消机制无法恢复服务,重试与请求合并才是关键

Cancellation Is Not Enough: What Retries Leave Behind in an Overloaded LLM Engine

AI 导读

在vLLM上用三个开源模型做重试过载实验发现,开启重试时仅靠取消机制在任何一轮都未能恢复服务,过载后到达的调用仅12-38%被成功交付。调度器追踪显示,vLLM执行的重试通常在超时前不到半秒才开始prefill,被中止的执行占用了79-85%的已计算prompt token,而prompt token计数器漏计了三分之一到一半。

正文 · 原文

arXiv:2611.08684v2 Announce Type: replace Abstract: Clients and proxies in front of an LLM engine retry calls that time out. After a transient overload, these retries can keep the engine from recovering even when calls arrive below its capacity. Since the engine may keep computing for clients that have left, propagating cancellation looks like the natural remedy. In this paper, we test it on vLLM with overload experiments on three open models, and with scheduler traces of one that follow each client attempt to the execution it creates in the engine. We find that with retries on, cancellation alone did not restore service in any run, and only 12-38% of the calls that arrived after the overload were delivered. The traces suggest why: retries that vLLM ran typically started prefill less than half a second before they timed out. Executions that vLLM later aborted took 79-85% of the prompt tokens it computed, and vLLM's prompt-token counter missed a third to half of all computed prompt tokens. A retry budget restored service by shedding retries but left many of the overload's calls undelivered. Request coalescing delivered every call from the overload onward, some late, unless cancellation had already aborted the running execution. Overload controls should thus be judged by the executions that retries add and the calls that clients receive.

来源:arXiv (AI + Vision + Imaging) · arxiv.org