02-01-2020, 02:04 AM
(This post was last modified: 02-01-2020, 02:09 AM by Solra Bizna.
Edit Reason: forgot a word, messed up arithmetic
)
(02-01-2020, 01:53 AM)moonwalkers Wrote: Would you mind sharing the specifics of how you tuned zswap? As well as your typical/max VM usage. Maybe you just figured out the right combination of tunables I couldn't, or maybe my SSD was no longer as fast as it used to be. But I was frequently cramming 5GiB of data in RAM on my TP T60p with zram, where zswap wasn't perceptibly much better than just plain swap.
Somehow I knew you would turn out to be a fellow T60p user...

I don't remember tuning it at all. I just set zswap.enabled=1, disabled my zram init script, and away I went. My [current] usage totals about 3.8 4.1GiB, including about 0.6GiB of buffer cache. Maybe your extra gibibyte makes all the difference. My T60p runs a very minimal Sawfish setup instead of a full DE, which helps a lot.