TECHNOLOGY

PrefixBench-H100: prefix reuse, scheduling and different latency tails

In this article
THE QUICK TAKE

Warm-prefix reuse reduces prefill, while median latency, tail latency and scheduler explanations remain separate results.

A single-H100 study of reuse and arrival patterns

PrefixBench-H100 examines when shared prompt prefixes improve serving latency and when other costs dominate. The full preprint uses a single H100 NVL with 94 GB, comparing vLLM and TensorRT-LLM, primarily through the latter’s PyTorch backend. The principal workload uses Qwen2-7B-Instruct with BF16 weights and KV state.

This is a specified serving experiment, not a new caching algorithm or an unconditional recommendation for every H100. The workload varies prefix length, distinct prefixes, request timing and output length. Those axes matter because a reusable prefix can be present while a request still waits for admission or execution.

The large first-token reduction is a warm-reuse result

At an 8192-token shared prefix and sequential requests, the paper reports median first-token time falling from 345.1 to 53.0 ms for vLLM when reuse is enabled, and from 306.1 to 58.2 ms for TensorRT-LLM. The first request populates the cache, so the reported median mainly represents warm reuse.

The official vLLM explanation identifies the underlying boundary: prefix reuse avoids repeated prefill work, rather than caching a completed answer or eliminating generation of new tokens. A large first-token improvement therefore need not become an equally large reduction in whole-request duration, especially with long outputs.

The prefix-caching guide explains why the cold request and subsequent reuse requests belong in separate workload descriptions. Repetition in a controlled trace does not establish the same reuse share for unrelated production documents.

Median leadership does not determine the tail

In the paper’s burst comparison at concurrency 32, the stated median first-token times are 759 ms for vLLM and 319 ms for TensorRT-LLM. However, the same passage reports the corresponding 95th percentiles as 1.30 and 1.58 seconds. The ordering reverses between those summaries, despite prose suggesting the same tail trend.

Accordingly, the median advantage cannot be described as a demonstrated tail-latency win. Nor can it identify the preferred runtime without the application’s objective. A service prioritizing typical responsiveness and one prioritizing a strict high-percentile target can reach different conclusions from the same request population.

Similar hit rates narrow the explanation without proving a scheduler cause

The authors normalize different native cache counters to a shared token-reuse fraction. Similar fractions make a large difference in cache effectiveness a less persuasive explanation for the observed timing gap. They also measure increasing queue delay on the vLLM side.

The paper explicitly lacks comparable TensorRT-LLM queue instrumentation and presents the cross-runtime scheduling explanation as its best-supported hypothesis. Eliminating one candidate explanation does not fully isolate another. Fixed-rate arrivals in this study are evenly spaced, rather than a random arrival process, so that regime must remain distinct from burst traffic and irregular live demand.

The benchmark-method guide explains why protocol, percentile and timing scope belong beside each result. PrefixBench additionally examines memory pressure by increasing model footprint or constraining cache capacity. Those checks support testing the working-set boundary, while the broad single-device and backend limitations remain. The useful contribution is a qualified operating map: reuse, scheduling, throughput and tail behavior need separate evidence, even when they share one cache configuration.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles