The 2 x RAM rule is old, from the days when memory was expensive and systems
were often limited to 32 megs maximum. Now, it's unneeded -- if your system
really used swap equal in size to RAM (let alone twice RAM), that would
indicate the need to buy more RAM.

So ... in practice, I follow the 2X rule for systems with 64 megs of RAM or
less ... unless I'm setting up one with a small hard disk, in which case I
balance the needs of swap and filesystem space depending on what I plan to
use the system for. With 128 meg systems (the largest I actually have), I
still include a small swap partition, beacuse (I'm told) the kernel works
better with one, even if it remains unusaed, and because it provides a
cushion for an unexpected, transient load. 

But unless I'm using a hard disk so immense that the space is all but
costless, I'll use either 64 or 128 megs of swap, not the 256 megs that the
2 X rule calls for.

At 01:36 PM 2/25/00 +0530, K Sambaiah wrote:
>Hi All,
>     I would like to know about what is the ratio of swap partition
>     should be given with respect to RAM. I am giving untill now as
>      RAM   SWAP
>     32 MB  64MB
>     64 MB  100MB
>    and I am using RedHat 6.1. If we increse the RAM why should we increse 
>    the swap?  If I go for 128MB or 256MB or higher what is the ideal swap 
>    space to give? 

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to