Projects / home-server-infrastructure · 2025 - present · Sole operator
Home Server Infrastructure
One self-built server, zero exposed ports: WireGuard-only ingress, self-hosted services (relays, metasearch, sync), hardware daemons, and hash-gated power/voltage engineering on a 32 GB consumer GPU.
The machine: AMD Ryzen 9 9950X (16-core), 96 GB DDR5, AMD Radeon AI PRO R9700 (32 GB VRAM), headless Ubuntu, fully self-hosted. It is the substrate for my Local AI Agent Platform - that page covers what the agent does on top, including the inference serving numbers; this page covers the metal, the plumbing, and the power engineering. As on the platform page: no hostnames, addresses, ports or topology specifics published - by design.
Plumbing
- Remote access. WireGuard into the home network from phone and laptop: no exposed ports, no tunnel-of-the-month services.
- Messaging relays. A self-hosted SimpleX deployment (own SMP relay + XFTP file relay in Docker) backs the agent's chat channel - relays are ours, third-party preset servers are disabled on the client. No phone number, no metadata. The chat experience itself is on the platform page.
- Private search. Self-hosted SearXNG metasearch as the agent's web backend, wired as a search provider with a JSON API.
- Data sync. Syncthing keeps the notes vault and active project folders mirrored between server and laptop, conflict-free, vendor-free.
- Hardware daemons. Userspace services for fan control (PID curves over hwmon sensors) and addressable RGB lighting (headless OpenRGB), exposed to the agent as narrow, auditable commands.
Power & performance engineering
The inference server is production infrastructure for everything else on this box, so tuning it runs like a lab: hypotheses pre-registered before anything is touched, null results counted as documented successes, every change gated on 30-run bit-exact output hashes, and a sustained protocol (150 s of continuous generation, median of 3) after single-shot probes exposed bimodal, ~8%-wide scheduling noise with zero config change.
Power-cap ladder. Walked the cap down from the 300 W stock default, one rung at a time, against a pre-registered 5% decode-loss gate:
- 275 W and 250 W cleared the gate with room; 225 W squeaked through with 0.4 points of margin; 210 W - the driver's hardware floor - failed at 6.2%.
- Decision at the time: stock cap stays. Fan noise is worth nothing in this rack, so the 225 W rung buys roughly $8-30/yr of electricity for a ~5% real decode loss. The pre-registered rule said "no" - a decision procedure that ends in "don't" is still a result.
- Prefill never moved: bandwidth-bound, cap-irrelevant (it measured slightly faster at lower caps - a boost-headroom hypothesis that stayed labeled as a hypothesis).
- Epilogue. The voltage offset below reshaped the curve, so the ladder re-ran in 5 W steps (300 down to 250 W, 33/33 bit-identical output hashes again): noise-flat down to 285 W (-0.26%, below the 0.5% single-run noise floor), roughly -1.6% per 25 W below that. The pre-registered tie-break - lowest cap inside the noise band - adopted 285 W, installed on a boot-time tuning unit and verified by read-back plus decode-hash gate.
Voltage offset. -50 mV applied through volatile sysfs overdrive - a reboot reverts it, worst case a restart, never a brick:
- The -75 mV ceiling rung posted the best sustained decode on record and was still benched: a GPU reset landed inside its soak window, and the protocol steps back one notch on any reset rather than arguing. The resets were later root-caused to software crash paths in the serving stack (zero corruption ever observed) - exactly the "not proven guilty" case the rule was written for.
- The only change that survived the night itself was software: the KV-strategy swap summarized in Serving details above.
- Epilogue. The 24-hour soak on -50 mV completed clean and -50 mV became the adopted running point. Then the better lesson: a blackout reboot days later silently reverted the volatile sysfs value, and serving ran ~2% under the adopted point for 36 hours before a routine read-back caught it. Voltage and cap now apply from a boot-time unit with read-back and hash-gate verification, and a daily patrol re-checks both - because "configured" is a claim, not a state.
- The protocol caught itself twice: a -0.6% delta retracted as ambient drift (fixed by anchoring every comparison to a same-session A/B/A stock arm) and a -7.5% concurrency deficit retracted as probe artifact. The retracted readings stayed in the log - part of the result, not embarrassment.
Why the measurements matter
A machine that serves AI 24/7 is production infrastructure, and I treat it that way: nothing is trusted because it benchmarked well once. Every number on this page survived its acceptance gate, its hash check, and where reality disagreed, a logged retraction - the same discipline I bring to engineering work, practiced on hardware I own.