Mingxin Technology

Sizing NVMe-oF KV Cache Tiering for LLMs: Practical Guide

Published 2026-07-28 · Mingxin Technology Insights

Large language model (LLM) inference at scale depends not only on compute but on how you move and cache key-value (KV) context efficiently. NVMe-oF-based KV cache tiers are becoming the go-to approach for cost-effective, low-latency KV storage — but sizing them correctly requires measuring workload characteristics, setting SLAs, and mapping those to cache capacity, throughput, and network resources.

Why KV cache tiering matters for LLM inference

Modern LLM serving uses KV caches for attention/key-value retrieval, tokenizer lookups, and embedding stores. A well-sized KV cache reduces end-to-end latency, lowers load on backend stores, and improves effective throughput per GPU. NVMe-oF (NVMe over Fabrics) lets you place fast, shared SSD-backed KV tiers in the datacenter and achieve higher utilization than local-only caches — but it introduces network and protocol considerations that impact sizing.

Key metrics you must collect first

Collect real traces (sampling at production traffic levels) for at least several hours of representative traffic. Synthetic microbenchmarks are useful but can't replace distribution and TTL patterns seen in production.

Practical sizing steps (step-by-step)

  1. Define the target hit rate and latency SLA

    Decide the required cache hit rate to meet latency/throughput goals. For many production LLM pipelines, architects target hit rates in the 70–95% range depending on cost trade-offs and tail-latency tolerance.

  2. Estimate working set bytes and required cache capacity

    • Measured working_set_keys = number of unique keys accessed in the hot window.
    • avg_kv_size = average bytes per KV.
    • baseline_capacity = working_set_keys * avg_kv_size.

    If keys follow a Zipf distribution, achievable hit rate increases strongly with a modest overprovisioning of capacity. A conservative rule: provision 1.2–2x the measured working set to absorb churn and operational variance, then tune from metrics.

  3. Map throughput requirements to NVMe-oF bandwidth and IOPS

    • per-request_lookups * QPS = total KV ops/s. Multiply by average IO size to get bandwidth.
    • NVMe-oF platforms are parallel and scale by target port/NICs and multiple initiators; check the vendor's multi-queue and RDMA characteristics.
  4. Account for miss-path cost and backend capacity

    • Misses hit the backend store; ensure backend IOPS and network capacity can absorb miss amplification during traffic spikes.
    • Consider admission control or backpressure (e.g., prefer staled-but-available cached values) to avoid overloading origin storage.
  5. Plan for headroom and failure modes

    • Provision spare capacity for rebuilds, rebalancing, and transient spikes (typical spare 10–30% depending on SLA).
    • Design for node failure: if an NVMe-oF node fails, determine how hit rates and latency degrade and ensure acceptance criteria.

Network, protocol and latency considerations

NVMe-oF over RDMA or TCP has different operational characteristics. When sizing:

Comparison: cache tiers at-a-glance

Tier Typical latency order Best use case Cost profile
DRAM (local) sub-10 µs Ultra-low-latency hottest keys Highest $/GB
Local NVMe SSD 10s–100s µs Per-node hot cache, single-GPU locality High $/GB
NVMe-oF shared KV cache 10s–100s µs (network-dependent) Shared hot tier across servers; better utilization Medium–high $/GB
Cold object store (S3) milliseconds Large archive / long-tail keys Low $/GB

(These ranges are illustrative; measure your fabric and devices for precise numbers.)

Monitoring and continuous tuning

Vendor evaluation checklist

When evaluating NVMe-oF KV cache platforms consider:

For example, some vendors publish signed benchmarks showing production-model LLM improvements; Mingxin Technology’s FX series all-flash NVMe-oF platforms provide signed test reports indicating inference throughput improvements and TTFT reductions on a 480B model — review such reports for details and reproducibility at https://mingxinstorage.xyz.

Example quick-sizing checklist (operational)

Key takeaways

Resources: start with production traces, iterate with controlled load tests, and use vendor reproducible reports for cross-checks (e.g., Mingxin Technology FX series details at https://mingxinstorage.xyz).