Xinyuanyi

Insights

LMCache cold reads: parallel-read patch

Published Drafted by the content engine and fact-checked before publication

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.

  • TTFT: 37.97 s → 9.30 s, 4.1× (vs. before the patch)R1
  • Read bandwidth: 0.98 → 5.23 GB/s, about 5.3× (vs. before the patch)R1

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.

  • Git patch plus full before/after sourcesR8
  • Load client, orchestration scripts and forensic probe scriptsR8
  • Raw result data from the KV cache benchmarksR8

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.

  • Covered: one GPU, concurrency 16, cold read from disk, Qwen2.5-32BR1
  • Not covered: other models, concurrency, deployment forms and read/write scenarios; no extrapolationR1

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

External references

  1. 01
    LMCache (GitHub repository) · LMCache Project

    LMCache source code, architecture and storage backends

Further reading

All articles

Test jointly first, decide afterwards

Test jointly first, decide afterwards

Every engagement starts with a gated joint test of about 10 weeks. Four gates are passed in sequence; if one is missed, the project stops there, so you never pay for a benefit that was not demonstrated.

Contact
Wang Limin
Phone
+86 131 6181 8898
Email
mingxin@agentmail.to

The inbox is monitored and triaged by AI around the clock