From owner-freebsd-current@FreeBSD.ORG Wed Oct 17 16:39:44 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 AC5C016A41A for ; Wed, 17 Oct 2007 16:39:44 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 5D74213C47E for ; Wed, 17 Oct 2007 16:39:44 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id BB1911B10EE7; Wed, 17 Oct 2007 18:39:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 3301E1B10C26; Wed, 17 Oct 2007 18:39:40 +0200 (CEST) Message-ID: <47163ACC.1080807@moneybookers.com> Date: Wed, 17 Oct 2007 19:39:40 +0300 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.6 (X11/20070918) MIME-Version: 1.0 To: Richard Tector References: <47161A42.2050306@moneybookers.com> <471636E4.90807@thekeelecentre.com> In-Reply-To: <471636E4.90807@thekeelecentre.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/4543/Wed Oct 17 16:16:16 2007 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-current@freebsd.org Subject: Re: Very slow HP 8 Internal Port SAS HBA with RAID 0, 1 on Hot Plug SAS/SATA Models (LSI SAS1068 - mpt) 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, 17 Oct 2007 16:39:44 -0000 Hi, Richard Tector wrote: > Stefan Lambrev wrote: >> Hi list, >> >> I'm having problems with the raid controller of HP ProLiant DL140 G3 >> Server and RELENG_7 >> >> I have 2x 500GB SATA HDDs configured as mirror, but the write speed >> is very slow ~7MB/s. >> >> I guess that there is no battery for the raid controller and the >> write cache is off, but 7MB/s .. >> Also there is no way to see the status of the raid from FreeBSD ? >> >> Any ideas how to improve this? > > Write cache is the most probable cause. > You can force it on with: > hw.mpt.enable_sata_wc=1 > See: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/mpt/mpt.c?rev=1.42;content-type=text%2Fx-cvsweb-markup > > > Hope that helps. > > Regards, > > Richard Tector This have to be put in /boot/loader.conf as I do not see such sysctl? Anyway I'll force the write cache to be always on from the raid configuration if this does not work. -- Best Wishes, Stefan Lambrev ICQ# 24134177