Back to Talos

ZswapConfig

website/content/v1.13/reference/configuration/block/zswapconfig.md

1.13.0678 B
Original Source
<!-- markdownlint-disable -->

{{< highlight yaml >}} apiVersion: v1alpha1 kind: ZswapConfig maxPoolPercent: 25 # The maximum percent of memory that zswap can use. shrinkerEnabled: true # Enable the shrinker feature: kernel might move {{< /highlight >}}

FieldTypeDescriptionValue(s)
maxPoolPercentintThe maximum percent of memory that zswap can use.
This is a percentage of the total system memory.
The value must be between 0 and 100.
shrinkerEnabledboolEnable the shrinker feature: kernel might move
cold pages from zswap to swap device to free up memory
for other use cases.