Skip to content

Stutter v0.2.0

Latest

Choose a tag to compare

@P2949 P2949 released this 30 Oct 05:10
· 1 commit to main since this release
d887da8

Stutter v0.2.0

The first release with a Supported autonomous controller, bounded to exactly the two contracts below. It is not a general system-wide optimizer.

Supported

Observation (unchanged from v0.1.0): doctor, record, bench, report, audit, completions_and_man.

Bounded autonomous tuning (new): cpu_affinity_experiment, cgroup_placement_experiment and the controller that applies them, bounded_autotune_controller. The controller authorises exactly the entries of the autonomous support registry, enforced at runtime:

  • CPU-affinity profile: a stable, explicitly identified game under scheduler pressure, judged by the target's own runnable latency (GameRunnableLatency), local process-tree scope.
  • Cgroup placement: the same workload and objective, into the administrator-configured game cgroup.

Anything absent from that registry is suggest-only, benchmark-only, manual or rejected. Each applied experiment is prepared before the first write (journal-before-write two-phase transaction), physically verified, rolled back unless it is a measured improvement, audited, and recovered after a crash.

Experimental (not Supported)

  • The daemon/service always-on integration (always_on_autotune). The packaged service runs apply-low-risk; the controller's evidence is for stutter autotune --mode apply-medium-risk.
  • uclamp, nice and I/O priority (evaluated, DeferredEvidence), CPU EPP and governor, GPU power profile and forced performance level, VM swappiness and dirty ratios, known-device and storage/unknown IRQ affinity (evaluated, DeferredEvidence or manual/HighRisk), and remote agent mutation. High-risk apply is not implemented.
  • Diagnosis, the advisor, StutterScore and tune_evaluation, as in v0.1.0.

Evidence

  • The bounded controller graduated on a coverage-qualified real-system soak at one exact commit: at least 8 h, 113 of 113 rounds clean, 7 complete clean 16-round cycles, every dangerous event kind (controller crash and stop, worker kill, suspend/resume, workload kill, focus swap, long rounds) clean at least 6 times, both operations repeatedly kept and reverted, and all zero-violation checks passing. It was backed by a 10,000-seed deterministic fault sweep and a real-controller SIGINT stress in ci-live.
  • Two earlier soaks found real defects (a prepared-apply race and a lost SIGINT); they were fixed and their runs discarded.
  • The soak used disposable game-like workloads, not real games.
  • Observed kernels and degraded behaviour are as documented in docs/KERNEL_COMPATIBILITY.md.

Verification

The release package was verified with xtask release-verify --require-acceptance against fresh evidence bundles taken at the exact release commit (observation and the production-controller smoke), and the installed package passed xtask release-install-smoke. Verify downloads with sha256sum -c SHA256SUMS and read SUPPORT.md first.