I am assuming that you have installed zram-generator
& created an /etc/systemd/zram-generator.conf
file, as per the instructions in [HowTo] Install and configure zram using zram-generator.
However, after installation & creation of the zram-generator.conf
file, did you do the steps required to enable it, as per the TL;DR instructions at GitHub - systemd/zram-generator: Systemd unit generator for zram devices?
- Run
systemctl daemon-reload
to create new device units.- Run
systemctl start /dev/zram0
(adjust the name as appropriate to match the config).- Call
zramctl
orswapon
to confirm that the device has been created and is in use.
If you did not use zram-generator
, please advise what method you used to set up zram
.