Re: How to set up a Linux machine that occupies the minimum memory footprint ?

From: Damjan (gdamjan_at_gmail.com)
Date: 11/30/04


Date: Tue, 30 Nov 2004 17:22:24 +0100


>> The usual rule of thumb is to
>> have twice as much swap space as physical memory,
>
> Why is that exactly? I never have really understood the reasoning behind
> it.
>
> I can probably see sense in it on old systems (1980's / 1990's) where
> physical memory wasn't that large and a system was supporting an average
> number of users, and certain assumptions were made about the sort of
> applications that users were running.
>
> Is it still true these days though? Systems generally don't support as
> many people, the apps are different in nature, memory is a cheap commodity
> etc.

If you use suspend-to-disk then you need more swap than RAM... and twice as
much will mean you'll never be short of swap when you need it (mostly when
suspending).

-- 
damjan


Relevant Pages