Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 1999 17:03:13 -0500 
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        'Sheldon Hearn' <sheldonh@uunet.co.za>
Cc:        Freebsd Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Using MFS for SWAP (Was: The size of root and swap)
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105D4A@site2s1>

next in thread | raw e-mail | index | archive | help
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




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