On 20/11/2020 08:39, Andy Burns wrote:
> Fedora now swaps onto zram, which feels somewhat recursive ... you use
> memory until RAM is full, then start swapping onto a zram device which
> is just a RAM disc with compression, so should use less RAM than the
> extra virtual address space it gives you ... feels like a novel method
> of spiralling into the ground waiting to happen?
You can do this with Raspbian too, it gives you about 30% more memory
headroom, and it will never swap to the SD card (either the partition or
file). See https://github.com/StuartIanNaylor/zram-swap-config
I've got this set on my last 1GB 3B+ which is running a browser, as if
it starts swapping to SD it becomes so slow it might as well be game
over. It still slows down a bit when swapping in to RAM, but not
unbearably so, and I've not had it fall over in my normal usage pattern,
so it's providing just enough additional memory to get by on.
---druck
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|