# vLLM's block-major KV layout halves NVLink transfer time

> Original title: KV transfer: reducing copy overhead on NVLink

- Source: Prime Intellect
- Published: 2026-10-02T22:17:09.000Z
- Bad Influence: https://badinfluence.news/items/dfxintl4lolptf2cejffyss9f
- Original: https://x.com/PrimeIntellect/status/2106146494441218551

## Summary

vLLM changed its KV cache layout to block-major BLHNC, cutting transfer descriptors about 10x and halving mean KV transfer time on NVLink. The original slowdown came from fragmented KV layout that split one 200K-token request into 32K tiny copies, making NVLink slower than InfiniBand.

## Post

KV transfer: reducing copy overhead on NVLink

At first, KV transfer on NVLink is slower than InfiniBand due to KV layout fragementation: one 200K-token request turned into 32K tiny copies.

vLLM's block-major BLHNC layout cut transfer descriptors ~10x and cut mean transfer time by half.

![](https://badinfluence.news/api/img-proxy?u=https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHTqI0qNaAAAC6Ls.jpg&mode=thumb&exp=1795651200&sig=7ad6a3232e56546d)
