Question
Why is LMCache slow when cold-reading KV cache from disk, and how much does the parallel-read patch help?
Short answer
Cold reads from disk run through a serial read path, so read bandwidth stays low and TTFT stretches out. On one GPU, concurrency 16, cold read from disk, Qwen2.5-32B, the LMCache parallel-read patch takes TTFT from 37.97 s to 9.30 s, a 4.1× gain, and read bandwidth from 0.98 GB/s to 5.23 GB/sR1. The patch and its full before/after sources are in R8, so the run can be reproducedR8.
Why the serial read path becomes the bottleneck
Under the R1 test conditions, when LMCache cold-reads KV cache from disk, the read path is serial: requests are read one after another, and at concurrency 16 on one GPU read bandwidth is only 0.98 GB/s while TTFT reaches 37.97 sR1.
R1 reports the before/after readings and does not go into the internal implementation of the read pathR1.
Scope matters: these numbers come from one GPU, concurrency 16, cold read from disk, Qwen2.5-32B. A different model, concurrency or deployment form is not covered by this set of readings and cannot be extrapolatedR1.
- Test platform: 8 × AMD Instinct MI308X, ROCm 7.2, vLLM 0.20.1+rocm721, LMCache built from upstream mainline 2026-06-29R1
- Device under test: FX100 all-flash NVMe-oF array, 4-drive RAID0 (14 TB, XFS), RoCEv2, one 100 GbE portR1
- Baselines: a single local NVMe drive (PCIe Gen4, 2 TB); no external storage, full recomputeR1
TTFT and read bandwidth before and after the patch
Before the patch, one GPU at concurrency 16 cold-reading from disk showed TTFT of 37.97 s and read bandwidth of 0.98 GB/s; after the parallel-read patch, TTFT was 9.30 s and read bandwidth 5.23 GB/s, a 4.1× TTFT gain and about 5.3× on read bandwidthR1.
Keep the two multipliers apart: 4.1× is the TTFT gain versus before the patch, and about 5.3× is the read bandwidth gain versus before the patch. Both come from the same one-GPU, concurrency 16, cold-read-from-disk readingsR1.
The same report also defines baselines against a single local NVMe drive and against full recompute, but this set of TTFT and read bandwidth numbers corresponds only to the before/after patch comparison and is not mixed with those baselinesR1.
Where to get the patch and how to reproduce it
R8 is the FX100 KV cache test code export and raw benchmark data. It contains the LMCache parallel-read patch as a git patch plus full before/after sources, along with the load client, orchestration scripts, forensic probe scripts and the raw result data from the KV cache benchmarksR8.
The patch and the material needed to rerun the tests sit in the same export package, so a third party can rerun the tests from R8 and check the R1 readingsR8.
R8 uses the same test platform, AMD Instinct MI308X with ROCm 7.2, as R1R8.
What these readings cover and what they do not
This set of readings covers one GPU, concurrency 16, cold read from disk, Qwen2.5-32B, with the pre-patch state as the baselineR1.
With a different model, a different concurrency, a different deployment form, or a changed read/write scenario, this set of readings does not cover the case and cannot be extrapolatedR1.
For obtaining and reproducing the patch, R8 is the referenceR8.
Related questions
How much does the parallel-read patch improve TTFT?
On one GPU, concurrency 16, cold read from disk, Qwen2.5-32B, TTFT goes from 37.97 s to 9.30 s, a 4.1× gain, and read bandwidth from 0.98 GB/s to 5.23 GB/sR1.
Where can I get the patch?
In R8, which includes the git patch with full before/after sources, the load client, orchestration scripts, forensic probe scripts and the raw result data, so the run can be reproducedR8.
Does the 4.1× gain hold for another model or concurrency?
These readings correspond only to one GPU, concurrency 16, cold read from disk, Qwen2.5-32B; another model or concurrency is not covered and cannot be extrapolatedR1.
Related test reports
- R1FX100 Comprehensive LLM Inference and Training Benchmark (8 × AMD MI308X)One report, five questions: how much the LMCache parallel-read patch helps, whether KV tiering scales across GPUs, how much faster 8 GPUs load models concurrently, how effective utilization changes under frequent model switching, and how much faster concurrent training checkpoint writes become. Test models are Qwen2.5-32B and 7B.
8 × AMD Instinct MI308X · ROCm 7.2 - R8FX100 KV Cache Test Code Export and Raw Benchmark DataEverything a third party needs to rerun the tests: the LMCache parallel-read patch (git patch plus full before/after sources), the load client, orchestration scripts, forensic probe scripts and the raw benchmark data.
AMD Instinct MI308X · ROCm 7.2
External references
- 01
Further reading
How to Accept an Inference Storage Project: 4 Gates
Split acceptance of an inference storage project into four gates on a weekly schedule: delivery, single-node baseline, main joint-test gate and stability sign-off.
SourceR1R2R3R8
What Is KV Cache Tiering, or Offloading?
KV cache tiering, also called KV cache offloading, keeps overflow cache in RAM and flash and reads it back instead of recomputing.
SourceR2R3R8
Recompute or Read Back? KV Cache on a 480B Model
Full recompute versus reading KV cache back from FX100 on a 480B model at concurrency 16: time to first token, throughput, test conditions and how to reproduce.
SourceR2R3R4R8