From owner-freebsd-stable@FreeBSD.ORG Thu Nov 2 14:27:43 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 021CC16A407 for ; Thu, 2 Nov 2006 14:27:43 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6076443D66 for ; Thu, 2 Nov 2006 14:27:42 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id kA2ERWsB072400; Thu, 2 Nov 2006 07:27:38 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <454A0054.1060708@samsco.org> Date: Thu, 02 Nov 2006 07:27:32 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: Fredrik Widlund References: <45470D95.5020801@qbrick.com> <454718DD.8060108@qbrick.com> <45471ACC.2030604@fer.hr> <4547421D.2010206@qbrick.com> <45477FCC.9050901@qbrick.com> <4547DD7E.4030509@qbrick.com> <20061101210243.GG98766@rancor.immure.com> <4549BF59.3000405@qbrick.com> In-Reply-To: <4549BF59.3000405@qbrick.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-stable@freebsd.org Subject: Re: SAS Raid - mfi driver X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 14:27:43 -0000 The battery unit should not be considered optional. It's not about performance on silly 'dd' tests, it's about data safety. Way back when, all enterprise RAID cards were sold with an integrated battery because it was the right thing to do. These days, when you're shopping for RAID cards, you should just add in the cost of the battery as a matter-of-fact and not try to skimp by without one. Scott Fredrik Widlund wrote: > Because the card itself will deal with the buffered writes independently > of the kernel activity the risk should be less than using softupdates. > Words like "screwed" seems to me to be exaggerated in the generic case. > I our case specific you would need to understand the nature of what we > are doing to be able to make a comment like that. For example data is > redundant (exists in many copies), consists of very large sequencial > files, we have plenty of backup power, and the greatest risk is fbsd > locking up/crashing. > > Anyway our specific case is not of interest here, I just wanted to share > our experiences with the LSI MegaSAS with other fbsd users so they > understand why they get a severe performance degradation if they try to > use such a card w/o a bbu, and what their options are. > > The generic case of how great the risk really is of corrupting > filesystems completely using caches of any kind on the way to secondary > storage still is interesting to me, so if you could elaborate here that > would be great! > > Kind regards, > Fredrik Widlund > > > Bob Willcox wrote: >> On Wed, Nov 01, 2006 at 12:34:22AM +0100, Fredrik Widlund wrote: >> >>> Yes, it forces writeback even when the controller has no BBU. Choosing >>> WBack itself will default back to WThru. It's dangerous, but I guess it >>> should be much less dangerous than using for example softupdates. >>> >> I don't see how it could be *less* dangerous than using softupdates. Any >> loss of power while writing and it seems to me that you are going to be >> screwed w/o a BBU. >> >> [snip] >> >> > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"