From owner-freebsd-questions@FreeBSD.ORG Mon Jun 7 17:18:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEC0216A4CE for ; Mon, 7 Jun 2004 17:18:23 +0000 (GMT) Received: from out002.verizon.net (out002pub.verizon.net [206.46.170.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7941B43D5A for ; Mon, 7 Jun 2004 17:18:23 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.84.3]) by out002.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040607051059.VWXQ9273.out002.verizon.net@[192.168.1.3]>; Mon, 7 Jun 2004 00:10:59 -0500 Message-ID: <40C3F8E2.5010203@mac.com> Date: Mon, 07 Jun 2004 01:10:58 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Geert Hendrickx References: <20040606233406.GA485@lori.mine.nu> In-Reply-To: <20040606233406.GA485@lori.mine.nu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [68.161.84.3] at Mon, 7 Jun 2004 00:10:59 -0500 cc: freebsd-questions@freebsd.org Subject: Re: suggestions for optimal filesystem-layout over multiple harddrives? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 17:18:24 -0000 Geert Hendrickx wrote: > using multiple harddisks can increase performance, since I/O can be done > in parallel. But what would be an optimal filesystem-layout on, say, > two disks of equal size? Swap should evidently be spread equally over > the different drives. As for the filesystems, say I'd have a large /usr > and /home, each on one harddrive, and smaller /, /var and /tmp which > could reside on either disk. / and /usr would be mostly read-only. There is nothing wrong with the approach you are taking, and it will indeed help balance load out between multiple spindles. That being said, you have to know (by measuring) or at least predict what your I/O access patterns are between the various filesystems in order to gain full advantage. An easier way of balancing load between two or more drives involves using RAID-0 striping, although the drives do not have to be equal in size. Commodity ATA RAID controllers like Highpoint, Promise, & 3ware are fairly cheap, or one could use software RAID like vinum. -- -Chuck