[ale] to lvm or not lvm is my dillema

Steve Litt slitt at 444domains.com
Mon Jan 5 21:39:44 EST 2026


> On 1/3/26 19:13, Steve Litt via Ale wrote:
> >> No.   If you increase physical RAM you often want to add SWAP
> >> devices.  

Just so we're all on the same page, I didn't write the preceding two
sentences.

> 
> I disagree.
> 
> Since around 2000, the old rules of 2-3x RAM for swap just don't
> apply if you want a responsive server.
> In the days of more than 4GB of RAM, swap use has drastically changed

I wonder if "add more RAM, add more swap" is to accommodate
hibernation. Personally, I don't hibernate. My swap partition is about
5GB less than my installed RAM.

I turned my swappiness (/proc/sys/vm/swappiness) down to 20 from the 50
or 60 original figure. The reason I did this is that if your swappiness
is high, your stuff gets swapped even when you have plenty of free RAM
left, and when an application gets swapped, it slows down by more than
one or two orders of magnitude. If several things swap, your whole
computer starts acting like you're on a 300 baud modem.

Even after you close the offending programs, you still have a lot of
swapped memory slowing you down for the next hour or so. Here's the way
you fix that immediately:

https://troubleshooters.com/linux/quickhacks.htm#freeswap

HTH,

SteveT

Steve Litt 
Spring 2023 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques



More information about the Ale mailing list