Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2001 18:04:43 +0200
From:      Alfatrion <alfatrion@cybertron.tmfweb.nl>
To:        Weldon S Godfrey 3 <weldon@excelsus.com>
Cc:        Scott Gerhardt <scott@gerhardt-it.com>, FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Partitioning Suggestions
Message-ID:  <3BD04F1B.7090802@cybertron.tmfweb.nl>
References:  <20011018144526.M73194-100000@joule.excelsus.com>

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




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