记录一下 fedora zram 如何调整:
1. 安装配置生成器
sudo dnf install zram-generator-defaults

2. 创建配置文件`/etc/systemd/zram-generator.conf`并写入:
[zram0]
zram-size = min(ram, 4096)

3. 重启 zram 服务:
systemctl restart systemd-zram-setup@zram0


#linux
 
 
Back to Top