Est.

Benchmark Evidence That Open-Source Inference Wins When the Storage Layer Is Not an Afterthought

Research shows KV cache retrieval speed, not GPU compute, often sets serving limits.

· 8 min read
Cover illustration for “Benchmark Evidence That Open-Source Inference Wins When the Storage Layer Is Not an Afterthought”
Build vs. Buy Decisions · November 15, 2026 · 8 min read · 1,857 words

Open-source LLM inference stack benchmarking and optimization must measure time to first token, KV cache I/O, and transfer scheduling alongside GPU throughput. Under long-context and multi-turn workloads, storage can set the performance limit because retrieving cached state competes with recomputing it. The benchmark evidence indicates that open-source inference gains over proprietary APIs depend on keeping cache retrieval below the cost of the computation it replaces.

Why KV cache offloading has become the central storage problem for open-source inference

A single long-context session on a large model can produce a KV cache larger than the entire HBM capacity of a high-end GPU. Concurrent sessions increase the retained working set further. Once that set is larger than GPU memory, offloading is needed to make it fit. The difficulty is that HBM provides orders-of-magnitude more bandwidth than the PCIe link connecting CPU memory and storage to the GPU.

That constraint explains why more available compute does not necessarily produce faster serving. Meng et al.’s bottleneck analysis derives a critical cached-to-prefill token ratio, κcrit, above which execution becomes memory-bound. The analysis finds that typical workloads exceed this threshold by orders of magnitude, with the vast majority of observed latency attributable to transfers. Compute capacity is available but cannot be used. The GPUs in the study use well under half their rated thermal design power during offloaded serving.

The demand for those transfers is not exceptional. Multi-turn assistants reuse conversation prefixes, RAG workloads repeat system prompts, and agentic loops suspend and resume work. These patterns make prefix reuse valuable because it avoids repeated prefill computation. Yet they also make access to retained KV state a recurring dependency in the request path.

What the KV cache tiering hierarchy looks like in production open-source stacks

Open-source stacks in production keep that state in a four-tier hierarchy. Hot KV blocks stay in VRAM, warm blocks move to CPU DRAM, cold blocks sit on local NVMe, and shared or persistent blocks live in network-attached object storage. Capacity grows as access latency rises across the tiers. vLLM and SGLang expose mechanisms for managing this movement. SGLang’s RadixAttention advances PagedAttention by maintaining an LRU Radix Tree of previously computed prompt prefixes across conversational turns.

The py-kvcache study, carried out January–July 2026 at Vrije Universiteit Amsterdam and IBM Research Zurich, characterizes the vLLM KV Transfer API, LMCache, and the vLLM KV Offload API. It follows blocks through scheduling logic, connector interfaces, CPU memory, GPU memory, and NVMe storage. Device bandwidth is only part of the path. Transfer granularity, intermediate memory use, and the point at which transfers enter the request schedule also determine cache performance.

Object storage adds a semantic mismatch to this hierarchy. S3 exposes object-level operations, while inference needs prefix-selected blocks delivered layer by layer in GPU consumption order. ObjectCache, from ETH Zurich, HPE Labs, and CUHK-Shenzhen in May 2026, addresses that mismatch with an extended S3-compatible request. Its descriptor names matched chunks, model layout, delivery order, and the RDMA target so that a RoCE-backed store can deliver KV data layer by layer to the serving node.

What NVMe-direct offloading designs reveal about the kernel storage stack as a bottleneck

DUAL-BLADE, from Sogang University, Florida State University, and Samsung Electronics in April 2026, isolates three bottlenecks in standard filesystem-based NVMe offloading. Decode’s autoregressive reads cause page-cache thrashing, traversing the VFS and block layer adds software overhead, and multi-queue scatter disrupts sequential locality at the SSD controller. These costs compound under memory pressure. The kernel storage stack is therefore not a neutral conduit between an inference engine and its SSDs.

DUAL-BLADE responds with a dual-path design that assigns KV tensors to either a page-cache path or an NVMe-direct path according to runtime memory availability. The direct path maps tensors to contiguous logical block address regions, bypassing the filesystem. Adaptive pipeline parallelism then overlaps storage I/O with GPU DMA. This separates the choice of residency path from the effort to hide transfer time. Both are software decisions.

The direct path reduces prefill latency by up to 33.1% and decode latency by up to roughly two-fifths against the page-cache baseline. SSD utilization improves by more than double. Those gains come from removing software-stack overhead on the same devices. For deployments constrained to existing commodity NVMe, the results establish that the I/O path itself can account for a substantial share of the offloading penalty.

Where external KV caching actually beats recomputation — and where it does not

External caching replaces GPU prefill computation with cache lookup, host-memory or disk reads, CPU-to-GPU transfer, and scheduling and synchronization work. Retrieval wins only when that combined cost is lower than recomputation. With short prompts, low cache-hit rates, and fast GPUs, loading the cache can cost more than recomputation. An available cached prefix is not automatically worth loading.

The py-kvcache study demonstrates this break-even directly through Bailian production trace replays. External caching improves time to first token, or TTFT, on a weaker GPU. On an H100, though, the average request falls below the break-even point, and GPU memory alone holds enough prefixes. The GPU, prefix distribution, and available cache capacity change which requests benefit.

Scheduling can change where caching breaks even on the same device. At high token counts in disk-only tests with preloading enabled, py-kvcache loads from disk 2.0 times as fast as LMCache. Scheduler-aware preloading contributes a substantial share of the gain by starting reads while requests are still queued. LongBench and SCBench evaluations extend the finding from cleanly aligned synthetic prefixes to irregular prefix chains and multi-turn workloads.

PCIe bandwidth remains a real penalty, particularly on cold misses and short contexts. But when prefix reuse is high and avoided prefill work is large, NVMe loading can win. The storage requirement follows from that comparison. Retrieval must be fast enough, including scheduling overhead, to stay below the workload’s recomputation cost.

What MLPerf Storage v3.0 adds by formally measuring KV cache I/O for the first time

MLPerf Storage v3.0 adds a named KV Cache test for LLM inference cache reads and writes, making this I/O path a formal benchmark workload for the first time. Released September 1, 2026, with submissions from 19 organizations, it gives engineers a public, comparable measure beyond individual research implementations. The suite also adds an S3 data layer alongside the POSIX interface it already has. Roughly one-sixth of all submissions used S3. Object-storage evaluation is now represented, though it is not yet the dominant access path in the submissions.

Training-read performance alone does not describe cache retrieval during serving. Nor does it establish checkpoint write performance. MLPerf Storage v2.0, released in August 2025, added checkpointing tasks to support decisions about checkpoint frequency and storage configuration at scale. These workloads show how storage behaves in ways that a single throughput figure would hide.

The two suites are converging toward a broader view of AI system performance in which storage is an explicit variable. They make GPU throughput insufficient as a purchasing criterion when production requests depend on KV retrieval or training jobs depend on sustained checkpoint writes.

How object storage at the RDMA layer changes the economics of KV cache at fleet scale

S3-compatible object storage separates cache capacity from the size of the GPU serving cluster. Prefix KV blocks are immutable after prefill, naturally content-addressable, and reusable across users, sessions, and compute nodes. Those properties suit shared object storage. Preserving the value of reuse requires reaching that capacity quickly enough.

ObjectCache’s prototype combines NIXL, Ceph RGW, and DAOS on a high-bandwidth RoCE cluster. For long contexts, object-store retrieval adds only a small fraction of latency over local DRAM because layerwise transfer overlaps with per-layer GPU computation. For shorter contexts, less computation is available to mask the transfer, so the latency gap widens. This is the same break-even constraint expressed through a networked tier.

Under shared bandwidth caps, the prototype’s scheduler adds less TTFT than equal bandwidth sharing, so the result depends on more than raw link capacity. Delivery order and allocation across requests also shape latency.

Stateless prefill and decode workers can share a common KV object store rather than depend on per-node DRAM pools sized for the retained working set. That architecture supports more concurrent sessions while placing cache capacity on commodity non-GPU hardware. How much that architecture helps depends on the workload’s context lengths and how its transfers behave.

What checkpoint I/O benchmarks reveal about training-side storage penalties

Training exposes the same dependency on data movement through checkpoint writes and recovery. A resumable checkpoint includes optimizer moments and an FP32 master-weight copy in addition to BF16 weights. Model size alone understates the storage requirement. A 70-billion-parameter model’s checkpoint is on the order of one terabyte, making frequent writes a substantial I/O demand.

Across a week-long training job, repeated checkpointing can consume a substantial fraction of GPU hours as I/O idle time. The checkpointing tasks introduced in v2.0 provide a reproducible measure of write bandwidth before procurement. A storage system that feeds training well may still cause a costly pause when the job saves its state.

GPUDirect Storage removes CPU staging from the checkpoint write path, and the cited checkpoint comparison shows a large BF16 checkpoint saving approximately 8.6 times faster with GDS enabled than through the standard path. A systematic study published in the Proceedings of the ACM on Measurement and Analysis of Computing Systems and presented at ACM SIGMETRICS 2026 gives a phase-aware design guideline. It recommends io_uring for inference’s small random I/O and GDS for throughput per core during pre-training and fine-tuning.

The recommended active-checkpoint architecture is a parallel filesystem backed by NVMe flash, with high sustained write bandwidth per thousand GPUs. S3-compatible object storage serves checkpoint archival. The inference and training requirements differ, but both make the storage path an explicit part of system performance.

What engineers should verify in their own stack before the storage layer becomes the silent failure

Benchmark the complete path against production workloads rather than infer performance from GPU or network specifications. Cache hit rate on the actual prefix distribution is the first question. It shifts the break-even between retrieval and recomputation, and no public dataset substitutes for a production trace replay. TTFT results need that context to be useful.

Next, check whether offloading uses asynchronous, scheduler-aware I/O or blocks the request schedule. The py-kvcache findings make transfer placement a testable design choice. Preloading and on-demand retrieval can produce different outcomes on the same devices. Tests should therefore check how much performance comes from the I/O path and how much comes from the hardware, covering page-cache access, NVMe-direct access, and GDS where they fit.

Checkpoint write bandwidth also needs an independent evaluation rather than a conclusion drawn from dataset read throughput. For inference storage procurement, the v3.0 KV Cache workload and S3 access layer provide reference points beyond the POSIX training workloads of earlier rounds. Teams should require results for both. Those results show how storage behaves, while production trace replays show whether it helps the serving workload.

The evidence does not establish that self-hosted inference is universally faster or cheaper than OpenAI or another vendor. The technical next step is to run the benchmark, check the production cache hit rate, and evaluate retrieval against recomputation on the target workload.

Sources

  1. DUAL-BLADE: Dual-Path NVMe-Direct KV-Cache Offloading for Edge LLM Inference
  2. Building py-kvcache: A Performance Characterization of External KV Caching for vLLM with NVMe SSDs
  3. ObjectCache: Layerwise Object-Storage Retrieval for KV Cache Reuse
  4. Understanding Bottlenecks for Efficiently Serving LLM Inference With KV Offloading

More in Build vs. Buy Decisions