# Scaling RL rollouts with Firecracker on Amazon EC2 metal

DevFeed: [Scaling RL rollouts with Firecracker on Amazon EC2 metal](<https://devfeed.tech/articles/scaling-rl-rollouts-with-firecracker-on-amazon-ec2-metal-84346.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/compute/scaling-rl-rollouts-with-firecracker-on-amazon-ec2-metal/>)

Author: Karsten Ploesser

Published: 2026-10-09T14:38:27Z

Content type: tutorial

Language: en

Sources: [AWS Compute Blog](<https://devfeed.tech/sources/aws-compute-blog.md>)

Topics: [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [virtualization](<https://devfeed.tech/topics/virtualization.md>), [NUMA](<https://devfeed.tech/topics/numa.md>), [grpo](<https://devfeed.tech/topics/grpo.md>)

Tags: [amazon-ec2](<https://devfeed.tech/tags/amazon-ec2.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [expert-400](<https://devfeed.tech/tags/expert-400.md>), [firecracker](<https://devfeed.tech/tags/firecracker.md>), [latency](<https://devfeed.tech/tags/latency.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

The tutorial explains how to tune Firecracker microVM density on Amazon EC2 metal for reinforcement learning rollouts using the labsweep measurement harness. In the evaluated workloads, tail latency rose sharply above one microVM per vCPU, core pinning improved latency predictability, and SMT benefits depended on workload and density. It provides guidance for reproducing measurements with production workloads; dynamic churn is outside the evaluation's scope.

## Source excerpt

Reinforcement learning at scale runs thousands of isolated rollout sandboxes in parallel, and packing more of them onto each host lowers your cost per training step. This post shows how to tune Firecracker microVM density on Amazon EC2 metal, and introduces labsweep, a harness for mapping your own latency and density curve.