CESARops · shared workspace
Nauti-Virtualizer fabric and Nexus
A working note for discussion; leave notes below.
Nauti-Virtualizer and its fabric: how it works, and where Nexus could fit.
What it is
- A Rust resource fabric for our own machines: it knows what each node has (GPUs, memory, storage, links), hands out exclusive leases on those resources, and moves bulk bytes between nodes over the fastest path each pair has.
- One crate does the work today:
nauti-fabric, with a CLI callednauti. - Honest scope: it is a working registry, lease and data-path layer on a five-node home fleet. It is not a distributed shared-memory system or a production multi-node control plane, and the README says so.
The two layers
Nexus authorises, the fabric moves bytesHow it works
- Inventory: each node reports its hardware and links as JSON (
nauti inventory --json). Topology and failure domains stay visible; nothing pretends remote is local. - Leases: a resource is registered, leased exclusively, attached through an adapter, and released. Control messages are authenticated, idempotent and carry the lease.
- Adapters: each resource type has its own adapter contract (local, GPU, memory, vhost, VMM guest memory), so a GPU or a model file is never forced through one generic byte pipe.
- Control path: Iroh/QUIC between agents (
nauti agent-serve/agent-connect), with a node identity that is an Ed25519 key. - Data path: separate from control. A server maps a model file once and peers read chunks of it. Three transports, same bytes on each, checked by checksum:
- RoCE (RDMA read straight from the server's mapped file)
- NFS mmap
- plain TCP, with QUIC as the fallback
- Routing: a route plan picks the best transport a pair of nodes shares (RDMA, then NFS mmap, then TCP).
- Trust: an enrollment registry records each accepted node (id derived from its public key, label, URLs, admission state). A
trust_providerswitch chooses who vouches for a node:none,nexusorvirtualizer. Both enforce the same registry; only the transport differs.
The original idea: IOMMU leases
- Where it started: treat a physical device, most of all a GPU, as something a workload borrows for a while, with the hardware itself enforcing the boundary.
- How a lease works:
- A node's inventory lists each card by its PCI address and IOMMU group.
- A workload asks for a card and gets an exclusive lease on it.
- The adapter checks the IOMMU first (enabled, the card isolated in its own group) and refuses if not.
- The card is bound to VFIO and attached to that workload's VM through Cloud Hypervisor. Only devices named in a live lease may be attached.
- When the lease ends or the holder fails its health check, the card is detached, handed back to the host driver and returned to the pool.
- Why IOMMU: the isolation is done by the hardware, not by trusting the guest. A VM holding a leased card cannot reach the host's memory or another VM's device.
- What it gives a fleet: cards are not pinned to one model or one machine's job. A card can go to a VM for one task and come back, and the registry always knows who holds what.
- Repair follows the lease: a card only counts as "missing" if it is in an active or recent lease. Cards move around here, so nothing else is treated as a fault.
- State today: the VFIO GPU adapter and its checks exist with tests (it reports a missing IOMMU before it binds anything). Real passthrough needs kernel setup and explicit hardware approval on each node, and we run it on one head node. It is device passthrough on one host: it does not make a GPU usable from another machine.
- Where the data paths came from: the lease idea worked for devices but not for bytes. Moving model weights between nodes needed its own paths, which is the fabric below.
What we measured (c4 to t440, 25 GbE, one 23 MiB model chunk)
| Path | Time | Rate |
|---|---|---|
| RoCE | 8.4 ms | 2.84 GB/s |
| NFS mmap | 18 ms | 1.3 GB/s |
| TCP | 23 ms | 1.0 GB/s |
| Iroh QUIC | 207 ms | 120 MB/s |
- Small reads (24 KiB) over RoCE: 19 microseconds median.
- One engine of ours already uses it: a mixture-of-experts engine reads missing expert weights from another node's RAM by RDMA, about 10.5 ms per miss.
Where Nexus could fit
- What we do today: Nexus carries identity, membership, invites, control and inference. The fabric carries bulk bytes between machines that already trust each other. In short: the mesh authorises, the fabric moves bytes.
- The idea you raised: let Nexus be the trust and discovery layer for the fabric itself.
- A node's Nexus identity becomes its fabric identity (both are Ed25519; ours needs the raw 32-byte seed from lemond to share it).
- Nexus membership decides who may take a lease or open a data path; the registry's
nexusprovider is the hook for that. - The same goes for device leases: a Nexus member could be granted a GPU on someone else's node for a set time, with the IOMMU holding the boundary and Nexus holding the permission and the revocation.
- Nexus tells two nodes how to reach each other; the fabric then opens the fastest direct path they share, and falls back to the Nexus tunnel when there is none.
- What is built toward that: the
trust_providerswitch and registry, a transport preference (auto, completion first, direct only), and a relay setting so nothing depends on an outside relay. - What is not done yet:
- A side-by-side run of the fabric through a real Nexus tunnel. Our QUIC figure above is a stand-in of the same shape, not a Nexus measurement.
- The
trust_providerswitch inside Lemonade itself, and the app-side writer of the registry. - Sponsor-signature checks on enrollment (stored, not yet verified).
- RDMA into GPU memory.
Repos
- Nauti-Virtualizer (the fabric): https://github.com/festeraeb/Nauti-Virtualizer
- Start with
README.md,PROJECT_ARCHITECTURE.md,RESOURCE_MODEL.md,ADAPTER_ARCHITECTURE.md,TRANSPORT_ANALYSIS.md,RRCP_CONTRACT.md,LEMONADE_ADAPTER.md - Device leases and VFIO:
nauti-fabric/src/vmm/,CLOUD_HYPERVISOR_INTEGRATION.md,RUST_VMM_INTEGRATION.md - Data paths:
nauti-fabric/src/data.rs,data_quic.rs,rdma.rs - Trust registry: branch
fable/registry-trust-2026-11-08 - Routing: branch
route/smart-router-2026-11-08 - Nexus relay work: branch
cesarops/nexus-fabric-relay-2026-11-12
- Start with
- nauti-nodes (the real-fleet node registry that sits on top): https://github.com/festeraeb/nauti-nodes
- Our Lemonade fork (the Nexus netstack and mesh branches): https://github.com/festeraeb/lemonade
- Engine adapters (one JSON spec per engine): https://github.com/festeraeb/lemonade-engine-adapters
Questions for you
- Can a Nexus node hand another process its identity (or a derived key), so the fabric and Nexus share one identity per machine?
- Is there a supported way for an outside transport to ask Nexus "may node A talk to node B, and at which addresses"?
- Would you rather see bulk paths like this inside Nexus, or kept beside it with Nexus as the authority?