Firepool: Brokering Warm GPU Capacity for Agentic and RL Workloads at LinkedIn
Organizations: LinkedIn.
Abstract
AI agents and reinforcement-learning (RL) trainers run thousands of short, isolated GPU jobs: tool calls, verifiers, and rollouts. A job often finishes in seconds, but starting a GPU pod for it takes 20-35 s even when the container image is already on the node, and minutes when it is not. A warm pod removes the wait only if it can serve the next job, and keeping pods warm must neither waste GPUs nor leak state between callers. Firepool, the sandbox and execution broker behind agentic and RL workloads at LinkedIn, meets both requirements. It makes pods interchangeable by building them from a shared base image per hardware profile and binding each job's code, extra dependencies, and cluster topology when the job starts. It keeps them warm cheaply and safely by reusing a pod only for the caller that used it last, staging zero-VRAM standby pods in fractional GPU shares alongside active pods, and capping the GPUs that warm pools may hold via queue-driven budgets. Over a sampled peak period in production, Firepool serves 94.7% of 3,206 pod requests from warm or standby capacity. In paired benchmarks with fixed-duration jobs on production H200 nodes, agent and RL loops finish 13x and 10.8x faster than with a fresh pod per job; against a fresh reuse tag per job, warm reuse cuts p90 start latency from 59.1 s to 3.5 s. When a job cannot reuse the previous pod, standby promotion shortens the handover wait from 51 s to 0.94 s. In local and simulated runs, a keep-alive matched to the loop's pauses keeps the latency benefit while holding about half the capacity of an always-on pool.
Figures & tables
| Phase (pod creation first instruction) | Median | p90 |
|---|---|---|
| Scheduling and GPU device binding | 3.8 s | 12.8 s |
| Platform init containers | 14.0 s | 17.0 s |
| of which credential fetch | 5.0 s | 8.5 s |
| Mounts, image check (around init) | 2.0 s | 2.0 s |
| In-pod agent ready, job started | 2.0 s | 3.1 s |
| Total, image cached | 22.1 s | 34.7 s |
| Approach | Fast start | Few idle GPUs | State isolated between jobs |
|---|---|---|---|
| New pod per job (K8s Job) | No | Yes | Yes |
| Persistent workers (Ray, static pool) | Yes | No | No |
| Serverless keep-alive | After first job | Partly | Per function |
| Warm-pool controllers (agent-sandbox, SageMaker) | For matching jobs | Per pool | Per claim |
| Images pre-cached on nodes | Removes pull only | Yes | Yes |
| Firepool | Yes, when warm | Capped by budget | Per caller |
| Scope | Warm or standby |
|---|---|
| All pools (3,206 acquisitions) | 94.7% |
| Single-GPU H200 pool | 98.6% |
| Second single-GPU H200 pool | 97.7% |
| Standby when idle pods ran out | 187/222 (84.2%) |
| Load | Pod obtained by | Submit first | Pod first |
|---|---|---|---|
| p50 / p90 (s) | p50 / p90 (s) | ||
| Quiet | Warm reuse | 1.8 / 3.5 | 0.5 / 0.7 |
| Standby promotion | 2.4 / 50.4 | 0.5 / 0.7 | |
| New pod (base image) | 65.2 / 114.4 | 0.6 / 0.7 | |
| Burst | Warm reuse | 53.0 / 267.6 | 0.4 / 0.6 |
| Standby promotion | 112.1 / 278.6 | 0.3 / 0.5 |
| H200 vs fresh pod per job | vs Reuse Off (fresh tag per job) | ||||
|---|---|---|---|---|---|
| W-Agent (720) | W-RL (880) | H200 Agent (380) | CPU RL (528) | CPU Agent (444) | |
| Start p50 (s), On / Off | 0.61 / 89.5 | 3.92 / 115.8 | 1.91 / 2.29 | 2.83 / 52.6 | 1.78 / 27.5 |
| Start p90 (s), On / Off | 3.51 / 354.6 | 80.8 / 315.2 | 3.52 / 59.1 | 29.9 / 62.0 | 52.8 / 58.0 |
| Paired p50 diff. (s) | +95.4 [82.4, 107.8] | +119.1 [105.5, 134.4] | +0.43 [ 0.03, 0.84] | +43.7 [36.2, 49.1] | +25.5 [24.9, 26.1] |
| Makespan (s), On / Off | 119.3 / 1,554.2 | 163.0 / 1,761.9 | 51.8 / 186.4 | 116 / 516 | 186 / 403 |
| Loop speedup | 13.0 | 10.8 | 3.6 | 4.5 | 2.2 |
| Standby on | Standby off | |
|---|---|---|
| Handovers served by standby | 101/117 (86%) | 0/156 |
| Queue wait at handover, median | 0.94 s | 51.0 s |
| Submit first instr., p50 | 1.66 s | 28.2 s |
| Loop makespan, median (3.0 ) | 337 s | 1,023 s |
| Test | Result |
|---|---|
| Broker killed 30 under load | 0 lost, 0 duplicated jobs; 90/90 owner holds restored; dispatching 0.045 s and first claim 3.0 s after restart; API reachable 20 s after the kill |
| Rollout, saturated pool | Converged in 324 s; 12/12 callers served; 0 failed jobs; cap never exceeded; p50 +0.03 s vs. no rollout |
| Gang claims, =2–8 | 0 partial claims in 50 jobs; warm claim 0.27–0.45 s |
| Tracker, 100k pods | 110k–220k claims/s; lock 1.5–2.6 s; 1 KB/pod |
| Durable dispatch | One replica: MySQL 483, PostgreSQL 2,365 jobs/s |
| kwok, 20k pods | No API throttling; Firepool’s own create rate binds first |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Pattern | s | s | s | s | s | Fresh pod per job |
|---|---|---|---|---|---|---|
| Steady | 0.435 (+0.38 s) | 0.571 (+0.08 s) | 0.679 (+0.01 s) | 0.916 | 1.543 ( 0.02 s) | 1.347 (+22.8 s) |
| Bursty | 0.371 (+0.64 s) | 0.476 (+0.27 s) | 0.615 (+0.13 s) | 0.849 | 1.484 (+0.09 s) | 0.646 (+23.0 s) |
| Diurnal | 0.486 (+0.37 s) | 0.606 (+0.01 s) | 0.659 (+0.03 s) | 0.860 | 1.124 ( 0.01 s) | 1.543 (+22.9 s) |