Another "great" use of zram I found is this:
I have a new notebook with 6GB of ram: 3GB of which I'm using as a ZRAM block device.
Then I mount this zram blockdevice as a cache to my home partition (using dm-cache).
This way I can have a cache of my home partiion in zram (which with a compresion ratio of about 3 times can contain up to 9GB of files cached).
This is a poor alternative to having a SSD and with low speed disk (5400 rpm), but this way I can achieve low latency.
I have a new notebook with 6GB of ram: 3GB of which I'm using as a ZRAM block device.
Then I mount this zram blockdevice as a cache to my home partition (using dm-cache).
This way I can have a cache of my home partiion in zram (which with a compresion ratio of about 3 times can contain up to 9GB of files cached).
This is a poor alternative to having a SSD and with low speed disk (5400 rpm), but this way I can achieve low latency.
Comment