Hosting & Registration¶
Hosting¶
Single compose unit on mini-PC-class hardware: controller, Postgres, UI. No global DNS required. Node daemons connect outbound; the UI rides the mesh; a public dashboard is opt-in via tunnel.
If self-hosting the mesh with Headscale, the coordinator needs a public address — put it on a $5 VPS running only the coordinator. The controller itself, with all the state, stays behind NAT.
Controller sizing: why a mini-PC is enough¶
The controller holds metadata, never bytes. Image and model bytes live on node disks and move node→node over fabric (see Data Plane); the controller tracks only digests, indexes, and verdicts.
- Disk: Postgres holds jobs, runs, digests (metadata + artifact manifests, not the artifacts), the layer/content indexes, and usage accounting. ~10 KB per digest → 10k jobs/day is ~100 MB/day. Full logs stay on the executing node with a retention window; the controller keeps pointers plus tail excerpts. A 238 GB SSD is comfortable for years.
- Network: heartbeats (the minimal trio + state, seconds-apart, <1 KB each), API calls, UI over the mesh. Even a hundred nodes is background noise. No image pulls, no model transfers, no scan traffic transit the controller.
- RAM/CPU: API + scheduler + UI for a fleet of dozens of nodes fits easily in 14 GB.
The heavy iron belongs where the heavy bytes are: node disks (1–4 TB each) hold the working sets, and the 200G fabric — not the controller's NIC — carries the fan-out.
The UI¶
Three lenses on the same data:
- Client view — my jobs, queue positions, quota/usage, my results.
- Operator view — fleet health, full queue, donors, topology, per-client usage accounting.
- Donor view — my nodes, are they healthy, what's running on them.
Key views: queue (ordered backlog with ETA), fleet (nodes grouped by site, with a rendered link graph of measured topology next to the donor-declared topology — a missing fabric link is a dashboard row, not a support thread), activity (per-node live state: running job and TP partners, transfer in progress with source → dest + rate + ETA, or maintenance state), results (completed runs with metrics and per-node history).
Registration (no wipe)¶
A wipe requirement is adoption suicide — nobody wipes their daily-driver Spark for a volunteer pool, and it would destroy the intentional driver heterogeneity that makes the fleet a version test matrix.
-
Donor takes a join token from the pool UI. Tokens are operator-configured, not one-size-fits-all:
-
Shareable (multi-use, community-wide within scope) or single-use (per-donor invite). An operator option per token, not a global policy.
- Scoped to site + subnets — at least one token per local subnet. The daemon reports its local interfaces at registration and the controller checks them against the token's scope: soft-check in full-trust (flag mismatches for operator review), hard-check in some-trust (reject). A token scoped to subnet A can't onboard a machine that only lives on subnet B, which bounds what a leaked shareable token can do.
- Tier defaults (operator-overridable): full-trust → shareable site-scoped token; some-trust → single-use per-donor token.
The token is not a vetting handshake — the real gates are automated (steps
4–6): a machine that can't pass them can't contribute, token or not.
Revoking a token stops new registrations; already-registered nodes are
managed via node removal.
2. One installer command (published, inspectable script; manual path
documented). Creates a dedicated pool user with a standard layout
(/opt/pool, /var/lib/pool, /data/pool/models), docker group
membership, disk reserve floor, and mesh join. The donor's existing system
is untouched — the daemon only writes its own dirs and checks for competing
GPU processes before profile runs (or records co-tenancy).
3. pool-minimize-os. Unified memory means every gigabyte the OS holds is a
gigabyte CUDA can't allocate, so the installer applies a scripted
minimization — disables GNOME/GDM and a versioned list of unnecessary
systemd services, shows exactly what it will change, donor approves,
fully reversible. This group already runs its Sparks as headless servers,
so the minimized baseline is the standard, not an aspiration. Practical
target band is ~115 GB CUDA allocatable (up to ~119 GB reported on minimal
setups). The script is the same one a donor — or another harness setting
up on their behalf — runs, so "minimal" means the same thing on every
node.
4. Donor runs pool-certify (30–60 min, quiescent), which records measured
CUDA-allocatable memory into the fingerprint.
5. The node's first docker work item is the pool's NVFP4 canary bench (see
Diagnostics) — proof of GPU work, measured by
pool-controlled code.
6. Auto-approve on clean automated checks. The operator reviews only
flagged cases: failed/degraded canary, declared-vs-measured topology
mismatch, anomalous fingerprint. Approval is a sanity check on competence
and wiring, not a trust vetting.
7. Optional: availability windows, display name.
Asymmetric registration: gate demand, court supply. Clients get host-approved tokens plus quotas/rate limits — demand is where abuse lives (queue spam, miners in images). Donors get an open token and automated checks — the pool is supply-hungry by design (steady state is saturation), and the abuse cases don't survive contact with the machinery: Sybil registration is pointless (no rewards for being a node; the canary bench is proof of real GPU work), data poisoning is killed by content addressing (bytes are hash-verified on receipt), and result fabrication needs a motive that barely exists (see Trust). Friction on donor onboarding is friction on the thing the pool most needs.
A node may register below the standard (odd config, donor preference) —
that's not a failure. Measured allocatable memory is in the fingerprint, the
scheduler treats it as one more routing rule (memory_gb matches against
the real number), and every result digest reports the node's memory figures
alongside. Sub-standard nodes simply don't get memory-hungry jobs.
Standardization is of the measurement and the minimization script, not the
number.
The node daemon self-updates on controller instruction — a fleet of stale daemons is how phantom bugs are born. The donor's existing kernel/driver is kept; its heterogeneity feeds the version test matrix.