无人类交互的LLM服务:量化吞吐量中的人类税
Human-Less LLM Serving: Quantifying the Human Tax on Throughput
AI总结:
本研究通过系统测量发现,为满足人类感知延迟的SLO(TTFT和TPOT),LLM服务系统在长上下文场景下牺牲了60-93%的吞吐量,并提出无人类交互服务模式以消除这一开销。
摘要:
每个主要的LLM服务系统都设计为满足TTFT和TPOT的SLO。这些指标捕捉人类用户感知的延迟,为满足它们而构建的机制现在已成为标准基础设施。我们观察到,长周期AI任务在紧密循环中程序化地调用LLM,其中没有人类观察TTFT或TPOT。我们问:服务系统为了满足这些工作负载从未需要的TTFT和TPOT SLA,牺牲了多少吞吐量?我们跨块大小、SLO设置、上下文长度和并发级别进行了系统的测量研究。我们发现,人类税在吞吐量上随着上下文长度显著增长,范围在60-93%。在64K token上下文中,将TTFT SLO收紧到生产典型设置,与无人类交互基线相比,损失了很大一部分吞吐量。人类税在更高并发下更大,并且在SGLang和Sarathi-Serve上定性相似。我们将无约束最优称为无人类交互服务,并提供了一个原型,证明它在实际工作负载上是可行的。我们的研究结果表明,服务系统应该暴露工作负载类别感知的SLA配置,而不是默默地将人类税统一应用于所有流量。
英文摘要:
Every major LLM serving system is designed to meet TTFT and TPOT SLOs. These metrics capture latency as a human user perceives it, and the mechanisms built to satisfy them are now standard infrastructure. We observe that long-horizon AI tasks call LLMs programmatically in tight loops where no human observes TTFT or TPOT. We ask: how much throughput do serving systems sacrifice to meet TTFT and TPOT SLAs that these workloads never need? We conduct a systematic measurement study across chunk sizes, SLO settings, context lengths, and concurrency levels. We find that the human tax on throughput grows substantially with context length and lands in the 60-93% range. At 64K token contexts, tightening the TTFT SLO to production-typical settings costs a large fraction of throughput versus the human-less baseline. The human tax is larger at higher concurrency and is qualitatively similar across SGLang and Sarathi-Serve. We term the unconstrained optimum human-less serving and provide a prototype demonstrating that it is practical on real workloads. Our findings argue that serving systems should expose workload-class-aware SLA configurations rather than silently applying the human tax uniformly to all traffic.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。