Re:Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4...
by twic on Sunday January 29, 2017 @04:51AM
(#13513380)
I hadn't heard of zswap [0]:
"Zswap is a lightweight compressed cache for swap pages. It takes pages that are in the process of being swapped out and attempts to compress them into a dynamically allocated RAM-based memory pool. [...] Zswap is a new feature as of v3.11 [...] zswap is a work in progress and should be considered experimental."
The return of RAM Doubler!
The naming is initially confusing if you're already familiar with ZFS, especially:
"Zswap makes use of zpool for the managing the compressed memory pool"
Re:Ubuntu 16.04: “Out of memory” errors after upgrade to 4.4...
by lmns on Sunday January 29, 2017 @09:06AM
(#13514158)
It's actually quite useful on many consumer devices, especially those with multiple cores. Most of the time I'm happy I can trade a few CPU cycles for better I/O performance.
"Zswap is a lightweight compressed cache for swap pages. It takes pages that are in the process of being swapped out and attempts to compress them into a dynamically allocated RAM-based memory pool. [...] Zswap is a new feature as of v3.11 [...] zswap is a work in progress and should be considered experimental."
The return of RAM Doubler!
The naming is initially confusing if you're already familiar with ZFS, especially:
"Zswap makes use of zpool for the managing the compressed memory pool"
[0] https://www.kernel.org/doc/Documentation/vm/zswap.txt