On Fri, 20 Nov 2020 20:37:43 +0000, Andy Burns wrote:
> Martin Gregorie wrote:
>
>> The Wikipedia article I referenced describes zram as a swap device
>
> I think it's just a ram disc with compression, not specifically for swap
>
>> 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.
>
> Yep.
>
> My machine with the existing 5.9GB swap device and the new 4GB zram swap
> device, certainly thinks it's got a total 9.9GB swap space now.
>
> # free -hwt
> total used free shared buffers
> cache available
> Mem: 31Gi 2.3Gi 26Gi 45Mi 317Mi
> 2.4Gi 28Gi
> Swap: 9.9Gi 0B 9.9Gi Total: 41Gi
> 2.3Gi 36Gi
Useful to know. Thanks.
--
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|