None
EN
Comment on Ubuntu 22.04 LTS to leverage zswap to run on Raspberry Pi 4 with 2GB RAM by shitkaiser
['Jean-Luc Aufranc', 'Cnxsoft', 'Icraft Crafts']
Comments for CNX Software – Embedded Systems News
Canonical used to recommend Raspberry Pi 4 with at least 4GB RAM to run Ubuntu Desktop, but Ubuntu 22.04 LTS should run more smoothly on the Raspberry Pi 4 2GB as the company has enabled zswap by default to allow the Linux operating system to run better on systems with less memory. I understand zram is like a compressed swap that resides in RAM, while zswap uses both storage and RAM, and only stores the compressed data into the swap file on the storage device, if there’s not enough RAM to hold the data. Usage: Configure zram block device as a swap device to eliminate need for physical swap defice or swap file Benefits: Eliminates need for physical swap device.