zramswap
utilities for working with zram
Install
- All systems
-
curl cmd.cat/zramswap.sh
- Debian
-
apt-get install zram-tools
- Ubuntu
-
apt-get install zram-tools
- Kali Linux
-
apt-get install zram-tools
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install zram-tools
- Dockerfile
- dockerfile.run/zramswap
zram-tools
utilities for working with zram
zram is a Linux kernel module that allows you to set up compressed filesystems in RAM. zram-tools uses this module to set up compressed swap space. This is useful on systems with low memory or servers running a large amount of services with data that's easily swappable but that you may wish to swap back fast without sacrificing disk bandwidth. By default it allocates 100MB of RAM, you can configure this in /etc/default/zramswap.conf