If you live in the EU, please sign the Stop Killing The Internet initiative now!
- 0 Posts
- 3 Comments
Joined 7 years ago
Cake day: January 31st, 2020
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Use systemd-zram-generator. The process is explain in the DebianWiki and the ArchWiki and this random blog, but it boils down to just a few commands you need to run:
$ apt install systemd-zram-generator $ sudoedit /etc/systemd/zram-generator.conf [zram0] zram-size = min(ram, 8192) compression-algorithm = zstd $ sudo systemctl daemon-reload && sudo systemctl start systemd-zram-setup@zram0.serviceYou can tweak the settings above. Fedora recommends using
zram-size = min(ram, 8192), which would correspond to 8GB ZRAM in your case. CachyOS uses a less conservative config withzram-size = ram.To confirm that zram is working, run
zramctl. It should print something likeNAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT /dev/zram0 zstd 8G 430.8M 137.6M 142.9M [SWAP]See also Improving system responsiveness under low-memory conditions.



BTW, instead of getting the channel ID using
curl, you could also just click the “Share channel” button in the channel description.