Originally posted by pkese
View Post
The the SSD is the calm down part. That only matters if you use Zswap and a swap partition. Zram, what CachyOS uses, put swap in ram and is used for omitting swap on a disk...you can have both, but that's not how Zram is designed to work -- the ram and disk be two separate swap devices and which one is used depends on how you set the priority.
Zswap uses ram and then spills over to the swap on disk once the ram is used. That scenario is what you're thinking of and is where using Zstd could potentially bring SSD lifespan benefits. IMHO, you're better off using Zram and not having an SSD based swap if you're worried about drive life.
Comment