mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-30 09:32:45 +01:00
The memory watch compares resident memory with the last stable, but #2199 (sustained CPU) and #1966 (tens of GB/day of writes) are the same class of regression and nothing measured them. Sample CPU ticks from /proc/<pid>/stat and storage and write-call bytes from /proc/<pid>/io beside RSS, and report steady-state CPU and MiB/day over the existing final-third window. The new rates are reported, not gated: budgets need a measured noise floor first. A 5-minute run of main against itself on pulse-dev gave 0.6% CPU on both builds and 472 vs 461 MiB/day of disk writes, so writes vary about 2.5% between identical builds and write calls about 11%.