From owner-freebsd-current@FreeBSD.ORG Wed Nov 7 13:21:06 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 AF5FC16A469 for ; Wed, 7 Nov 2007 13:21:06 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6E5A113C48E for ; Wed, 7 Nov 2007 13:21:06 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ipkpv-0007ON-03 for freebsd-current@freebsd.org; Wed, 07 Nov 2007 13:20:51 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Nov 2007 13:20:50 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Nov 2007 13:20:50 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Wed, 07 Nov 2007 14:23:30 +0100 Lines: 28 Message-ID: References: <487375.1457.qm@web30309.mail.mud.yahoo.com> <9bbcef730711070450x308129b4rb18577c317eee197@mail.gmail.com> <4731B8DA.8010201@conducive.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20070801) In-Reply-To: <4731B8DA.8010201@conducive.net> Sender: news Subject: Re: 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: Wed, 07 Nov 2007 13:21:06 -0000 韓家標 Bill Hacker wrote: > Ivan Voras wrote: >> On 07/11/2007, Arne Wörner wrote: >>> Maybe gjournal could help, because graid5 honors the BIO_FLUSH, but >>> that is >>> untested... >> >> Yes, AFAIK this would work. >> > > A RAID5 is one of the harder ones to do both fast and well in > software-only. > > The better hardware ($$$) controllers have fast hardware XOR engines as > well as CPU-as-state-machines and battery-backed cache, and THEY have to > work hard. I agree. But regarding the immediate topic of gjournal on graid5: gjournal has hooks in the UFS code to do full sync before journal switch (commit), which it then propagates to the devices and issues BIO_FLUSH, so it can offer both speed and reliability in this particular case. > Given decent hardware & any UPS that costs less than the hardware > controller, these are 'choices' - not really show-stoppers. In theory this is correct, in practice still many people don't know the choices they are implicitly making.