Ideal Swap Partition Size

Paulo Cavalcanti promac at
Sun Jan 18 13:46:36 UTC 2009

On Sun, Jan 18, 2009 at 9:57 AM, Roberto Ragusa <mail at>wrote:

> Paulo Cavalcanti wrote:
> >
> > On Sat, Jan 17, 2009 at 9:52 AM, Rahul Tidke <rahul at
> > <mailto:rahul at>> wrote:
> >
> >     Hello,
> >      I am configuring a server with 3 GB of RAM; how much swap partition
> >     size should I allocate. I think allocating twice of RAM will be
> >     waste of HDD space. What is the standard.
> >
> > If you intend to hibernate, then you need at least the same size of the
> ram.
> And then consider that you may want to hibernate even when the
> machine is already using some swap.
> I think that if you have 3GB of RAM you have more than 100GB of HD space.
> Maybe a lot more, as you say it's a server.
> I'd go for 5GB.
As I said before, one can always use an extra swap area via a file.

But if a server would ever need a 5GB of swap, then it is time to buy more
The amount of "data + programs running" should not exceed the amount of
available ram,
if one wants a decent performance on a server:

Paulo Roma Cavalcanti
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the users mailing list