Voltron architecture

Move your workload where you have available resources

A modern, out-of-tree revival of openMosix's transparent process distribution. Target kernel: Linux v7.3 (worktree in kernel-src/). GPLv2.

1Guiding idea

openMosix split a process into two halves:

The remote half forwarded every "home-affine" syscall back to the deputy. In 2004 that meant forwarding files too (via DFSA/MFS) because there was no shared FS. Our constraints collapse most of that work:

openMosix 2004Voltron 2025Consequence
MFS/DFSA custom cluster FSOCFS2 (already in kernel)Shared-FS file I/O runs natively on the execution node — no forwarding
Custom TCP protocolRDMA (rdma_cm/ib_verbs)Low-latency syscall forwarding + page transfer
In-kernel syscall hijackseccomp user-notifForward net syscalls from userspace with a stable API
In-kernel migrationCRIU + thin moduleFreeze/restore via supported APIs, not deep hooks

So the only thing that must stay on the home node is the network stack / open sockets. That is exactly your requirement, and it's a much smaller deputy than openMosix ever had.

2Voltron architecture

ResourceLocationMechanism
CPU executionexecution nodeCRIU restore / remote exec
Address space (memory)execution nodepage transfer over RDMA
Open sockets / network I/Ohome nodeseccomp-notif → forward to deputy over RDMA
Files on OCFS2execution node (native)normal VFS, shared mount — no forwarding
Files NOT on shared FS (node-local, /proc, /dev)home nodeforward to deputy (fallback)
PID / signals / credentialshome node identitydeputy proxies

3Components

HOME NODE (A) EXECUTION NODE (B) netlink / char dev netlink / char dev app (identity, sockets) real fds · home netns migrated task (CPU + mem) seccomp filter traps net syscalls voltron-agent (deputy) runs forwarded net syscalls voltron-agent (remote) forwards traps to the deputy voltrond • load / info collector • policy engine (sysfs) • node membership • RDMA transport voltrond • load / info collector • policy engine (sysfs) • node membership • RDMA transport shared OCFS2 mount shared OCFS2 mount RDMA RDMA · gossip OCFS2 internet client connections stays home
Client traffic terminates on node A; execution migrates A → B; sockets stay on the home deputy, kernels gossip, and files ride the shared OCFS2 — all over in-kernel RDMA.

1. voltrond — the kernel module (the "brain", openMosix info+balance reborn)

2. voltron-agent — userspace daemon (the "hands")

3. Network pinning (the heart of the feature)

On the execution node the migrated task gets a seccomp filter that traps network + node-identity syscalls (socket, bind, listen, accept(4), connect, sendto, recvfrom, sendmsg, recvmsg, shutdown, getsockname, getpeername, setsockopt, getpid, ...). On trap:

  1. SECCOMP_RET_USER_NOTIF wakes the remote agent.
  2. Agent ships the call + args over RDMA to the deputy on the home node.
  3. Deputy performs the real syscall on the real fd in the home netns.
  4. For data-returning calls (recvfrom), deputy sends the buffer back; remote agent writes it into the task's memory (process_vm_writev//proc/pid/mem) and returns the length via the notif response.

Result: the connection never leaves the node that accepted it; the CPU work runs elsewhere.

4. Policy interface: sysfs store + the cgroup live-patch (decision)

Policy is keyed on cgroup v2 and the admin changes it at runtime. Two surfaces, one store:

Why split it out: the risky, non-exported, kprobe/live-patch plumbing is isolated in a module you can load/unload independently, keeping the core voltrond free of fragile internals while still offering the cgroup-native UX.

4Phased plan (de-risked)

5Known hard problems / open risks

6Decisions locked (from discussion)

7Still-open questions (see CLUSTER.md for the cluster-specific ones)

  1. Granularity: migrate whole processes only, or also the openMosix pattern of "accept() then migrate the handler child"? (Affects the network model.)
  2. PSI decision loop in userspace vs in-kernel (CLUSTER.md Q2).
  3. Policy store: sysfs vs configfs (CLUSTER.md Q3).
  4. OCFS2 stack: pcmk/Corosync vs o2cb (CLUSTER.md Q1).
  5. cgroup policy inheritance to descendant cgroups (CLUSTER.md Q4).
Note: an out-of-tree module cannot register a cgroup controller, so policy files live under /sys/kernel/voltron/ or configfs, not inside the cgroup fs. voltron-ctld maps friendly cgroup paths ⇄ cgroup ids for the admin. PSI is still read from the kernel's existing per-cgroup *.pressure files.

8Data-plane transport note

TCP appears only in the control plane (membership, mTLS auth, RDMA param exchange / rdma_cm bootstrap). All migration payload (pages + forwarded syscalls) is RDMA-only, in kernel.

Transport layers

PlaneCarriesTech
Controljoin/leave, authz, RDMA params, FS checksuserspace, Corosync + mTLS/TCP
Datamemory pages, forwarded net syscallsin-kernel RDMA (verbs), no TCP
Shared storagemigrated process file I/OOCFS2 (native on exec node)