From owner-freebsd-questions Fri Jun 22 18:41: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 9EFDF37B401 for ; Fri, 22 Jun 2001 18:40:56 -0700 (PDT) (envelope-from wmoran@iowna.com) Received: from iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f5N1bZs21463; Fri, 22 Jun 2001 21:37:35 -0400 (EDT) Message-ID: <3B33F37B.FCF2C997@iowna.com> Date: Fri, 22 Jun 2001 21:40:11 -0400 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Joe Clarke Cc: Jacob , freebsd-questions@FreeBSD.ORG Subject: Re: 2G RAM: how much swap space? References: <20010622204809.W92463-100000@shumai.marcuscom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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