To swap or not to swap ;-) (was RE: To lvm or not to lvm)
Carruth, Rusty
Rusty.Carruth at smartm.com
Fri Sep 21 13:08:02 MST 2018
So, in my limited experience with swapping, here's my conclusions:
1 - one big (that is to say, at least your ram size, and possibly 2x your ram size) swap PARTITION is needed if you want to hibernate or suspend, and I think it has to be the first one in your fstab (but I'm not sure on that)
2 - swap files work fine, but can't be used for suspend/hibernate.
3 - suspend/hibernate doesn't work with multiple partitions if (the first one I think) isn't big enough to hold everything, even if the total swap space is plenty big.
4 - not having swap seems to make some things not work too well, even when you're not overflowing in to swap. This one I don't have proof for, but it just felt like a no-swap system ran in to walls sooner.
-----Original Message-----
From: PLUG-discuss [mailto:plug-discuss-bounces at lists.phxlinux.org] On Behalf Of Matt Graham
Sent: Friday, September 21, 2018 9:35 AM
To: Main PLUG discussion list
Subject: Re: To lvm or not to lvm
.... You might even be able to get away without swap if you don't want to do suspend-to-disk.
More information about the PLUG-discuss
mailing list