Prefill vs Decode: The GPU Scheduling Trade-off in LLM Inference

A 50-token chat question should prefill in 2 ms. In bimodal production traffic, P99 TTFT spikes to 56 ms — a 216% penalty from a single long RAG request arriving one millisecond earlier. This post measures what happens when two incompatible workloads share a GPU scheduler.

March 20, 2024 · 8 min · 1697 words · Pratik Patre

The Preprocessing Barrier (Part 2): How Preprocessing Starves Your GPUs

nvidia-smi reads 95% GPU utilization while throughput stays flat and latency degrades 18×. This post investigates the Utilization Illusion — and shows how decoupling preprocessing recovered 40% of GPU capacity the monolithic architecture left on the table.

February 12, 2024 · 8 min · 1497 words · Pratik Patre