Chiosa
Systems & Infrastructure

Berth lets background jobs share GPUs with request services

Berth: SLO-Preserving GPU Sharing Without New Preemption · arXiv:2611.25091

2 min
Updated

In plain words

Berth is a system for sharing a GPU between services that need quick replies and background jobs. In 31 tested workload scenarios, an average 95.8% of requests met their deadlines, close to 97.9% when each service used the GPU alone.

Berth pauses new background work when a service needs the GPU and shortens the background job’s turn when it is already running. The GPU’s built-in scheduler still handles the switching.

The research

GPU capacity reserved for quick-response services can sit idle, while background jobs can delay requests when they share it.

Berth’s results make a specific design choice easier to judge: whether controlling queued background work and limiting its turns can keep request deadlines near solo-service levels while still doing useful background work.

Berth controls background GPU launches and shortens their time slices so the built-in scheduler can prioritize deadline-sensitive services.

Across 31 workload scenarios, researchers compared Berth with services alone and 13 GPU-sharing approaches. An average 95.8% of requests met their service-level objectives, versus 97.9% alone, and Berth exceeded every sharing baseline.

Background jobs kept 48% of their solo throughput, 2.7 to 3.5 times the level under the four baselines closest in deadline attainment. This pairing shows Berth preserved request performance while allowing more background work than those alternatives.

The 95.8% figure is a mean across 31 scenario points, not a result for every workload. Berth cannot see request queues, and graphs launched from device code are not visible to its shim.

What the evidence shows

  • Control the GPU’s queue

    Berth is a user-space system that shares a GPU between latency-critical services and best-effort jobs. Its central move is to control when background work reaches the GPU and shorten that work’s time slice, so the existing scheduler can prioritize requests without new preemption support.

  • Compare request deadlines

    Across 31 scenario points, Berth’s average share of requests meeting deadlines was close to the average when services ran alone and higher than every tested sharing approach. These averages show how close the tested services came to solo performance, not that every point matched it.

  • Account for background work

    Across the same 31 scenario points, Berth retained more background-job throughput on average than the four sharing approaches closest in request deadline attainment.

    This shows that, in this suite, similar request results came with different amounts of background work; throughput is measured relative to each job running alone.

  • Test the combined design

    The long-kernel test asks whether launch control alone is enough when a background kernel is already running.

    In this grouped ResNet-50 and GEMM setting, requests met deadlines more often with full Berth than with feed control alone; because full Berth changes several mechanisms, the comparison supports the combined design without isolating the shorter slice.

Deep

Next paperTideCache shifts cache memory to where hybrid models need it