An H100 at Its Power Limit Gave 50% More Output with Shorter Prompts
I kept adding clients to an H100. Across the three loads where I could measure sustained output, it stayed near 9,000 tok/s. By the end of the sweep, the 95th-percentile time to first token had climbed from about 2 seconds to 23. The card was at its 700 W power limit the whole time. Later I shortened the prompt and got about 50% more output at the same power limit.
GPU · one NVIDIA H100 80 GB, 700 W power limit
Engine · vLLM 0.31.0
Model · Qwen/Qwen3-8B, BF16
Workload · 512-token prompt, 256-token output, prefix caching off
Load generator · closed loop, each client keeps one request in flight; 256, 512, 768 and 1,024 clients
Runs · one stress sweep of four levels and a follow-up pod of five rounds; eleven load phases, all at the power limit
Data · raw data and scripts will be published in a public repository after this series; this post will link to it then
The plateau
In a closed loop, every client sends a request, waits for the last token and sends the next one. If the server has room, more clients mean bigger batches and more output. If it has none, more clients mean a longer line.
I ran four levels, from 256 to 1,024 clients. Steady-state output was about 9,000 tok/s at 256 clients, and about 9,000 tok/s at 512 and at 768. The plateau was already there at the lightest load I tried. I have no measurements between 32 and 256 clients, so I can’t say where the curve bends. At 1,024 clients the run was too short to have a steady-state window, which is why the chart shows no thick segment there.
The thin line is the rate between two samples of the engine’s token counter. The thick segment is the steady-state rate of each level.
On the follow-up pod I repeated 512, 768 and 1,024 clients, with vLLM limited to 502 running requests, the number that fits in the KV cache at full length. Output was about 9,100 tok/s at all three levels, with no preemptions, and this time 1,024 clients had a steady-state window too.
Adding clients added waiting, not output. Time to first token at the 95th percentile grew from about 2 seconds at 256 clients to about 23 seconds at 1,024. That interval starts when the client sends the request, so it includes the wait for the engine to pick it up. At 1,024 clients half of the requests were each client’s first, all sent at the start; without them the figure was about 16 seconds. From the server’s side this looked like steady work. From the client’s side it looked like a long wait.
Was I missing work by counting only the output? With the request shape fixed, I could add the prompt tokens too, and the total held at roughly 26,000 to 27,000 tok/s at every level. So I looked at what the card was doing while they waited.
The card was at its power limit
In every load phase the board drew about 692 W against a 700 W limit. Power rose with the load, sat just under the limit, and dropped when the load ended.
A reading a few watts under a limit could be a coincidence, so I checked the reason the driver gives for the clock it selects. Under load it reported software power capping in nearly every sample, and it held the clock well below its maximum. It reported no thermal or hardware throttling.
That left the question of whose limit it was. A host can set a GPU’s power limit lower than the card allows. On the follow-up pod I read the enforced limit, the default limit and the maximum limit from the card. All three were 700 W in every sample. The limit is the card’s own.
What it wasn’t
A card at its power limit next to a flat output line is a correlation. Before calling it the cause, I went through the other things that can flatten output in vLLM.
- KV cache. At 256 clients, where the plateau already exists, the cache was less than half full and there were no preemptions. It did fill at 768 and 1,024 clients, and preemptions began there, after output had already flattened.
--max-num-seqs. Set to 1,024. The number of running requests never passed about 620.- The load generator. At 768 and 1,024 clients the server’s queue never emptied, and at 768 steady-state output was about the same as at 256.
- Engine CPU. The engine’s main thread used 51–61% of one core. I measured this on the follow-up pod; the first sweep did not record it.
- CPU quota. The container had 23.8 cores and zero throttled periods.
- Thermal or hardware throttling. None.
The power limit is the one candidate left on its boundary. That is elimination plus correlation, not an A/B test: I could not change the limit without root on the pod, so no run shows the card without it.
Same watts, shorter prompts
It would be easy to stop here and write down “about 9,000 tok/s” as what this card does with this model. The follow-up pod shows why that would be wrong.
I went back to 256 clients and ran the same workload again as a baseline. Steady-state output was 9,122 tok/s, close to the plateau on the first pod. Then I cut the prompt from 512 tokens to 200 and kept the client count, the output length and the server flags the same. Steady-state output rose to 13,772 tok/s, about 50% more. The card sat at the same power limit in both rounds.
The reason is in what a request asks the card to do. Before it writes 256 tokens, the card has to read the prompt, and reading takes the card’s time just as writing does. By my estimate, with 512-token prompts about 40% of the engine’s time went to reading prompts. The estimate comes from fitting step time to the counts of prompt and output tokens, so it is a calculation, not a direct measurement.
The first sweep has a direct check. In the seconds when every engine step carried only one new token per request and no prompt work, output averaged about 15,000 tok/s, and the follow-up pod gave the same. The card was at its power limit in those seconds too. When new prompts came in, output fell back.
By the same fit, reading fewer prompt tokens accounts for about two thirds of the gain. The rest came with two things these data can’t separate: shorter contexts in the decode steps, and a higher clock, a median of 1,725 MHz against 1,605 under the same power limit.
So the power limit caps how fast the card can run, and the shape of the request decides how much of the card’s time one output token takes. A benchmark that reports only generated tokens gives no credit for reading the caller’s input, but the caller still pays for that work in time. A tokens-per-second figure for a card means little without the prompt and output lengths it was measured with.
The token budget did not move the ceiling
There was one more knob to try. vLLM caps how many tokens it processes in one engine step, and I had set that budget to 2,048. In this version, each step gives every running request one output token and spends what is left of the budget on the prompts of new requests. A bigger budget lets more prompts into each step, so I doubled it to 4,096 and ran the long-prompt workload again.
Steady-state output was 9,192 tok/s against 9,122, less than 1% apart.
The per-step log shows why. With the larger budget, the steps that read prompts took in about twice as many prompt tokens, and each took about twice as long: 66 ms instead of 30 ms. There were half as many of them. By the same fit as before, the price of a prompt token did not change: about 23 microseconds in both rounds. A bigger step is not a cheaper step. The card was at its power limit in both rounds and each token cost the same time, so cutting the work into fewer, larger steps produced the same output.
What did change was timing. Requests that were already streaming had to sit through the longer steps, so the long gaps between two tokens moved from the 50–75 ms range to 100–150 ms. The queue did not get shorter. With short prompts the larger budget did not help either.
That makes two knobs with opposite results in these runs. A shorter prompt cut the card time one output token takes, and output rose by half. A doubled token budget rearranged the same work into fewer, longer steps, and output did not move.
What the short prompt exposed
The short-prompt round holds one more result, and it is not about the card. My load generator recorded a pause longer than 200 ms between two chunks in 1,689 of its 2,048 requests. vLLM’s own inter-token latency histogram, timed inside the engine, has no gap above 200 ms in that round. And the run passed my load check, which compares the peak number of running and waiting requests with the client count.
The next two ceilings were not the card: first my own load generator, then vLLM’s single API server process. That is the next post.
Appendix: How I measured
- GPU power, clock and throttle reasons: nvidia-smi, about once per second, on both pods; DCGM as well on the follow-up pod.
- Engine counters, queue length, KV cache use and preemptions: vLLM’s
/metrics, about once per second. - Server flags that matter here:
--max-num-seqs 1024,--max-num-batched-tokens 2048(4096 in the token-budget round),--gpu-memory-utilization 0.90. - Steady-state rate: the increase of the generated-token counter from the end of the first round of requests to the last request sent, divided by that time. It leaves out the simultaneous start and the drain. Each level sent 2,048 measured requests, so at 1,024 clients that window was too short to give a rate.
- The prompt-length comparison ran on two pods. On the later one, with the load generator fixed as the next post describes, the gain was 53% instead of 51%. The token-budget comparison is one pair of rounds on one pod.
- The stress sweep trips my own no-preemption validation gate at 768 and 1,024 clients, which is expected at that load. The plateau is already present at 256 and 512, where there were no preemptions, and the repeat on the follow-up pod passed the gate at every level.