perf(kernel): shave ~45s per node off the roll, and stop the repartition honouring PDBs it cannot satisfy #2162
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/faster-rolls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Measured on the seanfarm47 master roll:
roll-nodetook 3m00s. Two of its waits are fixed costs that buy nothing.pipeline-deploy-kernel
drainTimeout--disable-evictionso no PDB holds it; CNPG's 1800s grace period does. The wait buys a clean SIGTERM window for Postgres, whose fast shutdown is seconds. Every node paid the full 60.systemd-run --on-activesoft=1anyway.pipeline-repartition-node
Gets
--disable-eviction, which it should have carried from the start — the kernel roll has. Every volume on the node is about to be destroyed, so its stateful pods cannot be preserved by a PDB; honouring one only stalls. Todayseanfarm-worker-a40389sat its full 10-minute drain timeout onpostgres-9andzot-v2-0:with
cnpg/postgresandregistry/zotboth atdisruptionsAllowed=0— then proceeded regardless.drainTimeoutdrops 600 → 60 with it, and the reboot delay 15 → 5 to match.Expected
roll-node~3m00s → ~2m15s now, ~1m30s oncesean/builder-imageslands the boot-time change (cloud-init and fwupd masked,loglevel=4), which cuts the node's ~120s down-time roughly in half.tests/check.sh— 147/147.https://claude.ai/code/session_01MdSbMhzabSbpG8TtP9Ur3H