Date: Thu, 18 Oct 2007 11:13:33 +0300 From: Stefan Lambrev <stefan.lambrev@moneybookers.com> To: Richard Tector <richardtector@thekeelecentre.com> 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) Message-ID: <471715AD.3080102@moneybookers.com> In-Reply-To: <47163B9B.4010901@thekeelecentre.com> References: <47161A42.2050306@moneybookers.com> <471636E4.90807@thekeelecentre.com> <47163ACC.1080807@moneybookers.com> <47163B9B.4010901@thekeelecentre.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?471715AD.3080102>