logoalt Hacker News

yaro330today at 12:01 AM0 repliesview on HN

The swapiness section is incorrect. If I remember correctly swapiness does the same thing for swap and zram, which is how quickly the given partition starts to fill up. So for swap on hard drives you want it as low as possible, so you're using swap as late as possible. For zram you kinda really want it as high as possible, especially when the amount of ram is low, so it starts compressing early.

Some Android OEMs experimented with zram swapiness over 100, up to 200, so it would start compressing immediately.