Skip to content

feat: implement zswap support #11199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

smira
Copy link
Member

@smira smira commented Jun 11, 2025

Zswap allows to compress pages in memory before they hit the actual swap device.

Both swap and zswap (or either one of these) can be enabled.

Fixes #10675

@smira smira added this to the v1.11 milestone Jun 11, 2025
@smira smira force-pushed the feat/zswap branch 3 times, most recently from 20b7155 to b0a4ec5 Compare June 13, 2025 16:07
Zswap allows to compress pages in memory before they hit the actual swap
device.

Both swap and zswap (or either one of these) can be enabled.

Fixes siderolabs#10675

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
172.20.0.5 runtime ZswapStatus zswap 1 0 B 0 0 0
```

Removing a `ZswapConfig` document will disable zswap on the system.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: add a note about Kubernetes & swap, talosctl cgroups --preset swap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for zswap
2 participants