Pacemaker: Keeping Training Fed in Long-Horizon Agentic RL via Progress-Driven Training-Rollout Co-Orchestration
Long-horizon agentic reinforcement learning (agentic RL) trains LLMs over multi-turn inference and tool execution. Under group-relative algorithms such as GRPO, wide variance in interaction depth and tool latency creates a two-level long tail: a single straggler stalls its entire sampling group, while staggered group completions intermittently starve training. Existing RL systems backfilling cross-step trajectories or shifting GPUs from inference load states alone fail to conserve effective multi-step progress---leaking GPU time into low-batch tail decoding, state recomputation, and barrier stalls because they overlook the temporal alignment between complete-group supply and training consumption. We present Pacemaker, a progress-driven training-rollout co-orchestration framework that closes the loop across admission, scheduling, and resource allocation around complete-group delivery (Groups/s). Pacemaker integrates: (1) water-level-gated dynamic admission (L1) to backfill freed slots without KV-cache thrashing and selectively migrate nearly complete groups when rollout GPUs are reclaimed; (2) group-priority spatio-temporal scheduling (L2) combining group-barrier-aware prioritization, coordinated KV/Mamba state protection, and adaptive prefill batching; and (3) coverage-driven training-rollout resource allocation (L3) that triggers an initial segmented training phase whenever its execution hides the remaining tail rollout. Evaluated on a 124B-parameter hybrid linear-attention (KDA/Mamba)-MoE LLM across 64 H200 GPUs, Pacemaker delivers $1.30\times$-$1.84\times$ end-to-end throughput speedups over QwenGyre, AReaL, and veRL, with no convergence degradation.