Hello there.
I’m getting back to desktop Linux, and I’m kind of left scratching my head at the whole zram/zswap thing. Imagine my surprise when, during linking a rather large program on my laptop with 16GB of RAM (something that I’ve done on similarly-specced virtual machines with ease), kswapd and friends came to dominate the scheduler and ultimately cause the machine to wedge. (I haven’t attached kgdb from another machine yet, but I imagine I’d see every thread on my CPU preoccupied with swap-related tasks. It’d help explain why my load average steadily climbs while watching top: under that kind of pressure, nothing else can make progress.)
I can tickle this pretty consistently: I routinely do things that actually make full use of my main memory, and Project Bluefin’s (Fedora more broadly?) usurping half of that for a swap RAM disk is kind of a pain. It’d make sense if I could directly address the compressed deanonymized pages stored in zram, but I can’t, and the constant swap thrash is just killer.
The upshot is that I was very pleased to learn that I wasn’t swap thrashing my SSD, so there’s at least that.
What can I do to tune this or otherwise permanently disable swap? The compressed pages just, like, aren’t that important to me, as cool as the idea is.