Manuscript Offprint

arXiv:2611.08720

The GPU Needs an Operating System

Reza Nourai, Behnam Bastani

Abstract

AI chips sit mostly idle while serving models, because replies must be fast and each step waits on memory. On two large open models, the math units were busy only about 6–11% of the time. We argue the GPU needs an operating system that keeps urgent work on schedule and fills idle capacity with other useful work. A feature that ships today recovers a quarter of a GPU with work designed to share, and a tenth with real jobs, at 5% slower decode. Our research system does better: one resident kernel runs a whole model faster than vLLM's best for a single request, and shares the GPU at under 2% slowdown. Scaling beyond one hand-built model needs compilers and a few new chip features, which we specify.

1 Introduction

The chips that run AI are expensive, scarce and power-hungry, yet most of the time they are barely working. To reply quickly, a GPU works on only a few requests at a time. Each request bottlenecks on memory, leaving the math units idle. On a large, widely used open model, the math units were busy only about 7% of the time. We pay for the whole chip and use a fraction of it.

Computers solved this decades ago with the operating system. A laptop runs a browser, music and a backup at once because the operating system shares the processor and memory and lets urgent work go first. GPUs have nothing like it: each AI program assumes it owns the whole chip. We argue the GPU needs its own operating system, one that keeps urgent work, like a person waiting for an answer, on schedule and fills idle time with useful work such as batch jobs, training or evaluation.

Why we wrote this. OpenInfer is an R&D lab working on the systems problems that keep AI from running as efficiently as its hardware allows. Idle accelerators are one of the first and largest of those problems.

The paper makes the case in seven steps.

  1. Today's systems waste the hardware (§2). How idle GPUs are when serving large models at realistic response times, and why.

  2. The future is an operating system for the GPU (§3). What it would manage, and how it would decide what runs when.

  3. It cannot simply be bolted on (§4). Today's AI programs are not written to share a chip. Work must be split into pieces that can pause and resume, and compilers, not people, should do the splitting.

  4. What today's features achieve (§5). A feature that ships today puts a good part of the idle capacity to work, but real off-the-shelf jobs recover much less, which shows where the effort must go.

  5. What we have built (§6). A research system that runs a whole model in one resident kernel and shares the GPU at a fraction of the cost.

  6. What needs new chips (§7). Some limits software cannot fix. We ask chip makers for three features: fast pausing of background work, priority for urgent work in memory, and partitions the hardware enforces.

  7. Where this goes (§8). When chips, software and models are designed together for sharing, far more of what we pay for gets used.

The body is written for technical readers who are not GPU specialists; the appendix gives every number and its source.

References (25)