From owner-freebsd-questions Fri Oct 19 9: 4:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by hub.freebsd.org (Postfix) with ESMTP id BD9E337B407 for ; Fri, 19 Oct 2001 09:04:34 -0700 (PDT) Received: from cybertron.tmfweb.nl ([213.10.151.186]) by smtp05.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id GLGNAX00.J32; Fri, 19 Oct 2001 18:04:09 +0200 Message-ID: <3BD04F1B.7090802@cybertron.tmfweb.nl> Date: Fri, 19 Oct 2001 18:04:43 +0200 From: Alfatrion User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Weldon S Godfrey 3 Cc: Scott Gerhardt , FreeBSD Subject: Re: Partitioning Suggestions References: <20011018144526.M73194-100000@joule.excelsus.com> Content-Type: text/plain; charset=us-ascii; format=flowed 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 Weldon S Godfrey 3 wrote: > I would have seperate parts as you have done (/, swap, usr, and var). I > have commented below > > If my memory serves me right, sometime around Today, Scott Gerhardt told me: > > >>Here is how I plan to partion my 18GB drive: >> >>/ = 100MB >> > seems okay, I have been doing 64M in the past, I am thinking of doing 128M > in the future. This partician needs to reflect what you need for /tmp. I > am upping because I think the root filesystem with 4.x has creeped up in > size and I haven't noticed > > >>SWAP = 1GB (what if you have 4GB of RAM? 8GB of swap is insane) >> > I am not a big fan of the old unix 2x rule. It depends how much main > memmory you expect your system to take up as it grows under highest loads. > I have been sticking to 256M to 1G for most purposes (256 for the most > part). I am under the opinion if I *think* that Gigs of swap will be > needed, you should get more RAM (as RAM is cheap now). If you are going > to run bind (named), remember that a highly used bind will cache a lot of > DNS entries, all in RAM. Although you can control the cacheing behavor > with bind, it is best to have enough RAM so it isn't swapping a lot (or > even at all) unless you have a very good IO BUS (UW SCSI 160 or something) > I guess if a normal load causes 1G of memory usage, then having 2x RAM is > for highest load. But not all applications will take up RAM like that. I > guess I am a bad sysadmin, I just estimate based on what is being used. > > > >>/usr = 2GB >> > If your web server and users can fit with 2G, it is cool. You might want > the users and web stuff to be on a seperate drive. I find that 2GB is a > bit tight for even a modest web server. > > >>/var = 13GB - Data, WWW, Logs, FTP and Mail go here >> > > You got the right idea, lots of memory for mail. Although, if your users > don't keep all the mail on the server (when it pops off, it is removed, > you will find this may be overkill)... > > Again, all this depends on the load of your server. > > >>This way I can move /var to additional drives/RAID as storage requirements >>increase. >> >>Any comments in terms of performance and future growth considerations? >> >> >>Thanks >> Performance points: 1) Have multiple swap partitions if you have multiple harddisk. 2) If have direcotries that act like one is the source and the other is desteny, then have them on seperate harddisk. 3) You may wan't to set up a pilot project first. Set up your setting and run you machine for a week. Afther this make a final choice of your setting (including partitions) Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message