From owner-freebsd-scsi@FreeBSD.ORG Tue May 20 14:32:20 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 3DF4B1065677 for ; Tue, 20 May 2008 14:32:20 +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 DD8C68FC1A for ; Tue, 20 May 2008 14:32:19 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.local ([192.168.254.200]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id m4KEWEoJ024298; Tue, 20 May 2008 08:32:14 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4832E0EE.3030402@samsco.org> Date: Tue, 20 May 2008 08:32:14 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Warren Guy References: <4832C397.3090004@calorieking.com> In-Reply-To: <4832C397.3090004@calorieking.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=3.8 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org 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:32:20 -0000 Add the following to /boot/loader.conf: hw.mpt.enable_sata_wc=1 Scott 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. > > 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 92us 317ms > 1.93c,1.93c,eva.internal,1,1211281869,300M,,306,99,6722,1,5591,1,533,99,+++++,+++,2359,37,16,,,,,4572,11,+++++,+++,+++++,+++,3019,7,+++++,+++,28367,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 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 = 2145894400 (2046 MB) > avail memory = 2090598400 (1993 MB) > ... > mpt0: port 0xdc00-0xdcff mem > 0xefdec000-0xefdeffff,0xefdf0000-0xefdfffff irq 16 at device 8.0 on pci2 > mpt0: [GIANT-LOCKED] > mpt0: MPI Version=1.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=0x010000 card=0x1f091028 chip=0x00541000 rev=0x01 hdr=0x00 > vendor = 'LSI Logic (Was: Symbios Logic, NCR)' > device = 'SAS 3000 series, 8-port with 1068 -StorPort' > class = mass storage > subclass = SCSI >