On Fri, 20 Nov 2020 14:57:06 +0000, Andy Burns wrote:
> Andy Burns wrote:
>
>> no obviously named systemd unit
>
> tell a lie ...
>
> # systemctl list-units *swap*
> UNIT LOAD ACTIVE
> SUB DESCRIPTION
> swap-create@zram0.service loaded active
> exited Create swap on /dev/zram0
> system-swap\x2dcreate.slice loaded active
> active system-swap\x2dcreate.slice
> dev-mapper-fedora_localhost\x2d\x2dlive\x2dswap.swap loaded active
> active /dev/mapper/fedora_localhost--live-swap
> dev-zram0.swap loaded active
> active Compressed swap on /dev/zram0
> swap.target loaded active
> active Swap
Interesting.
There wasn't a systemd swap service before F33, so we need to know how to
disable/uninstall zswap and reinstall the old system using a swap file or
partition - especially those of us with older systems with less memory -
my Dual Athlon based house server has 4GB and my old Lenovo R61 has 3GB.
The former certainly uses swap space during one of my infrequently run
database tasks, so it seems likely that it would fail with zswap.
I found this: https://en.wikipedia.org/wiki/Zswap
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: as
the zswap cache space grows it will overflow into the swap file or
partition on disk.
--
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|