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
Figure 1: One repeat of a two-agent tool loop on a production H200 node under a two-GPU cap. Bars show each job’s wait, colored by how its pod was obtained, then its run. Top: a fresh reuse tag per job retires every pod, and jobs that wait for a new pod hold up the agent’s next steps; the repeat takes 185 s. Bottom: Firepool reuses each agent’s warm pod and the repeat finishes in 53 s. The medians over 10 paired repeats: 186.4 s and 51.8 s (§ 9.1 ).
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
Table 1: Anatomy of a cold start on a production H200 node with the 12.2 GB image cached on the node (88 pods). Phase percentiles do not sum to the total.
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
Table 2: How common approaches handle bursts of short GPU jobs. Characterizations of other systems reflect their public documentation. Firepool’s pool policy reproduces the first three regimes for controlled comparisons (§ 7 ).
Figure 2: Firepool architecture. Callers submit jobs to one broker per Kubernetes cluster, which records them in a durable job store. The dispatcher claims a warm pod from an in-memory tracker in one atomic step and starts the job through the pod’s agent, which fetches the job’s code package. A pool controller creates and retires pods from queue depth and budgets.
Figure 3: Closing the gap between boundary-crossing jobs on one GPU. (a) When Pod A must be held for its owner or retired, Job 2 waits for a new pod. (b) Standby pods B–D share A’s GPU in fractional scheduler slots but run no CUDA context and hold no VRAM. When Job 1’s processes are gone, a per-GPU gate promotes B with the whole card’s memory while A is held or retired off the critical path.
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%)
Table 3: Warm-or-standby service in production over a sampled 14-hour peak period, including a 3-hour burst of ∼ 2,500 single-GPU H200 jobs. Pool rows are broker counter rates; the standby row counts per-job records.
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
Table 4: Start latency by how the pod was obtained, single-GPU H200 pools, one week. Submit → first is what the caller sees, including queueing for quota; pod → first is setup after a pod is assigned. Quiet: an uncontended pool; burst: the burst above, where new base-image pods are not broken out.
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 ×
Table 5: Warm reuse against a fresh pod per job (H200) and against per-job reuse tags (H200 and CPU), production nodes. Percentiles pool all jobs; the paired difference is the median of per-repeat p50s, Off/Fresh minus On, with 95% bootstrap CI. Makespan is the median over repeats. (N) counts jobs over both arms. Agent columns ran 4 agents, except H200 vs Reuse Off (2). The fresh-pod columns ran the event-driven dispatcher of § 3 ; the Reuse Off columns ran an earlier, tick-driven one with the reuse tag as a retiring boundary (§ 5 ). Speedups use unrounded medians.
Figure 4: Start-latency distributions, all repeats pooled (circles p50, triangles p90). (a, b) On CPU, Reuse Off shifts most jobs right by a pod start. (c) On H200 the medians are close because Reuse Off jobs often land on standby or recycled pods; the gap is the tail of jobs that wait for a new pod under the two-GPU cap. (d) The standby benchmark (§ 9.3 ), a fresh reuse tag per job, all jobs.
Figure 5: Environment fragmentation (simulator, Firepool’s control plane, CPU calibration with a 22 s pod start, 64-pod budget, Zipf-distributed environments, 10 paired seeds). One late-bound pool stays flat as the number of distinct environments E grows; a pool per environment roughly doubles held capacity when each may grow to the budget, and with the budget split it sharply raises tail latency while still holding more than the shared pool.
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
Table 6: Standby on H200: 2-GPU pool, 10 paired repeats of 30 sequential jobs with a fresh reuse tag each (300 jobs per arm). A handover is a job that found no idle pod. Queue wait is over handovers; submit → first pools all jobs. The makespan difference is the median of paired differences.
Figure 6: Held capacity against start latency, relative to an always-on pool sized to peak concurrency (lower-left is better). (a) Measured on the local cluster (2,300 jobs). (b) Simulated (CPU calibration) with the production 22 s pod start; the shaded band is a 60–120 s keep-alive. A 900 s keep-alive holds more than an always-on pool in both.
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, N =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
Figure 7: Loop speedup of Reuse On over Reuse Off against job body length and think time (simulator, production CPU calibration; bands span 3 replicates). The gain falls below 1.1 × at about 196 s (RL) and 104 s (agent) bodies with no think time, and vanishes when think time exceeds the 900 s keep-alive. At 1–2 s bodies the sweep gives 4.1–4.3 × for RL (measured 4.5 × ) and 1.6–2.0 × for agents (measured 2.2 × ).