On 13/01/2025 01:39, Chris Murphy wrote:
Reported compression ratio is 4.22. Documentation says zbud compression ratio is fixed at 2:1.
From my laptop using the default zswap-cli.conf:
Pool: 363.71 MiB (3.1% of MemTotal).
Stored: 727.34 MiB (78.9% of SwapUsed).
Compression ratio: 2.00.
Previous versions used a different algorithm, but we received user
feedback that lzo+z3fold worked significantly faster on older PCs, so we
changed the default settings.
I think we need to do more benchmarks to choose the best default
settings for everyone.
Should we update https://fedoraproject.org/wiki/Zswap to reflect using this package?
I think the Fedora Wiki is deprecated for documentation and has been
replaced by docs.fedoraproject.org. But if not, feel free to add it there.
I like the systemd service unit approach, which then pokes sysfs appropriately.
CLI mode can be used too to adjust the zswap kernel module settings on
the fly.
Example:
sudo zswap-cli --enable Y --max_pool_percent 70 --compressor lzo
--
Sincerely,
Vitaly Zaitsev (vitaly@xxxxxxxxxxxxxx)
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue