Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2001 21:40:11 -0400
From:      Bill Moran <wmoran@iowna.com>
To:        Joe Clarke <marcus@marcuscom.com>
Cc:        Jacob <jacob@essociate.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: 2G RAM: how much swap space?
Message-ID:  <3B33F37B.FCF2C997@iowna.com>
References:  <20010622204809.W92463-100000@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
One thing to remember on this:
If you ever have to debug a problematic kernel, you will need at least
as much swap as you have RAM in order to do a crash dump.
Considering how cheap HDD space is, I'd stick with the 2X rule, but I
wouldn't drop below 1X if I were me. If you do so, you're basically in
the dark if your kernel starts having trouble.

-Bill

Joe Clarke wrote:
> 
> Today, the old 2xRAM rule isn't really as important.  Especially when you
> consider the applications you're going to be running.  If a database ever
> has to swap, forget about it.  Your performance will take a steep dive.
> You'll probably be safest with 2 GB of swap, but that may be excessive.
> If you're going to be doing kernel crash debugging on this machine, up the
> swap space.  If it's just going to be a database-driven web server, opt
> for 1xRAM of swap maximum, and through in as much memory as you can.
> 
> Joe Clarke
> 
> On Fri, 22 Jun 2001, Jacob wrote:
> 
> >
> > Fellow Daemonheads,
> >
> > What is the recommended partitioning scheme with regard to swap space
> > for a web server (2 1-GHz PIII; *2G RAM*; 2 9G SCSI drives). Principle
> > apps that the server will be running are Apache/mod_perl & MySQL.
> >
> > The defaults given by the FreeBSD install are 4099M swap on each
> > drive, and this seems excessive considering half the disk space would
> > be used for swap.
> >
> > TIA for tips/insight.
> >
> > --
> > Hacking's just another word for nothing left to kludge.
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> >
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
If a bird in the hand is worth two in the bush,
then what can I get for two hands in the bush?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B33F37B.FCF2C997>