From owner-freebsd-scsi@FreeBSD.ORG Tue May 20 14:56:49 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D5C61065674 for ; Tue, 20 May 2008 14:56:49 +0000 (UTC) (envelope-from warren.guy@calorieking.com) Received: from soyuz.guy.net.au (soyuz.guy.net.au [67.19.57.58]) by mx1.freebsd.org (Postfix) with ESMTP id 2AF378FC19 for ; Tue, 20 May 2008 14:56:48 +0000 (UTC) (envelope-from warren.guy@calorieking.com) Received: from [10.1.1.2] (124-169-7-227.dyn.iinet.net.au [124.169.7.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by soyuz.guy.net.au (Postfix) with ESMTPSA id 2DF8A5C024; Tue, 20 May 2008 22:56:46 +0800 (WST) Message-ID: <4832E6C2.7040205@calorieking.com> Date: Tue, 20 May 2008 22:57:06 +0800 From: Warren Guy User-Agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080420) MIME-Version: 1.0 To: Scott Long References: <4832C397.3090004@calorieking.com> <4832E0EE.3030402@samsco.org> In-Reply-To: <4832E0EE.3030402@samsco.org> X-Enigmail-Version: 0.95.0 OpenPGP: id=E7B1C075 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig25B79A63C07638FB2E43D374" Cc: freebsd-scsi@freebsd.org Subject: Re: Very poor performance from Dell/LSI Logic SAS 3000 series SATA/SAS RAID controller FreeBSD 6.3 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 14:56:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig25B79A63C07638FB2E43D374 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Scott, Thanks a lot for that. This seems to have alleviated the problem, I'm see= ing decent performance now in my limited benchmark. It seems quite odd to me = that the write cache is not enabled by default, but oh well. Thanks again for your help! Warren Scott Long wrote: > Add the following to /boot/loader.conf: >=20 > hw.mpt.enable_sata_wc=3D1 >=20 >=20 > Scott >=20 >=20 > Warren Guy wrote: >> Hi, >> >> We have a few recently acquired Dell Poweredge SC440 machines in our >> office >> running FreeBSD 6.3 that are experiencing very poor disk performance. >> The RAID >> controller they are supplied with appears to be an "LSI Logic SAS 3000= >> Series". >> There are two 250GB SATA disks in RAID 1 configuration. 6-7MB/s seems >> to be the >> best I can get out of them. A Linux 2.6 machine with identical >> hardware and >> disk/controller configuration exhibits no such performance impediments= =2E >> >> Any information or pointers are greatly appreciated. >> >> bonnie++ output: >> >> 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 >> eva.internal 300M 306 99 6722 1 5591 1 533 99 +++++ +++ = >> 2359 37 >> Latency 26715us 157ms 2193ms 25385us 808us = >> 3852us >> Version 1.93c ------Sequential Create------ --------Random >> Create-------- >> eva.internal -Create-- --Read--- -Delete-- -Create-- --Read--- >> -Delete-- >> files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP = >> /sec %CP >> 16 4572 11 +++++ +++ +++++ +++ 3019 7 +++++ +++ >> 28367 40 >> Latency 1277ms 23us 33us 1396ms =20 >> 92us 317ms >> 1.93c,1.93c,eva.internal,1,1211281869,300M,,306,99,6722,1,5591,1,533,9= 9,+++++,+++,2359,37,16,,,,,4572,11,+++++,+++,+++++,+++,3019,7,+++++,+++,2= 8367,40,26715us,157ms,2193ms,25385us,808us,3852us,1277ms,23us,33us,1396ms= ,92us,317ms >> >> >> and bonnie++ from the Linux 2.6 machine: >> >> Version 1.03 ------Sequential Output------ --Sequential Input- >> --Random- >> -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 >> webvms 300M 41255 78 114551 26 565402 88 52867 94 +++++ >> +++ +++++ +++ >> ------Sequential Create------ --------Random >> Create-------- >> -Create-- --Read--- -Delete-- -Create-- --Read--- >> -Delete-- >> files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP = >> /sec %CP >> 16 3571 95 +++++ +++ +++++ +++ 3543 92 +++++ +++ >> 10787 82 >> webvms,300M,41255,78,114551,26,565402,88,52867,94,+++++,+++,+++++,+++,= 16,3571,95,+++++,+++,+++++,+++,3543,92,+++++,+++,10787,82 >> >> >> >> >> uname: >> FreeBSD eva.internal 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb= 13 >> 02:56:56 UTC 2008 =20 >> root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP >> i386 >> >> from dmesg: >> CPU: Intel(R) Xeon(R) CPU 3050 @ 2.13GHz (2128.01-MHz >> 686-class CPU) >> real memory =3D 2145894400 (2046 MB) >> avail memory =3D 2090598400 (1993 MB) >> ... >> mpt0: port 0xdc00-0xdcff mem >> 0xefdec000-0xefdeffff,0xefdf0000-0xefdfffff irq 16 at device 8.0 on pc= i2 >> mpt0: [GIANT-LOCKED] >> mpt0: MPI Version=3D1.5.13.0 >> mpt0: mpt_cam_event: 0x16 >> mpt0: Unhandled Event Notify Frame. Event 0x16 (ACK not required). >> mpt0: mpt_cam_event: 0x12 >> mpt0: Unhandled Event Notify Frame. Event 0x12 (ACK not required). >> mpt0: mpt_cam_event: 0x12 >> mpt0: Unhandled Event Notify Frame. Event 0x12 (ACK not required). >> mpt0: mpt_cam_event: 0x16 >> mpt0: Unhandled Event Notify Frame. Event 0x16 (ACK not required). >> ... >> da0 at mpt0 bus 0 target 0 lun 0 >> da0: Fixed Direct Access SCSI-5 device >> da0: 300.000MB/s transfers, Tagged Queueing Enabled >> da0: 237464MB (486326272 512 byte sectors: 255H 63S/T 30272C) >> >> pciconf: >> mpt0@pci2:8:0: class=3D0x010000 card=3D0x1f091028 chip=3D0x00541000= >> rev=3D0x01 hdr=3D0x00 >> vendor =3D 'LSI Logic (Was: Symbios Logic, NCR)' >> device =3D 'SAS 3000 series, 8-port with 1068 -StorPort' >> class =3D mass storage >> subclass =3D SCSI >> >=20 --------------enig25B79A63C07638FB2E43D374 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkgy5sUACgkQvGwbGeexwHWutgCgqRL6m98KU0OA1EmZ1aJo3/Z9 FQYAoJw+OxNiEvFHvqVOwsWvG1rdhlSP =oiHN -----END PGP SIGNATURE----- --------------enig25B79A63C07638FB2E43D374--