← notes

A kill that used to be simulated

Oct 22, 2026

The first F´ build of Mru ran its replicas as threads and simulated the kill. By that evening each replica was its own process, and the kill was SIGKILL.

The first F´ deployment, MruOpsSat v0.5.0, put the RedundancyManager, a health registry, three replica hosts and a fault injector in one process, with F´’s command core, a sequencer, a 100 ms Linux timer and two rate groups. No comms stack: the SEPP has no network. It built as a static 32-bit ARM binary after two link fixes for Rust on armv7. In ESA’s image it ran 147 seconds and wrote ten files, 23 KB. The CI job got a longer name in that pull request and lost it in a second commit, because the ruleset requires the old one by exact name. That lesson was eleven days old.

The same day the plan changed: run 3 would be the most representative setup the OPS-SAT rules allow. Version 1 ran the replicas as threads and simulated the kill. Version 2 makes it real.

In v0.7.0 a process called MruQuorum starts three MruReplica processes and talks to them through F´’s GenericHub over Unix socket pairs of type SOCK_SEQPACKET. Seqpacket keeps message boundaries, so the hub needs no framing. Replica 0 is pinned to core 0, replicas 1 and 2 to core 1. At cycle 240 the manager sends replica 0 a real SIGKILL. The socket driver no longer reopens a link, so a send to a dead replica fails at once instead of waiting.

The counts did not move: 148 seconds and the same correct, caught and wrong as the threaded build, with 45 unit tests. Under emulation the four processes took 2.9% to 3.75% of a CPU, the manager 1.5% to 1.8%, in 19.9 MB of address space.

In version 1, Mru decided when replica 0 died. In version 2 the kernel does, and Mru has to notice.