[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: swap-fle on arm64, need to disable, how?



On Sat, 2023-09-30 at 18:29 -0400, gene heskett wrote:
> On 9/30/23 13:28, Matthias Böttcher wrote:
> > sudo dphys-swapfile swapoff
> > sudo systemctl stop dphys-swapfile.service
> > sudo systemctl disable dphys-swapfile.service
> > 
> > .
> However that did give me a clue about getting rid of zram0, which has 
> been done now, thank you. Now I hope to uncomment the SSD line in fstab.

Well, zram is the way to go; why would you still use swap partitions
or swap files instead?  Are you deliberately trying to wear out your
SSDs or to slow down your computer?

Fedora has it by default since a while, and at first I thought it's a
very stupid idea.  In practise, I can't be bothered anymore to create
these annoying swap partitions.  They're only a waste of disc space.
There haven't been any issues with it, and when the machine runs out
of memory, using swap partitions or swap files isn't going to fix
that.


Reply to: