MyNixOS website logo
option

boot.zswap.acceptThresholdPercent

Threshold percentage at which zswap starts accepting pages again after the pool becomes full (1-100).

This parameter provides hysteresis to prevent pool oscillation. When the pool usage drops below this threshold, zswap starts accepting new pages. Default is 90% as recommended by kernel documentation.

Declarations
Type
integer between 1 and 100 (both inclusive)
Default
90