From owner-freebsd-performance@FreeBSD.ORG Thu Aug 3 04:32:14 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA24D16A4DD for ; Thu, 3 Aug 2006 04:32:14 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DD7743D53 for ; Thu, 3 Aug 2006 04:32:14 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.24] (andersonbox4.centtech.com [192.168.42.24]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k734WDnx090154; Wed, 2 Aug 2006 23:32:13 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44D17C5E.3020401@centtech.com> Date: Wed, 02 Aug 2006 23:32:30 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: Kevin Taber References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1634/Wed Aug 2 17:32:49 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-performance@freebsd.org Subject: Re: RAID 5 stripe size and newfs args X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2006 04:32:14 -0000 On 08/02/06 22:59, Kevin Taber wrote: > Hardware: HP DL380 G4, 3.2Ghz Xeon EM64T, Smart Array 6i, 3GB RAM, 2 logical > drives: 2 x 36GB Ultra320 15k and 4 x 146GB Ultra320 10k > RAID setup in question: 4 x 146GB Ultra320 drives ( roughly 300GB raid 5 ) > > > I'm setting this array up for samba use... Windows 2003 folders will > redirect to a share. I'm going with a raid stripe size of 128KB, what > should my newfs args be? I have heard mixed answers via IRC. I think if I recall correctly you'll want to make sure your filesystem starts on one of the stripe offsets, so either at 0 bytes, or 128k byte offset. If I recall, either phk@ or scottl@ knew the right magic for that. Maybe this paper is related: http://db.usenix.org/events/fast02/schindler/schindler_html/index.html The best way to know for sure, is to test it with your type of workload (simulated or real). Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------