NVIDIA Vera CPUs double throughput for Modal Sandboxes
Modal benchmarked NVIDIA's Arm-based Vera CPU for its multi-tenant Sandbox workloads and found up to 2x task throughput versus a comparable Intel Granite Rapids x86 host under heavy concurrent load. Individual task latency stayed equal or lower, whereas competing CPUs hit throughput plateaus as contention rose. On a quiet host, serial latency was only marginally better than Graviton 4/5, AMD Zen 5 and Intel GNR. The tests used an internal suite called Agentless Agent Bench: 50 Terminal-Bench oracle solutions run in concurrent prewarmed Docker containers without network calls. Modal attributes Vera's behaviour under contention to its high memory bandwidth, which allows denser packing and more forgiving burst capacity for spiky agent and RL rollout workloads.
Related posts
- Modal becomes a gVisor maintainer
Modal mediumAdept
Google is donating gVisor to the CNCF under maintainer-led governance, and Modal, which launches over 40 million gVisor containers a day for GPU inference, training, and AI sandboxes, is joining as a maintainer. gVisor's Go-based Sentry application kernel implements the Linux syscall interface and is itself confined by namespaces, cgroups and seccomp, giving tenant isolation without hardware virtualization: about 25 ms boot and 12 MB overhead. Modal's upstream work includes nvproxy support for new NVIDIA GPUs, NVLink, MPS and GPUDirect RDMA, plus a new rdmaproxy that reaches ~99% of native NCCL all-reduce bandwidth over InfiniBand, RoCE and EFA. Other contributions are huge-page recycling that lifts PyTorch shared-memory throughput from 2.9 to 22 GB/s and tmpfs work that makes SQLite 2.7x faster. Planned work covers multi-GPU memory snapshots, GPUDirect Storage, MIG/vGPU and sub-minute inference server startup.
- Nvidia Vera’s System Architecture: Pushing Bandwidth
Chips and Cheese hardMasterNvidia's Vera server chip pairs wide Olympus cores with a second-generation Scalable Coherency Fabric and a 1024-bit LPDDR5X-9600 interface (about 1.23 TB/s). Under load, local DRAM latency stays under 200 ns, avoiding the usual hockey-stick curve. The 164 MB non-inclusive shared L3 delivers about 3.35 TB/s aggregate (33 GB/s per core). The NVLink C2C cross-socket link reaches 587–780 GB/s, but it brings high cross-socket memory latency (309–780 ns) and roughly 660 ns cross-socket core-to-core latency. In SPEC CPU2026 rate runs, Vera trails the higher-core-count Graviton 5 per socket overall but leads by nearly 20% in DRAM-bound workloads like fotonik3d, trading core count for per-core performance.
- Keeping 20,000 GPUs healthy
Modal mediumAdept
Modal keeps a multi-cloud fleet of over 20,000 concurrent GPUs reliable through instance-type benchmarking, continuously tested machine images, light boot checks, and passive plus active lifetime healthchecks. Anonymized cloud comparisons reveal large differences: PCIe H100s deliver about 40% fewer matmul FLOP/s than SXM, one provider ran H100s above 90°C and lost roughly half of peak performance, and one provider's L4s flake at CUDA init 0.1% of the time. Boot checks stay shallow (systemctl, nvidia-smi, a GPU read/write) to avoid slowing autoscaling. Passive monitoring uses dcgmi and dmesg Xid errors, weekly active checks run DCGM diag level 2, GPU burn and NCCL all-reduce, and unhealthy hosts are drained and replaced rather than repaired.
- Scaling to 1 million concurrent sandboxes in seconds
Modal mediumAdept
Modal rebuilt its sandbox control plane to run 1 million concurrent sandboxes, creating all of them in under a minute, by removing central coordination and durable stores from the creation path. A horizontally scaled fleet of scheduling servers picks workers using in-memory state that workers publish to a Redis stream, then calls the worker directly over RPC; workers act as their own source of truth and reject requests when full. Kubernetes and Modal's old Postgres-backed design hit limits from O(pods) and O(nodes) etcd and Postgres writes and serialized scheduling. The new path takes two network hops, scheduling takes tens of milliseconds, and median start time is under 0.5s, with tail latency driven by kernel rtnl lock contention during container networking setup.
- Sandbox resourcing: burst, don't reserve
Modal mediumAdept
Modal Sandboxes default to a tiny guaranteed request (0.125 cores, 128 MiB) and burst into a shared pool of idle machine capacity, billed per second on actual use rather than a fixed peak reservation. Since typical sandboxes spend over half their life under 6% of peak CPU, costs should be estimated from average rather than peak usage; an illustrative 20-minute coding-agent task comes out 58% cheaper than a fixed-size reservation. Bursting works because unrelated workloads rarely spike together, but CPU contention slows sandboxes and memory pressure can OOM-evict those above their request, backed by an SLO of under 0.0001% per minute for sandboxes under 8 GiB. Set limits for consistent eval/RL environments or cost caps, and raise the memory request if evictions are unacceptable.