Swap traffic turns the swap tile amber and red (v1.33.0) #102

Merged
mi merged 1 commits from mihoe/swap-traffic into main 2026-10-03 20:23:48 +02:00
Owner

On Hostsharing swap that stays costs little; pages moving in and out are changed blocks DRBD sends to the mirror.

  • Measures pswpin + pswpout over five minutes (MiB/s), history series swapTraffic, shown on the swap tile.
  • Amber from metrics.swapTrafficWarningMibPerSecond (0.1), red from metrics.swapTrafficCriticalMibPerSecond (1.0); the occupancy rule stays amber-only.
  • No sizing rule yet (follow-up once data exists).

PR-doc: docs/prs/2026-10-03-PR#102-swap-traffic.md

🤖 Generated with Claude Code

On Hostsharing swap that stays costs little; pages moving in and out are changed blocks DRBD sends to the mirror. - Measures `pswpin` + `pswpout` over five minutes (MiB/s), history series `swapTraffic`, shown on the swap tile. - Amber from `metrics.swapTrafficWarningMibPerSecond` (0.1), red from `metrics.swapTrafficCriticalMibPerSecond` (1.0); the occupancy rule stays amber-only. - No sizing rule yet (follow-up once data exists). PR-doc: `docs/prs/2026-10-03-PR#102-swap-traffic.md` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
mi added 1 commit 2026-10-03 20:04:07 +02:00
On Hostsharing swap that stays costs little; pages moving in and out are
changed blocks DRBD sends to the mirror. Werkator now measures pswpin +
pswpout over five minutes (MiB/s), records it as history series
swapTraffic, shows it on the swap tile, and colours the tile amber from
metrics.swapTrafficWarningMibPerSecond (0.1) and red from
metrics.swapTrafficCriticalMibPerSecond (1.0). The occupancy rule stays
amber-only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mi merged commit e70d465fdf into main 2026-10-03 20:23:48 +02:00
mi deleted branch mihoe/swap-traffic 2026-10-03 20:23:48 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mi/werkator#102