Technology

Crusoe caps per-VM RDMA memory after hidden use hit 6 GiB

Crusoe set a per-VF RDMA budget after heavy VMs pushed one NIC to 6 GiB of hidden host memory.

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

2 min read

GPU server with InfiniBand NICs handling RDMA registrations
ConnectX-7 context in host RAMCredit: Crusoe Blog

Key facts

  • Crusoe set VF budget after one NIC hit 6 GiB
  • One 265 GiB registration costs about 530 MiB at 4 KiB pages
  • 40 GiB ibv_reg_dmabuf_mr failed with EAGAIN over budget

Crusoe said it set a per-VF firmware budget for RDMA context after heavy GPU VMs pushed one NIC to 6 GiB of hidden host RAM. Typical VMs stay under 1 GiB per NIC, Crusoe said.

Disaggregated inference and expert-parallel MoE training drive the spikes, Crusoe said. A single TCP worker peaks at 8 to 10 Gbit/s regardless of chunk size, per LMCache measurements, so teams move payloads to RDMA.

Each registration looks free inside the guest.

The affected systems are Crusoe GPU VMs with NVIDIA ConnectX-7 InfiniBand adapters passed as SR-IOV VFs, eight VFs per host, Crusoe said. No remote exploit is needed, since a local guest can exhaust host memory with normal verbs, Crusoe said. Each translation entry costs 8 bytes per mapped page, Crusoe said, so one 265 GiB registration costs about 530 MiB at 4 KiB pages, about 33 MiB at 64 KiB pages and about 1 MiB at 2 MiB pages, Crusoe said.

Crusoe said it tracks hidden pages with a per-NIC fw_pages_total counter read once a minute into Prometheus. The host applies the VF budget on every boot and guests cannot change it, with direct support on DOCA 3.2.x and a validated workaround on DOCA 2.9.x, Crusoe said. Over budget, a 40 GiB ibv_reg_dmabuf_mr failed with Resource temporarily unavailable, or EAGAIN, while existing queues kept passing traffic, Crusoe said.

Teams running disaggregated inference, MoE all-to-all or large collectives must register only buffers moved over RDMA and check mkey page size with rdma resource show, Crusoe said. Fragmented buffers force 4 KiB pages and need 512 times more entries than 2 MiB pages for the same bytes, Crusoe said. A running VM keeps its budget until workload restart, and the host reapplies it on every boot, Crusoe said.

Mentioned in this story

Sources

TopicsCrusoeNVIDIA ConnectX-7InfiniBandSR-IOVDOCAMoEEAGAINPrometheus

StartupHub.ai StaffDaniel SingerWritten by StartupHub.ai Staff, Editorial teamReviewed by Daniel Singer, EditorAbout

StartupHub.ai Staff, Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer, Editor

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

More from Daniel Singer

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.