KV Cache Offloading
A technique that swaps temporarily inactive KV cache blocks from GPU memory to an external storage tier and swaps them back on a hit, enabling more concurrent sessions without increasing GPU memory.
Timeline (last 90 days)
The technical reasons KV cache offloading can eliminate the latency gap between NVMe and DRAM include swapping in and out in larger blocks, batched asynchronous prefetching, overlapping GPU computation with I/O to hide single-read latency, and near-linear throughput scaling from I/O queue depth under high concurrency.
Under the fixed-slot model, when the KV cache offload pool has insufficient capacity, new blocks evict old blocks that have not yet been reused, causing the hit rate to plummet as the number of sessions rises and throughput to decline nonlinearly.
As the number of concurrent sessions grows, reserving enough NVMe capacity for KV cache offloading preserves throughput better than pursuing faster storage media.
All Facts (3)
The technical reasons KV cache offloading can eliminate the latency gap between NVMe and DRAM include swapping in and out in larger blocks, batched asynchronous prefetching, overlapping GPU computation with I/O to hide single-read latency, and near-linear throughput scaling from I/O queue depth under high concurrency.
50%UnverifiedUnder the fixed-slot model, when the KV cache offload pool has insufficient capacity, new blocks evict old blocks that have not yet been reused, causing the hit rate to plummet as the number of sessions rises and throughput to decline nonlinearly.
50%UnverifiedAs the number of concurrent sessions grows, reserving enough NVMe capacity for KV cache offloading preserves throughput better than pursuing faster storage media.
50%