4 ms·
I typically enable zram instead, on modern systems disk-based swap is going to be extraordinarily sluggish, and unlikely to be the make-or-break of recovering a
by DaSHacka 2y ago
I typically enable zram instead, on modern systems disk-based swap is going to be extraordinarily sluggish, and unlikely to be the make-or-break of recovering a system if you 64GB+ of RAM was already chewed through.
- MrDrMcCoy 2y agozram != zswap, which is unfortunately confusing. Unlike zram, which is a fixed-size in-memory block device that can be used for swap, zswap makes its own pool for compressed pages that you can resize at will, and sends compressed pages to your real on-disk swap. This significantly reduces I/O and gives you the best of both worlds between in-memory and on-disk swap. I'll be happy to share my config if you like.