Documentation
¶
Overview ¶
Command storm drives an overcommit storm against a fiberd home and reports whether the pressure ladder parked fibers before the kernel killed anything. It is the measurement behind the phase 3 acceptance "kubelet never OOM-kills the Pod under a 2x overcommit storm".
It mints one grant, clones N named sessions, then makes every fiber dirty its heap in steps until the aggregate demand is `-overcommit` times the grant's ceiling. Meanwhile it samples the grant cgroup's memory.current and PSI, the ledger status stream, and the container's own OOM counter. Exit status is non-zero if the container recorded an OOM kill, if no fiber was parked, or if fiberd stopped reporting.
-plain runs the same storm without fiberd, as the baseline (plain.go). Its exit status is 0 whenever it measured, kills or not.
Each side ends with one "storm summary:" line, the record docs/benchmarks.md copies.