[lkml]   [2001]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Swap size for a machine with 2GB of memory
On Sun, Aug 19, 2001 at 05:46:32AM -0400, Ignacio Vazquez-Abrams wrote:
> At the other extreme, I've heard of machines that are running heavy scientific
> applications. They have 4 GB of RAM and run with 10+ GB of swap.
> A machine with 2 GB of RAM can easily live with no swap, unless you want to
> run web, proxy, or database servers in very large configurations, or if you
> compile software several times the size of XFree86 with any regularity. By
> "very large configurations" I mean something you would have to deliberately
> set, probably requiring a change to defined constants in the software.

One word here: tmpfs.

I use several amounts of RAM as tmpfs. And with that you can
certainly reach the point of swapping sth. out.

But my machine has only 1GB of RAM and I set up only 2GB of swap.

I compile and test many things there directly from the CVS, run
things like the fcgp to produce nearly a GB of PostScript files
and many more fun things.

So if you plan to use tmpfs, better have enough swap available.
Files in tmpfs can also not be removed by the OOM killer. So you
should define your tmpfs limits properly.


Ingo Oeser
Isn't vi that text editor with two modes... one that beeps and one
that corrupts your file? --- Dan Jacobson in comp.os.linux.advocacy
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.105 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site