On Fri, 20 Nov 2020 19:36:52 +0000, Andy Burns wrote:
> Martin Gregorie wrote:
>
>> Apparently zswap is intended to prevent swapping from wearing out flash
>> drives and has been around since 2013. The swap file/partition is still
>> required to deal with the situation when memory gets oversubscribed:
>
> Isn't zswap different from swap on zram?
The Wikipedia article I referenced describes zram as a swap device and
zswap as a cache front-ending the swap device, i.o.w. zswap can deal with
memory over-subscription by evicting pages to an external swap device:
zram can't do this because it IS the swap device.
The Wikipedia article describes them as alternatives.
--
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|