TIL: I am a cultist.
TheWoozy
joined 1 year ago
I'm driving a school bus. (just kidding)
I used zram + swap for years. I dedicated 25% of my memory to zram. The problem is that zram would get filled with infrequently used data, and disk swap would get the frequently used data. Once that happens everything slows down.
Zswap tries to fix that be creating a compressed swap buffer in memory. Older/less used data will get written to disk, but fresh/frequently used data will stay in the compressed ram buffer. That's my understanding, at least. I don't remember how to query Zswap usage stats.
It's a compressed ram disk (virtual block device) that is often used for swap.
Again, this is not a boomer issue. I was told the same thing by Silents. I've only moved left-er.
Would be nice if you posted the script to lemmy instead of a paste bin that deletes everything after a couple days.