honestly.. zram is compressed storage in RAM, either as a filesystem or swap. The ratio is usually between 2x and 3x. so if you have 4GB of real RAM, you can get up to 12GB of effective RAM. Sure it's slower as you have to compress/decompress, but what's the alternative? swapping into a HDD?... seriously...
Also zram uses RAM only on demand. If your fs has the strip option enabled or you remove something from the swap you free the RAM.
I really don't understand how people don't get this. There is literally no downside to zram.
Also zram uses RAM only on demand. If your fs has the strip option enabled or you remove something from the swap you free the RAM.
I really don't understand how people don't get this. There is literally no downside to zram.
Comment