From owner-freebsd-questions Thu Nov 4 14: 1:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 208AF156E7 for ; Thu, 4 Nov 1999 14:01:09 -0800 (PST) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2650.21) id ; Thu, 4 Nov 1999 16:59:50 -0500 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105D4A@site2s1> From: Christopher Michaels To: 'Sheldon Hearn' Cc: Freebsd Questions Subject: Using MFS for SWAP (Was: The size of root and swap) Date: Thu, 4 Nov 1999 17:03:13 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just out of curiosity, if you used MFS for /tmp and someone dumped a large file into /tmp, wouldn't that suck down your available ram? -Chris > -----Original Message----- > From: Sheldon Hearn [SMTP:sheldonh@uunet.co.za] > Sent: Tuesday, November 02, 1999 4:36 AM > To: Nathaniel Schein > Cc: Freebsd Questions > Subject: Re: The size of root and swap > > > > On Mon, 01 Nov 1999 15:01:17 PST, "Nathaniel Schein" wrote: > > > Somewhere in a man page or Complete FreeBSD version 2.x.x I remember a > > suggestion that the root partition should be small in order to reduce > the > > possibility of corruption. Is this really a factor? > > No. > > > What happens if somebody dumps a huge file in /tmp? > > You close his or her account. :-) > > Lots of folks use MFS for their /tmp partition, so its use does not > affect the root partition. See the MFS option dcescription at: > > http://www.freebsd.org/handbook/kernelconfig-config.html > > > Should the / directory's size vary depending on > > the availability of space? What is the suggested size and why? > > Check out sysinstall's own suggested size, with the Auto option in the > fdisk UI. > > > Also, it used to be that the amount of swap was 2x the memory. Is this > > still true or since memory commonly 128-256MB+ is there a suggested > > upper bound? > > I think the generally touted magic number is 2.1x RAM depending on > expected usage. The more swap you have, the more potential there is for > paging. If you have "too much swap", it'll take a lot of paging before a > moggy process runs out of memory and is killed. > > Ciao, > Sheldon. > > > 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