Cap the zram hit rate at 100 % #2

Merged
solene merged 1 commit from compswap-zram into main 2026-10-28 22:44:02 +00:00
Owner

The zram block counter also counts reads that are not swap-ins (udev/blkid
probing, mkswap, swapon header), which could push the hit rate above 100 %
when there is little swap-in. Cap the zram reads at pswpin, and do not count
pages read back from the writeback backing device as served from RAM.

The zram block counter also counts reads that are not swap-ins (udev/blkid probing, mkswap, swapon header), which could push the hit rate above 100 % when there is little swap-in. Cap the zram reads at pswpin, and do not count pages read back from the writeback backing device as served from RAM.
The zram block counter also counts reads that are not swap-ins (udev/blkid
probing, mkswap, swapon header), which could push the hit rate above 100 %
when there is little swap-in. Cap the zram reads at pswpin, and do not count
pages read back from the writeback backing device as served from RAM.
solene merged commit 01e69db682 into main 2026-10-28 22:44:02 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/compswap!2
No description provided.