storm

command
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL