[pve-devel] [Bug 1484] RFC: Improve swap support (zswap, zram & etc)

Timofey Titovets nefelim4ag at gmail.com
Tue Aug 22 11:45:07 CEST 2017

Hi list,
By suggestion from: Fabian Grünbichler,
i try open topic on the dev list.

So, my suggestion (copy paste from issue):
since 3.11 kernel Linux support zswap, and since 3.15 kernel linux support zram.

(i'm a creator of https://github.com/Nefelim4ag/systemd-swap)
What i can suggest (That just IMHO):

- Enabling Zswap along with z3fold in kernel build, can make life
easier for your customers
  Zswap is a compressed cache between RAM and SWAP device
  z3fold it's a successor of zbud and can compress 3 pages in 1, in
compare to zbud 2 in 1 (z3fold disabled by default)

- Also that's will be cool if you add some info in Host status about
zswap efficiency
  i.e. how many swap stored in zswap in compare to physical swap devices
 (i'm already made that, so you can try do something like that:

Also you can adopt systemd-swap if you wish, like you do with ksmtuned

So i glad to hear some opinion from proxmox dev's,
because you can know your customer cases,

Have a nice day,

More information about the pve-devel mailing list