KVStash changelog

Dated changes to KVStash, its connectors, its published studies and this site, newest first.

Last updated

  1. Benchmarks

    Benchmark pages: clearer comparisons

    • Engine's own cache shown. The studies compare KVStash with recomputing, which is what an engine does after a restart. Each study now also shows the engine's own cache where we measured it (faster while the engine still holds the prompt), and states run counts, same-machine setups and memory per figure.
    • 524k study. It now explains what its checker prints and publishes the AWS runs behind its predicted band; a number that did not render is fixed.
    • New: Study 3. KVStash next to vLLM 0.33's own GPU prefix cache and CPU tier on the same GPUs, before and after an engine restart, including Study 2's 524k-token prompt, with every request downloadable.
  2. Releases and docs

    Daemon downloads, fixed adapters, docs checked end to end

    • Daemon download: kvblockd 0.2.3 for Linux x86-64 and arm64 (macOS arm64 for development) from the install page, or curl -fsSL https://kvstash.com/install.sh | sh. Over 0.2.0 it retries busy NVMe reads inside a GET, waits for response memory instead of closing a connection, starts NVMe demotion as soon as a write burst needs it, starts with a DRAM arena under 128 MiB, and counts blocks evicted from DRAM before they reached flash (kvb_nvme_dram_only_evictions_total, also on the Grafana dashboard).
    • PyPI: kvblockd and KVStash 0.2.0 link these docs instead of a private repository. sglang-kvblockd 0.2.1 runs on SGLang 0.5.23, adds python -m sglang_kvblockd.identity, and ties keys to the host memory layout SGLang builds (0.2.0 is yanked). lmcache-kvblockd 0.2.1 refuses to store when LMCache lacks its compiled kernels. vllm-kvblockd 0.1.2 never caches requests with prompt embeddings.
    • Checked end to end: each release file was installed in clean containers, and each adapter run on a GPU with the official vLLM or SGLang image, before publishing; the steps are on the install, SGLang and vLLM pages.
    • Docs fixes: the S3 tier needs one NVMe volume, a region and an unversioned bucket, with two more IAM actions; pip install goes into a virtual environment; the admin token must be readable by the daemon's user; and bursty writers should start NVMe demotion earlier.
    • LMCache: not recommended with LMCache 0.5.6 yet: in LMCache's own image a prompt reloaded from LMCache's cache answered wrongly, with or without KVStash. Use the native vLLM connector.
  3. Docs

    Documentation

  4. Site and studies

    kvstash.com launched with Studies 1 and 2

    Time to first token, one 524k-token prompt on vLLM (medians across 6 machines)

    474 s→2.77 s

    145.6-194.2x faster, passkey answers identical to vLLM's own cache. vLLM 0.25.1 with the KVStash native connector, GLM-4-9B-chat-1M (fp8 KV cache), one NVIDIA L40S per machine, store on the same host over TCP, 6 Modal machines, 4 Nov 2026. Median of 5 timed requests per machine.

  5. Study

    Study 1 measured on SGLang

    KVStash measured as the HiCache storage tier of SGLang 0.5.15.post1, on Qwen2.5-7B-Instruct, on L40S and H100 GPUs: prompt-length sweep, serving load, server restart, several servers sharing one store, correctness and failure tests, and a first NVMe tier read.

    Time to first token, one 110k-token prompt

    20.8 s→1.5 s

    13‑19x faster time to first token than recomputing, across 8 runs on separate machines (median about 14x). SGLang 0.5.15.post1, Qwen2.5-7B-Instruct BF16, one L40S, KVStash on the same host. Median of 5, verified cache flush, 29 Oct 2026.

  6. Connector

    vLLM 0.27 layout change handled in the connector

    The vLLM connector (vllm-kvblockd) now supports vLLM 0.27, which changed the memory layout of its KV cache. It was retested on 0.27.1 with the July reload test.

    131k-token prefix reloaded into a fresh vLLM 0.27.1 engine

    88.2 s→1.87 s47.2x

    vLLM 0.27.1, same model, fp8 KV, A10G. About 7% below the 0.25.1 result; 0.27 changed the KV cache memory layout and the connector was updated for it.

  7. Connector

    vLLM connector reloads a 131k-token prefix

    The native vLLM connector loaded a 131,072-token prefix from KVStash into a fresh vLLM 0.25.1 engine instead of recomputing it.

    Recompute against reload from KVStash

    82.9 s→1.63 s50.9x

    vLLM 0.25.1, Qwen2.5-7B-Instruct-1M (standard attention), fp8 KV cache in both arms, one A10G, store over loopback TCP, 30 Jul 2026. Answers: the first 8 generated tokens were identical on the 2 of 6 prompts with a clear top choice; the other 4 were near-ties (top two tokens within 2 nats), excluded by a rule set before the run, and the 2 compared prompts reached only 4 blocks deep. Correctness of the full prefix rests on per-block checksums and hit counts. The 524k study above checks answers at full depth.

Bring one workload. We will measure it with you.

Tell us your engine, model, GPUs and where context repeats or gets lost. We reply with what we would measure, what success looks like, and when KVStash is not worth it.

Or write to rudray@kvstash.com