From owner-freebsd-current@FreeBSD.ORG Thu Oct 18 08:13:41 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 E8CC016A46C for ; Thu, 18 Oct 2007 08:13:41 +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 934FB13C46E for ; Thu, 18 Oct 2007 08:13:41 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 543751B10EE0; Thu, 18 Oct 2007 10:13:40 +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 9A7DA1B10EA4; Thu, 18 Oct 2007 10:13:33 +0200 (CEST) Message-ID: <471715AD.3080102@moneybookers.com> Date: Thu, 18 Oct 2007 11:13:33 +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> <47163ACC.1080807@moneybookers.com> <47163B9B.4010901@thekeelecentre.com> In-Reply-To: <47163B9B.4010901@thekeelecentre.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/4545/Wed Oct 17 23:05:57 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: Thu, 18 Oct 2007 08:13:42 -0000 Hi, Richard Tector wrote: > Stefan Lambrev wrote: >> 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 > >> 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. > > If you have the option in the RAID bios. Try that first. > Failing that, yes, pop that in /boot/loader.conf, and it should do the > trick. > > Regards, > > Richard Enabling write cache really helps, so now I have to find a battery backup unit for the controller (if it supports it). Anyway here are the results of bonnie++ : Version 1.93c ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP netguard.com 16G 416 99 63957 15 26411 8 702 99 70399 13 192.2 5 Latency 21185us 462ms 785ms 22855us 134ms 139ms Version 1.93c ------Sequential Create------ --------Random Create-------- netguard.com -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 256:65536:65536/16 865 13 897 9 30908 60 858 13 88 2 6251 48 Latency 1082ms 136ms 357ms 1678ms 3044ms 1065ms 1.93c,1.93c,netguard..com,1,1192619536,16G,,416,99,63957,15,26411,8,702,99,70399,13,192.2,5,256,65536,65536,,16,865,13,897,9,30908,60,858,13,88,2,6251,48,21185us,462ms,785ms,22855us,134ms,139ms,1082ms,136ms,357ms,1678ms,3044ms,1065ms But isn't 70MB/s sequential read little slow for raid 1 with 2x500GB SATA II HDDs? -- Best Wishes, Stefan Lambrev ICQ# 24134177