From owner-freebsd-current@FreeBSD.ORG Tue Nov 6 14:57:00 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D695116A418 for ; Tue, 6 Nov 2007 14:57:00 +0000 (UTC) (envelope-from bsd@fluffles.net) Received: from mail.fluffles.net (fluffles.net [80.69.95.190]) by mx1.freebsd.org (Postfix) with ESMTP id ABA5113C4B6 for ; Tue, 6 Nov 2007 14:52:48 +0000 (UTC) (envelope-from bsd@fluffles.net) Received: from [10.0.0.18] (82-136-249-178.ip.tiscali.nl [82.136.249.178]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: info@fluffles.net) by mail.fluffles.net (Postfix) with ESMTP id 20517B29D68; Tue, 6 Nov 2007 15:14:45 +0100 (CET) Message-ID: <47307736.9060900@fluffles.net> Date: Tue, 06 Nov 2007 15:16:22 +0100 From: "fluffles.net" User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 06 Nov 2007 16:51:23 +0000 Cc: Arne Woerner Subject: geom_raid5 inclusion in HEAD? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2007 14:57:00 -0000 Hello list! I was wondering if and when the excellent geom_raid5 module created by Arne Wörner would be committed to HEAD or releng_7. Right now there's gvinum with RAID5 support and geom_raid3. The latter is nice but only works with a 'strange' number of disks (3,5,9,17,33, etc) and has the disadvantages associated with RAID3 (no parallel access; all disks are involved in one single write operation), while gvinum offers poor RAID5 write performance (~20MB/s in my testings). geom_raid5, on the other hand, offers excellent performance due to write combining, that allows 2-phase requests to be converted into 1-phase requests. This is achieved by waiting for contiguous requests and splitting those into the 'full stripe', meaning: stripesize * ( number_of_disks - 1). This way, no parity information has to be read from any disk since all required data is already in memory. In normal english this means excellent sequential performance. In my own testings i have achieved over 400MB/s of RAID5 write performance using a simple "dd if=/dev/zero of=/dev/raid5/data bs=1m" of at least 10GB worth of data. raidtest benchmarks show that geom_raid5 scales nicely with the number of disks, though ofcourse RAID5's weak point is random write. Considering this project has been around for quite a while, and sister project FreeNAS has been using it for more than a year in their official (stable) branch, i think it should become available in the official FreeBSD distribution as well. I don't know who decides on this, but i would like to get a discussion going on this matter. Looking forward to any replies! Kind regards, Veronica