Breadcrumbs

Configure zRam for in-memory swapping on Debian

Very useful for Proxmox deployment where ZFS is used. (It's not smart to use a zvol as disk swap, especially on an SSD.)


  1. Install zram: apt install zram-tools

  2. Configure in /etc/default/zramswap

  3. Restart zram: service zramswap restart


Easy!