The proposal suggests using zram device for swap, but doesn't say if
there will be a secondary swap on disk.

Zram uses memory rather than a drive partition as backing, so it's
useful for /tmp instead of tmpfs; and also when there isn't a swap
partition on the local drive.

But if there is a backing device available, zswap uses compression to
avoid swap until it can't and then pushes compressed data to swap
device. So it moderates the abrupt drop off in performance when
transitioning from memory to swap. Zram as swap will postpone that
abrupt transition but in the case where it runs out of space, you're
going to get that same abrupt fall off when swapping (or oom if no
secondary swap is setup).

Anyway, I've been using zswap for a year and rarely hit swapping to
the backing device.


Chris Murphy
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3SZN74DAH2TOQDAYT7YXWOZCFPVKVTAT/

Reply via email to