# host_environment.md Specification of the machine the zucht work runs on. Every number was measured on this host on 2026-10-28 (about 20:00 to 20:20, host-local time) unless tagged otherwise. Re-measure with the command block in section 14; when a value changes, add a changelog row, do not overwrite silently. Tags: [M] measured by a command on this host, [S] read from a primary source, [R] recalled/unverified, [U] unknown. Public IP addresses are deliberately left out of this file (the repo may be shared). Their presence and shape are recorded. ## 1. Identity | Item | Value | |---|---| | Hostname | `devplace` [M] | | Provider / form | Hetzner dedicated server, bare metal, `systemd-detect-virt` = `none` [M] | | Chassis type (DMI) | 3 (desktop tower) [M] | | Mainboard | ASRock B450 Pro4 R2.0 [M] | | BIOS | AMI, version H8.02E, dated 2024-08-30 [M] | | OS | Ubuntu 26.04.1 LTS (codename `resolute`) [M] | | Kernel | Linux 7.0.0-38-generic, x86-64 [M] | | Uptime at measurement | 5 days 2 h [M] | | Primary user | `retoor` (uid 1000, groups: `retoor`, `docker`) [M] | | Other user | `lead42` (uid 994), owns `/srv/lead42` [M] | | Access | SSH only; no seat in logind, no monitor (see section 6) [M] | This is a live, shared, production machine. It is not a dev workstation. Anything zucht does must be safe next to the services in section 9. ## 2. CPU | Item | Value | |---|---| | Model | AMD Ryzen 5 3600 (Zen 2) [M] | | Topology | 1 socket, 6 cores, 2 threads per core = 12 logical CPUs, 1 NUMA node [M] | | Max / min clock | 4208 MHz / 558 MHz [M] | | Caches | L1d 192 KiB and L1i 192 KiB (6 instances each), L2 3 MiB (6), L3 32 MiB (2 instances) [M] | | Virtualization | AMD-V (`svm`), nested paging (`npt`) [M] | | Notable flags | `aes avx avx2 npt rdrand sha_ni sse4_2 svm` [M] | | KVM modules | `kvm`, `kvm_amd` loaded; `kvm_amd nested` = 1 [M] | Meaning for zucht: hardware virtualization works, so a QEMU/KVM guest runs at near-native speed. No AVX-512 (irrelevant for Mesa llvmpipe, which uses AVX2). ## 3. Memory | Item | Value | |---|---| | RAM | 64223 MiB (about 62 GiB) [M] | | In use at measurement | 16383 MiB used, 10568 MiB free, 43174 MiB buff/cache, 47839 MiB available [M] | | Swap | 32734 MiB (RAID1 device `md0`), 6578 MiB in use [M] | | Transparent hugepages | `madvise` [M] | | Explicit hugepages | 0 [M] | Meaning: about 47 GiB is realistically available, but production services share it. Swap is already used, so memory pressure from zucht is felt by the other services. ## 4. Storage | Item | Value | |---|---| | Disks | 2x Samsung NVMe, 476.9 GiB each: models MZVL2512HCJQ-00B00 and MZVL2512HCJQ-00B07 (PCI shows Samsung PM9A1/PM9A3/980PRO class controllers) [M] | | Layout | Both disks mirrored with Linux md RAID1, all three arrays `[UU]` (healthy) [M] | | `md0` | 32 GiB, swap [M] | | `md1` | 1 GiB, `/boot` [M] | | `md2` | 443.8 GiB, `/`, ext4, `rw,relatime` [M] | | Root usage | 355 GiB used of 436 GiB = 86%, 59 GiB free [M] | | Extra mount | `/srv/lead42`: a 100 GiB loop device formatted XFS, 2.0 GiB used, 98 GiB free; belongs to `lead42` [M] | | I/O scheduler | `none` on the NVMe devices [M] | | I/O pressure (PSI) at measurement | `full avg10` 5.89, avg60 1.53, avg300 0.34 (short spike during my commands) [M] | Meaning: `/` is the scarce resource. 59 GiB free is shared with everything else, and the filesystem is the single copy (RAID1 protects against disk loss, not deletion). zucht gets a hard disk ceiling (see `boxes.md`, D8). ### Container storage already on this disk | Item | Value | |---|---| | Podman graph root | `/home/retoor/.local/share/containers/storage` (61 GB on disk) [M] | | Images | 287 images, 46.9 GB, 20 active, "100% reclaimable" per `podman system df` [M] | | Containers | 50, 11 active, 1.88 GB, 64% reclaimable [M] | | Named volumes | 0 [M] | These belong to your other projects (`grr-*`, `handsup_*`, `rmaile2e-*`, `rmailresp-*`). zucht does not touch them. "Reclaimable" is podman's arithmetic, not a recommendation to delete; many are untagged intermediate builds from the last 14 hours. If you want space back, that is your call, after listing what would go. ## 5. Network | Item | Value | |---|---| | Primary NIC | Realtek RTL8111/8168/8211/8411 Gigabit, interface `enp9s0` [M] | | Addresses | one public IPv4 `/32` and one public IPv6 `/64` on `enp9s0` (addresses omitted here) [M] | | Default route | via the provider gateway on `enp9s0` [M] | | Other interfaces | `docker0` (172.17.0.1/16, down), bridge `br-25bb9958851f` (172.18.0.1/16, up, 1 veth) [M] | | Rootless networking | `pasta` (passt) and `slirp4netns` installed; podman network backend is `netavark` [M] | | Firewall tooling | `nftables` 1.1.6 [M] | | Outbound checks from the host | `registry-1.docker.io/v2/` answers HTTP 401 (normal, registry reachable); `archive.xfce.org` HTTP 200; `gitlab.xfce.org` HTTP 302 [M] | | SSH client seen by the session | connected over IPv6 to port 22 [M] | Meaning: all image pulls and source fetches work. The server is on the public internet, so every zucht port binds to `127.0.0.1` and the user reaches it through an SSH tunnel. ## 6. GPU and display (decisive for this project) | Item | Value | |---|---| | GPU | NVIDIA GeForce GT 710, GK208B (Kepler), PCI `10de:128b`, plus its HDMI audio function `10de:0e0f` [M] | | Bus address | `0000:01:00.0` [M] | | Driver | `nouveau` (open source), not the NVIDIA proprietary driver [M] | | `boot_vga` | 1 (it is the boot display adapter) [M] | | DRM nodes | `/dev/dri/card0` (`root:video` 660), `/dev/dri/renderD128` (`root:render` 660) [M] | | Connectors | `DVI-D-1`, `HDMI-A-1`, `VGA-1`: all `disconnected` [M] | | Framebuffer devices | none (`/dev/fb*` absent; `vga16fb` module loaded) [M] | | logind seat | none: every session shows `SEAT` = `-` [M] | | `getty@tty1` | running (reachable only via provider remote console, if requested) [M] | | Mesa userspace | `nouveau_dri.so`, `kms_swrast_dri.so` present [M] | | `retoor` in `video` / `render` groups | no [M] | | IOMMU | 0 IOMMU groups, no AMD-Vi lines readable in `dmesg` [M] | Consequences: - There is no physical display, so a compositor on the real DRM device would have nothing to output to. - `retoor` cannot open `card0` or `renderD128` without a permission change. - IOMMU is not active, so VFIO GPU passthrough to a VM is not available. Enabling it needs BIOS and kernel command line changes plus a reboot, with a real chance of locking out a headless server. Out of scope. - The GT 710 is old. Its OpenGL capabilities under nouveau are unmeasured [U]; do not plan on host GPU rendering. ## 7. Virtualization and kernel facilities | Item | Value | |---|---| | `/dev/kvm` | `root:kvm` 660; `retoor` is NOT in group `kvm` (group `kvm` gid 992 is empty) [M] | | `/dev/vhost-net` | `root:kvm` 660 [M] | | `/dev/net/tun` | 666 [M] | | `/dev/uinput` | `root:root` 600 [M] | | `/dev/input/event*` | `root:input` 660 [M] | | Kernel modules available (not loaded) | `vkms`, `virtio_gpu`, `vhost_vsock` [M] | | QEMU | not installed; apt candidate `qemu-system-x86` 1:10.2.1+ds-1ubuntu3.3 [M] | | virtme-ng | not installed; apt candidate `virtme-ng` 1.40-2 [M] | | Unprivileged user namespaces | `kernel.unprivileged_userns_clone` = 1; `kernel.apparmor_restrict_unprivileged_userns` = 1 (Ubuntu default restriction; rootless podman still works here); `user.max_user_namespaces` = 236037 [M] | | cgroup version | v2 [M] | | Controllers delegated to the user slice | `cpuset cpu io memory pids` [M] | | User slice limits today | `MemoryMax=infinity`, `CPUQuotaPerSecUSec=infinity`, `TasksMax=155784` [M] | | `ulimit -n` / `-u` | 524288 / 236037 [M] | | Sub-id ranges | `retoor:100000:65536` in `/etc/subuid` and `/etc/subgid` [M] | | systemd linger for `retoor` | `Linger=yes` [M] | | Quadlet generator | `/usr/lib/systemd/system-generators/podman-system-generator` present [M] | | sudo | `sudo-rs` 0.2.13; `sudo -n true` returned no error (passwordless sudo appears to work; not used further) [M] | ## 8. Container runtimes | Item | Value | |---|---| | Podman | 5.7.0, rootless, overlay storage, runtime `crun`, cgroup manager `systemd`, network backend `netavark` [M] | | Buildah | 1.42.1 [M] | | Skopeo | 1.21.0-dev [M] | | podman-compose | 1.5.0-2 available (apt candidate; behaviour on this host untested) [M] | | Docker | 29.1.3 daemon running as root; `retoor` is in the `docker` group, which is root-equivalent [M] | | containerd | running (Docker's) [M] | Policy for zucht (see `boxes.md`, D5): rootless podman only. The Docker daemon is not used, because anything started through it runs as root next to the mail server and the database. Known hazards on this host (from your repair-podman notes, not re-measured today): `--userns=keep-id` triggers a whole-image chown that held the storage lock for 5:54 on a 22 GB image; a container with a huge `/tmp` layer can hang podman's recovery. Mitigation is in `boxes.md`. ## 9. What else runs here (do not disturb) Running services [M] (`systemctl list-units --state=running`): atd, chrony, containerd, coturn, cron, dbus, docker, fail2ban, getty@tty1, mdmonitor, `molohttp`, multipathd, networkd-dispatcher, polkit, `rmail` (mail server), rsyslog, ssh, journald, logind, networkd, resolved, udevd, unattended-upgrades, upower, `user@1000`, `user@994`, uuidd. Listening sockets [M] (first 30 listeners only; the list was truncated): TCP 22 (ssh), 25, 465, 587 (SMTP), 143, 993 (IMAP), 80 and 443 (web), 9002, 9003, 10500 (Python), 5432 on 127.0.0.1 (Postgres), 3478 on `172.18.0.1` (TURN, many sockets), 18765 and 18766 on 127.0.0.1 (Python), 37975 and 38027 on 127.0.0.1 (a `mustang` process and a `pasta` process), 53 on the local resolver. Containers running under rootless podman: one `grr-*` container (up 14 hours) and the `moloapp-postgres` container (up 5 days, healthy) [M]; ten more `grr-*` and `handsup_handsup_1` are exited. Processes by CPU at measurement: a Python process at about 54% CPU (running 2 days 16 h), two `muse-bin-1.4.13` processes at about 9% to 10% (running 2 to 3 days), and Claude Code sessions [M]. Load average 1.20 / 0.95 / 0.97 [M]. CPU pressure at measurement: PSI `cpu some` avg10 0.00; memory `some` and `full` avg10 0.00 [M]. Meaning: the baseline already uses roughly one core. Mail, TURN and Postgres are latency sensitive. zucht builds run niced and I/O-niced with their own caps (`boxes.md`, D8). ## 10. Tools on the host (relevant to the build) Present [M]: git 2.53.0, make 4.4.1, gcc and g++ 15.2.0, clang 21.0.0 (Swift toolchain build), meson 1.10.1, ninja 1.13.2, pkg-config 2.5.1, Python 3.14.4, curl 8.18.0, wget 1.25.0, rustc 1.99.0, cargo 1.99.0, rustup 1.29.1, Node 24.21.0, npm 11.19.0, jq 1.8.1, ffmpeg 8.0.1, Xvfb (installed), nft 1.1.6, go (installed), tmux, ssh. Absent [M]: ImageMagick (`convert`), a VNC viewer, QEMU, virtme-ng, sccache, mold (installable: apt candidate 2.40.4), just, seatd, weston, sway, wayvnc, grim, cargo-watch. Project working copy: `/home/retoor/projects/zucht` (git, branch `main`). Your other projects live next to it in `/home/retoor/projects/`. ## 11. Capacity budget for zucht Derived, not measured: these are the ceilings zucht may use, chosen so the production services keep their headroom. They are binding in `boxes.md`. | Resource | Host total | Production baseline [M] | zucht ceiling | |---|---|---|---| | CPU | 12 threads | about 1 thread busy | 4 threads for builds (niced), 2 threads each for the running boxes | | RAM | 62 GiB, 47 GiB available | 16 GiB used + 6.5 GiB swap | 12 GiB for the build, 6 GiB X11 box, 6 GiB Wayland box, 4 GiB VM; not all at once | | Disk on `/` | 436 GiB, 59 GiB free | 355 GiB used | 20 GiB total for images, volumes and caches; floor: refuse new builds when `/` is above 90% used | | PIDs | 236037 | n/a | 2048 per box | ## 12. What this host cannot do (and why it matters) - No physical display and no seat: no compositor can run on the real GPU for display. - No IOMMU: no GPU passthrough. - Old GPU with open driver: not a basis for rendering performance claims. - Shared production host: no experiments that can stall the disk or exhaust memory. ## 13. What was not measured - GPU OpenGL/EGL level under nouveau [U]. - Memory speed/DIMM layout (needs root `dmidecode`; not run) [U]. - NVMe wear/SMART state (needs root; not run) [U]. - The full listener table (first 30 shown) [U]. - Network throughput to registries [U]. - Whether the `mustang` process, ports 9002/9003/10500 and the `molohttp` service are exposed publicly or behind a proxy [U]. ## 14. Re-measure (read-only) ``` hostnamectl; uname -r; uptime; free -m; lscpu lsblk -o NAME,SIZE,TYPE,MOUNTPOINT,MODEL; cat /proc/mdstat; df -h / /srv/lead42 lspci -nn | grep -iE 'vga|ethernet|non-volatile' for c in /sys/class/drm/card*-*; do echo "$c $(cat $c/status)"; done ls -l /dev/dri /dev/kvm /dev/uinput; id; getent group kvm video render ls /sys/kernel/iommu_groups | wc -l cat /sys/fs/cgroup/user.slice/user-$(id -u).slice/user@$(id -u).service/cgroup.controllers podman info; podman system df; docker version ss -ltnp | head -40; systemctl list-units --type=service --state=running --no-pager cat /proc/pressure/cpu /proc/pressure/io /proc/pressure/memory ``` ## Changelog | Date | Change | |---|---| | 2026-10-28 | Initial measurement of host `devplace`. |