zswap-cli 1.0.0

Zswap-cli is a command-line tool to control zswap Linux kernel module options. Zswap is a compressed cache for swap pages. It takes pages that are in the process of being swapped out to disk and tries to compress them into a RAM-based memory pool with dynamic allocation. It trades CPU cycles for a significant performance boost since reading from a compressed cache is much faster than reading from a swap device. Features Currently supported features: CLI, environment variables and configuration files support. Optional systemd integration. Usage statistics and debug information support. Does not require a reboot.

Tags linux cli command-line utility kernel zswap cpp
License MITL
State stable

Recent Releases

1.0.020 Oct 2024 10:09 major feature: Switched the project to C++20 standard. Switched the binary installation path from sbin to bin. Disabled installation of the default configuration file if the systemd integration is not enabled. Added a new non_same_filled_pages_enabled kernel module option support. Added a new exclusive_loads kernel module option support. Added a new shrinker_enabled kernel module option support. Added kernel API version to the --version output. Added an option to link against all libraries statically (no dependencies mode). Added an option to enable or disable link-time optimizations.
0.9.109 Feb 2024 12:35 minor feature: Changes Added short alias -h for --help command-line option. Added short alias -v for --version command-line option. Fixed header guards. Introduced a custom variable name for systemd unit. Added dependabot support for tracking GitHub actions. Performed minor refactoring. Updated all GitHub workflows.
0.7.026 Dec 2021 13:53 major bugfix: Fixed building with GCC versions lower than 8. Fixed a typo threhsold - threshold. Fixed ability to control accept_threshold_percent ZSwap option. Added checks to forbid operations with accept_threshold_percent ZSwap option on Linux kernel 5.6.0. Systemd integration is now fully optional and can be disabled on CMake configuration step. Restored fmtlib submodule for distributions without packaged version. Added a new semver submodule.