Efficient Memory Management for Large Language Model Serving with PagedAttention
Problem: serving throughput depends on batching, but KV cache memory is large and fragmented, which caps batch size; can paged memory management be applied to the KV cache.
Where the evidence sits: the abstract gives the 2-4× throughput result against FasterTransformer and Orca; per-scenario numbers are in Section 6.
What the authors say about limits: no separate Limitations section; the boundaries are in Section 8 (Discussion) — the optimisation does not generally hold for every GPU workload. In DNN training tensor shapes are typically static so allocation can be optimised ahead of time; for non-LLM inference that is compute-bound, raising memory efficiency may not help at all, and adding paged indirection and non-contiguous blocks may instead degrade performance. The Section 7.1 microbenchmark also reports 20-26% higher attention kernel latency than the highly optimised FasterTransformer implementation.
What it does not claim: the paper does not present 2-4× as a universal end-to-end result, nor claim paging is free on any workload; block size is a tradeoff — too small underuses GPU parallelism, too large increases internal fragmentation and lowers the chance of sharing.
Key specs
- 证据位置 / evidence
- 摘要;Section 6 分场景;Section 8 Discussion;7.1 微基准
- 吞吐提升 / throughput
- 2–4×(对比 FasterTransformer、Orca)
- kernel 开销 / overhead
- 注意力 kernel 延迟高 20–26%
- 不适用场景 / not applicable
- 静态形状训练、算力瓶颈的非 LLM 推理
- 复现状态 / reproduction
- 未复现
What the source says
High throughput serving of large language models (LLMs) requires batching sufficiently many requests at a time.
Our evaluations show that vLLM improves the throughput of popular LLMs by 2-4× with the same level of latency compared to the state-of-the-art systems, such as FasterTransformer and Orca.
For another example, in serving DNNs that are not LLMs, an increase in memory efficiency may not result in any performance improvement since the performance is primarily compute-bound.
Source and licence
- Source checked
- 2026-11-07
- Licence / kind
- arxiv-preprint
- Licence evidence
- https://arxiv.org/abs/2309.06180
- Category
- Efficiency
How to read the numbers
Before citing a score, separate what it measures, how it is scored, what it compares against and whether contamination is controlled. If unsure, go back to the experiment setup in the paper. See benchmark cards · See dataset cards