This is a tiny systemd tool that creates a compressed swap device in memory at boot. (swap)
Instead of pushing data to a slow SSD or HDD, it compresses directly in memory.
zram usually gets around a 1:3 compression ratio, which means 1 GB of memory can effectively serve as 3 GB of swap space.
How to use:
Tell your Agent: please help me install and enable https://github.com/systemd/zram-generator
If you find it useful, give it a like, thanks 🥰
这是一个微小的 systemd 工具,在启动时在内存里创建压缩交换设备。(swap)
它不把数据推到慢的 SSD 或 HDD 上,而是直接在内存里压缩。
zram 通常能达到大约 1:3 的压缩比, 这意味着 1 GB 的内存可以有效地充当 3 GB 的交换空间。
使用方法:
告诉你的Agent, 请帮我安装并开启https://github.com/systemd/zram-generator
如果您觉得有用,请点赞,谢谢 🥰
Translated by AI from 简体中文Original (简体中文)
3
4
4 replies
Sort order