From owner-freebsd-performance@FreeBSD.ORG Fri Jun 8 11:06:44 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBF1216A421 for ; Fri, 8 Jun 2007 11:06:44 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from s200aog10.obsmtp.com (s200aog10.obsmtp.com [207.126.144.124]) by mx1.freebsd.org (Postfix) with SMTP id 9149913C455 for ; Fri, 8 Jun 2007 11:06:24 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from source ([217.206.187.80]) by eu1sys200aob010.postini.com ([207.126.147.11]) with SMTP; Fri, 08 Jun 2007 11:06:15 UTC Received: from [10.0.0.89] (bill.mintel.co.uk [10.0.0.89]) by rodney.mintel.co.uk (Postfix) with ESMTP id E1AB4181422; Fri, 8 Jun 2007 12:06:14 +0100 (BST) Message-ID: <466937BC.10703@tomjudge.com> Date: Fri, 08 Jun 2007 12:04:28 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Filip Palian References: <46692AC6.30700@hyperion.pl> In-Reply-To: <46692AC6.30700@hyperion.pl> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org Subject: Re: Dell/Perc5 raid/MPT SAS Integrated Raid Write Performance X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 11:06:45 -0000 Filip Palian wrote: > Hi folks, > > I've also encountered problems with write performnce on PE860, below are > some details. > > I believe that a fix for this went into RELENG_6 this week. Scott Long MFC'd the following fix at 2007-06-05 21:32:57. Tom Commit Message: scottl 2007-06-03 23:13:05 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c mpt.h mpt_cam.c Log: mpt.c: mpt.h: Add support for reading extended configuration pages. mpt_cam.c: Do a top level topology scan on the SAS controller. If any SATA device are discovered in this scan, send a passthrough FIS to set the write cache. This is controllable through the following tunable at boot: hw.mpt.enable_sata_wc: -1 = Do not configure, use the controller default 0 = Disable the write cache 1 = Enable the write cache The default is -1. This tunable is just a hack and may be deprecated in the future. Turning on the write cache alleviates the write performance problems with SATA that many people have observed. It is not recommend for those who value data reliability! I cannot stress this strongly enough. However, it is useful in certain circumstances, and it brings the performence in line with what a generic SATA controller running under the FreeBSD ATA driver provides (and the ATA driver has had the WC enabled by default for years). > DELL PE860 > ========== > > product: > ======== > chipset LSI SAS 1068B0 > LSI SAS 1068-IR 06.50.00 > mptbios 6.06.00.02 (2006.04.05) > > disks: > ====== > 2x ST3160812AS in RAID1 > > dmesg: > ====== > Copyright (c) 1992-2007 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 6.2-RELEASE #4: Wed May 30 10:34:00 CEST 2007 > root@ghostface1.expro.dmz:/usr/obj/usr/src/sys/GF-sn > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(R) CPU X3210 @ 2.13GHz (2133.42-MHz > K8-class CPU) > Origin = "GenuineIntel" Id = 0x6f7 Stepping = 7 > > Features=0xbfebfbff > Features2=0xe3bd,CX16,,> > AMD Features=0x20100800 > AMD Features2=0x1 > Cores per package: 4 > real memory = 4831838208 (4608 MB) > avail memory = 4130754560 (3939 MB) > ACPI APIC Table: > ... > mpt0: port 0xec00-0xecff mem > 0xfe9fc000-0xfe9fffff,0xfe9e0000-0xfe9effff irq 16 at device 8.0 on pci2 > mpt0: [GIANT-LOCKED] > mpt0: MPI Version=1.5.12.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). > mpt0: mpt_cam_event: 0xb > mpt0: Unhandled Event Notify Frame. Event 0xb (ACK not required). > da0 at mpt0 bus 0 target 0 lun 0 > > blogbench: > ========== > Frequency = 10 secs > Scratch dir = [/var/tmp/] > Spawning 3 writers... > Spawning 1 rewriters... > Spawning 5 commenters... > Spawning 100 readers... > Benchmarking for 30 iterations. > The test will run during 5 minutes. > ... > > Final score for writes: 17 > Final score for reads : 2026 > > > > Currently I'm during upgrading firmware and applaying upgrades from > Dell, if this will help I let you know. > > Regards, > Filip Palian > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"