Reinforcement learning (RL) post-training of large language models runs two GPU workloads with different hardware demands: rollout decoding, which is dominated by memory access and whose batch shrinks as responses finish, and a dense learner. Current systems either time-share every GPU between them, paying serial phases and switches, or split GPUs into pools whose sizes change only in whole devices. We present CTRL, which makes co-residency a third RL execution layout: every GPU runs a learner rank beside a persistent rollout engine, sharing the device under CUDA MPS. A host-owned learner makes the layout fit: optimizer state stays in host memory, and policy weights stream layer by layer through a bounded GPU window. A publication gate trains each ready batch first and waits only before releasing the next policy, keeping a dropless staleness bound. A step-time bound guides compute-share selection, and a GPU-time ledger explains overlap and sharing costs. On H100, A800, and RTX 4090 GPUs with Qwen3 models, CTRL achieves 1.11-2.24× the throughput of the stronger of verl's asynchronous baselines across 24 workload settings with the staleness limit set to two, and 1.23× verl's colocate_async on eight H100 GPUs. With the same learner, co-residency is 1.10-1.26× faster than time-sharing on all three platforms and 1.10-1.30× faster than the best measured whole-GPU split on H100 DAPO-Math workloads at 256-528 trajectories per step, on four and eight GPUs.
Figures & tables
Figure 1. Execution layouts in the running example over two steady-state steps, drawn to each system’s mean step time, with SM activity beneath. Host slot v0 is the reference policy. Four systems in the original single-column arrangement. Time-sharing uses one execution row; disaggregation and CTRL use learner and rollout rows, with SM active beneath. The figure covers consecutive captured steps 10 and 11, scaled jointly to twice the formal mean step time, including the between-step gap. Orange denotes reference scoring and actor training, blue denotes rollout host requests, gray overlays publication, and dashed orange boxes denote gate wait. The CTRL host strip illustrates reference and policy-version flow; publication can cross step boundaries. All systems share the same mapped-seconds scale and four-GPU SM color scale. Heatstrips use two-second triangular smoothing in capture time; printed SM means integrate unsmoothed four-GPU measurements over the continuous window from step 5 entry to step 11 exit, including between-step gaps, and divide by its duration. Printed mean step uses the untraced updates 5–12 continuous duration divided by eight, averaged within seeds and then across seeds.
Response length
At cap
Tok.
L/G/S
Workload
N
mean
p50
p90
(%)
(k)
(%)
4090 8B-B DAPO-8K ∗
256
656
527
1067
0.1
206
39/56/5
A800 8B-B DAPO-8K
128
658
512
1063
0.3
102
19/71/10
H100 14B-NT DAPO-8K
256
1600
1428
2884
0.1
452
42/52/7
A800 8B-T DAPO-16K
128
9405
8519
16384
19.1
1227
28/70/1
H100 14B-T DAPO-16K
256
8516
7498
16384
13.8
2242
44/55/1
Table 1. Workloads and synchronous phase shares.
Figure 2. Per-GPU memory. Host-owned bars are measured at the whole-device peak; GPU-resident bars are analytical.
Figure 3. The same learner on four H100s (Qwen3-14B non-thinking, DAPO-Math) as a 2+2 split and co-resident in CTRL : per-GPU activity over two training steps.
Figure 4. Device-wide Nsight Systems metrics during computation: engines alone and co-resident on four GPUs.
Figure 5. CTRL ’s host-owned policy lifecycle and co-resident execution.
Figure 6. Layer-window execution through the final micro-batch and host update, beside persistent rollout (schematic).
Figure 7. Publication-gated overlap at T=2 (schematic).
Figure 8. End-to-end throughput. Labels: CTRL ’s speedup over the faster of verl’s two asynchronous baselines. Filled markers: three-seed means; hollow markers: single seeds. Bars show the range of seed means.
Figure 9. GPU allocation time by layout. In co-resident rows, rollout appears below the learner and overlap counts once. Rollout work is normalized by standalone replay throughput. Light blue marks exposed rollout, including its tail. Blue hatching shows the slowdown share estimated from matched decode intervals.
Workload
N
Co-resident
2+2 split
Time-sharing
DAPO-Math: three-seed means
H100 14B-NT
264
7468
6759 (1.10 × )
5941 (1.26 × )
H100 14B-T
256
5129
3938 (1.30 × )
4656 (1.10 × )
A800 8B-T
256
3018
2148 (1.41 × )
2593 (1.16 × )
A800 8B-B
256
3136
3164 (0.99 × )
2549 (1.23 × )
4090 8B-B
256
2176
2156 (1.01 × )
1724 (1.26 × )
Table 3. Execution layouts with the same learner and training recipe (tokens/s). Each layout uses its best measured feasible configuration. Parentheses give co-resident throughput divided by the corresponding alternative’s throughput.
Figure 10. MPS sharing: (a) rollout-kernel overlap during the learner phase; (b) same-SM sharing on RTX 4090.
System
SM Active (%)
SM Issue (%)
Tensor Active (%)
verl sync time-sharing
47.5
3.4
8.5
verl async time-sharing
47.1
3.2
10.0
verl 2+2 disaggregation
41.9
2.8
8.8
CTRL
57.7
3.9
15.0
Table 4. Co-residency raises GPU activity in the running example (Figure 1 ). Nsight Systems metrics are time-weighted over steps 5–11 and averaged across four GPUs.
T
0
2
4
CTRL
5129 (0/0)
7303 (2.00/2)
7788 (4.00/4)
verl async time-sharing
–
6157 (1.79/2)
5898 (3.84/5)
verl sync time-sharing
5159 (0/0)
–
–
Table 5. Throughput and realized age at each configured staleness limit T : H100 14B-NT, DAPO-8K, N=256 . Entries give tokens/s (mean / maximum age).
Variant
tokens/s
vs. CTRL
CTRL
2076
1.00 ×
no publication gate
1835
0.88 ×
no weight reuse
1955
0.94 ×
Table 6. Removing one mechanism at a time (tokens/s): RTX 4090 Qwen3-8B-Base, N=256 .
Workload
P
L
S/T
H100 14B-NT, N=256
62.0
57.7
53.5
H100 14B-T MBPP, N=256
99.0
80.6
91.1
H100 14B-T 16K, N=256
438.4
365.5
364.8
A800 8B-T 16K, N=128
463.1
354.4
393.0
RTX 4090 8B-Base, N=256
98.2
73.5
78.8
Table 7. Step time P , learner phase L , and rollout span S/T at the best measured share (seconds, T=2 ).
Figure 11. Learner MPS-share sweeps: three-seed means on RTX 4090 and a single seed on A800. Top labels give throughput relative to each panel’s best measured share.
Figure 12. Interconnect and rollout layout. Left: one all-reduce at decode sizes. Right: co-resident throughput of three rollout layouts, relative to the best on each platform.
Reinforcement learning (RL) post-training for large language models (LLMs) coordinates multiple models across generation, inference, and training on GPU clusters. Several factors may change during a run, including resource availability, sequence length, memory pressure, and stage bottlenecks. As a consequence, an execution plan that was initially suitable can then become slow or even infeasible over time. However, adapting a job whose models share GPUs entails significant challenges: deciding whether a new plan is worth the transition cost, reusing the job's distributed state, and coordinating GPU transfers across models and stages. Nereus targets these challenges as a cost-aware runtime that adapts RL post-training jobs into efficient execution plans. Its low-overhead controller selects a memory-feasible global plan and admits the transition using a cost model calibrated against the running job. To estimate and execute a transition, Nereus represents the distributed state of each replica of a model-stage (one model in one stage) as an Elastic Model Unit. It then employs a global transition graph to order the transformations and GPU transfers of these units. In a trace built from real data, online TP/PP adaptation reduces average step latency by 27.7% relative to the initial fixed TP/PP layout with DP scaling. In a 1,000-step run reaching 1,024 GPUs, six transitions consume 0.079% of total run time. Nereus improves end-to-end 8B PPO throughput by 2.14--7.27× over OpenRLHF and by 1.10--1.47× over Verl across diverse clusters.
Songlin Jiang, Tuo Shi, Sitong Zhang +3
Aalto University · Shenzhen University of Advanced Technology · Zhejiang University
We introduce a mechanism that improves LLM-agent execution: keeping four-byte, GPU-computed control-path routing decisions on-device, avoiding a round-trip to host memory for redispatch. It is faster than host-dispatch in all 36 placements x mechanisms settings in our benchmark across four named GPUs with row-median speedup of 1.19x-2.39x, and outputs are correct, matching an independent host implementation, for all 14,557,440 calls in all configurations, in both tested mechanisms. Agent control paths can be deterministic. Their transitions between LLM calls and external tool calls can be GPU-accelerated by batching across agents and time. We define a cohort of transitions with launch times in a window, and study four shares of GPU-active time: a fixed-partition baseline F, an optimal P*, an upper bound U, and an online result A. Under assumptions of uniform relative launch deadlines, infinite capacity, and zero service times, we compute P* with a custom dynamic program and validate our simulator against it. We replay an anonymized 851-session trace, shown in full as a panel, stationary-ized with a Poisson process. With 100,000 target active agents and a launch deadline of 50 ms, where the headline results have K=256, we find F=30.19%, P*=43.00%, U=45.85%; our method for computing P* reveals that 81.83% of this opportunity is recoverable from cohort packing at fixed window ends. Our method for U relies on a novel notion of route-key, used only as a proxy (via conditional statistics) and does not purport to establish route-equivalence. We find a nested graph that retains some host-side decisions slower in all 60 configurations (five placements).
Multi-turn rollout dominates the cost of agentic reinforcement learning (RL). Asynchronous execution and elastic GPU resources can accelerate this stage, but adding rollout replicas yields diminishing returns while training GPUs remain idle between updates. We observe that effective resource use also depends on the prefill--decode (PD) configuration. Both the choice between colocation and disaggregation and the optimal PD ratio vary with the workload, making resource scaling and PD configuration interdependent. Exploiting this opportunity requires selecting effective configurations and realizing their benefits within transient resource-availability windows despite reconfiguration costs. We present PEARL, an asynchronous agentic RL system that coordinates external resource elasticity, temporary reuse of idle training GPUs, and adaptive PD execution. PEARL maintains a unified GPU--worker--role state and uses runtime profiles to predict rollout batch completion time, accounting for environment-induced reductions in decode concurrency. It selects the PD mode and ratio under the current GPU budget and translates each decision into an incremental transition plan that minimizes worker and role changes. Cost-aware switching and borrowing policies suppress transitions with insufficient expected benefit while ensuring timely return of training GPUs. Our evaluation show that PEARL achieves 2.17--2.79× the throughput of fixed-resource ROLL across different LLMs. Compared with RLBoost+, throughput improves by up to approximately 26.9% for Qwen3-8B and 36.3% for Qwen3-30B-A3B.