From owner-freebsd-questions Fri Apr 23 18:52:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 1F5311507A for ; Fri, 23 Apr 1999 18:52:24 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA15713; Sat, 24 Apr 1999 11:19:51 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA06016; Sat, 24 Apr 1999 11:19:49 +0930 (CST) Date: Sat, 24 Apr 1999 11:19:49 +0930 From: Greg Lehey To: Mark Ovens Cc: rdkeys@unity.ncsu.edu, "Marcel R. Wingate" , questions@freebsd.org Subject: Re: Harddrives & Filesystems Message-ID: <19990424111948.G97757@freebie.lemis.com> References: <199904222037.QAA19535@cc03du.unity.ncsu.edu> <19990423104344.H91260@freebie.lemis.com> <19990423151014.B253@marder-1> <19990424101403.C97757@freebie.lemis.com> <19990424020324.B271@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990424020324.B271@marder-1>; from Mark Ovens on Sat, Apr 24, 1999 at 02:03:25AM +0100 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 24 April 1999 at 2:03:25 +0100, Mark Ovens wrote: > On Sat, Apr 24, 1999 at 10:14:03AM +0930, Greg Lehey wrote: >> On Friday, 23 April 1999 at 15:10:14 +0100, Mark Ovens wrote: >>> On Fri, Apr 23, 1999 at 10:43:44AM +0930, Greg Lehey wrote: >>>> On Thursday, 22 April 1999 at 16:37:50 -0400, rdkeys@unity.ncsu.edu wrote: >>>>>> >>>>>> I have 2 Harddrives in my system and would like some input as to how to >>>>>> allocate the file systems (/, /usr, /var, swap, etc) >>>>>> >>>>>> I have a 500Mb IDE Harddrive and a 2GB SCSI harddrive >>>>>> The system is a P90, 32Mb RAM (plan to go to 64Mb soon, so I want to have >>>>>> enough swap). >>>>> >>>>> Usually 1-2x is sufficient for swap, so use 128mb for swap. >>>> >>>> I'd recommend about 256 MB for swap. In view of the small first disk, >>>> I'd put about 64 MB on the first disk and 192 MB on the second disk. >>>> The ratio of main memory to swap is not so important, but you should >>>> have at least one swap partition slightly larger than main memory so >>>> that you can take crash dumps. >>> >>> What is the benefit of splitting swap between the 2 disks? Why not >>> have one swap slice on one disk? >> >> Performance. > > Can you elaborate. Pretty much what I just said to Bob Keys: "More spindles", and the reference to http://www.lemis.com/vinum/intro.html (or http://www.lemis.com/vinum/Performance-issues.html, which is part of the intro). > A while ago I asked your opinion on my proposed setup over 2 disks, > which I've now done: 64MB /, 32MB /var, 256MB swap on the first > disk I definitely didn't recommend a /var file system. As you can see from my last message, 32 MB isn't even big enough for a crash dump. > and the whole 4.5GB of the second disk as /usr, but you didn't > suggest splitting the swap across the 2 disks. Mea culpa. I suppose I should have done. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message