Swap partition sizes Was: Best partition size for Ubuntu Root

SYNass IT Ubuntu / Linux i-ubux at synass.net
Fri May 2 23:28:16 UTC 2008


On Fri, 2008-05-02 at 17:28 -0400, Brian McKee wrote:
> Look at http://lists.debian.org/debian-user/2008/04/msg02321.html
> 
> 
> > Swap should equal 2x physical RAM for up to 2 GB of physical RAM, and then an
> > additional
> > 1x physical RAM for any amount above 2 GB, but never less than 32 MB.  So,
> > if: M = Amount of RAM in GB, and S = Amount of swap in GB, then If M < 2 S =
> > M *2 Else S = M + 2
> >
> > Using this formula, a system with 2 GB of physical RAM would have 4 GB of
> > swap, while one with 3 GB of physical RAM would have 5 GB of swap. Creating a
> > large swap space partition
> >
> > can be especially helpful if you plan to upgrade your RAM at a later time.
> >
> > For systems with really large amounts of RAM (more than 32 GB) you can likely
> > get away with a smaller swap partition (around 1x, or less, of physical RAM).


What's SWAP for ???
Working with applications need RAM ...
... if too much RAM is needed the system starts swapping !!!

You may already being in a swapping and want to supend/hybernate now !?
How then ??

Another point:
Your system has a capacity of 2GB RAM !!
You use 1GB only !
How do you set SWAP: 2 or 4 GB ???

Given this: I do 4GB ;-D


Already mentioned too:
HDD and RAM are quite cheap today !
One may start with the one OS plus Ubuntu on 40 GB ...
... but it would be much better to increase HDD to at least double with 
the installation of one more OS !!
One saves a lot of nerves and time doing so !!! ;-D


Cheers, svobi





More information about the ubuntu-users mailing list