When Two Models Share One GPU, Does One Long Log Block Everyone Else?
With two models loaded on the same GPU, the on-call engineer's short question can stall while the other model reads a 16,000-token log. A test plan that measures short-request p95 time to first token and long-job completion across solo, co-loaded and concurrent conditions, so the case for a second GPU rests on which requests waited and for how long.
The on-call engineer asks, "What version just went to production?" The answer is one line. As luck would have it, another model on the same GPU has just started reading a 16,000-token error log. Both models are in memory and the hardware is healthy. The on-call may still be staring at an empty response. What to check before buying is how much the short request's wait grows the moment a long job arrives.
Memory math tells you whether two models fit on one GPU. Whether that setup is fit for operations depends on how much short requests have to wait the moment a long input arrives.
Which conditions need to be measured separately?
Give model A a 500-token question and model B a 16,000-token log. Fix the output caps at 64 and 512 tokens respectively. After confirming each model runs on its own, send 100 short requests at the same times and intervals under each of the conditions below.
| Condition | Models loaded on the GPU | Difference to look for |
|---|---|---|
| A alone | Only A loaded, handling short questions | Baseline response time for short questions |
| A and B loaded | B receives no requests, only A works | Change in memory headroom and latency just from having both models loaded |
| A and B concurrent | Long log sent to B while A is answering short questions | How much A's waiting and errors grow while a long input is processed |
What should you record instead of the average?
Record per-model percentiles and queue metrics instead of the average. Averages erase the experience of the few on-call engineers who arrived at the wrong moment. So for each model keep the 95th percentile (p95) time to first token, time spent in the queue, peak memory use, and failure count. Record when the long log summary finished as well. That shows whether the long job was pushed back indefinitely to keep short answers fast.
Serving engines such as vLLM expose time to first token, queue time and KV cache utilization as separate metrics. Features that split long inputs into chunks behave differently depending on the engine and batch settings, so measure with the feature on and off under the same load.
How do you build the case for a second GPU?
Say the internal targets are a short-question p95 of 3 seconds and long-log completion within 90 seconds (example targets). If short requests only fall behind under concurrency, cap the number of concurrent long jobs and rerun the same load. If both targets are met, you have grounds for running on one GPU. If the targets are still missed with long jobs capped at one, separate the devices and repeat the same test. If you're still choosing hardware, feed this test's wait times into the Mac Studio vs H100 comparison on the same tickets or GPU sizing by user count. You can then explain why a second GPU is needed in terms of which requests waited and for how long.
- #gpu
- #llm
- #on-prem
- #sre
- #poc
- #performance