Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 1999 11:19:49 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Mark Ovens <markov@globalnet.co.uk>
Cc:        rdkeys@unity.ncsu.edu, "Marcel R. Wingate" <MWingate@cbm-wa.com>, questions@freebsd.org
Subject:   Re: Harddrives & Filesystems
Message-ID:  <19990424111948.G97757@freebie.lemis.com>
In-Reply-To: <19990424020324.B271@marder-1>; from Mark Ovens on Sat, Apr 24, 1999 at 02:03:25AM %2B0100
References:  <B704930A444AD111944F00600892E8A812AF0E@CBM-NT1> <199904222037.QAA19535@cc03du.unity.ncsu.edu> <19990423104344.H91260@freebie.lemis.com> <19990423151014.B253@marder-1> <19990424101403.C97757@freebie.lemis.com> <19990424020324.B271@marder-1>

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




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