From owner-freebsd-stable@FreeBSD.ORG Sat Jul 21 19:58:24 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B352E16A420 for ; Sat, 21 Jul 2007 19:58:24 +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 4E86B13C45D for ; Sat, 21 Jul 2007 19:58:24 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from [192.168.254.15] (ydesk.samsco.home [192.168.254.15]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l6LJXoIk079976; Sat, 21 Jul 2007 13:33:50 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <46A25F9E.4000800@samsco.org> Date: Sat, 21 Jul 2007 13:33:50 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Worobcuk References: <4CC93356-890C-43DF-A905-0B9ABC990223@michaelworobcuk.de> <469D5061.8060306@tomjudge.com> <2F1F8117-86EF-49B4-AB4E-8A656727570A@michaelworobcuk.de> <469DE961.9060608@tomjudge.com> <932C632C-A89B-427F-92EC-71B351D66D17@michaelworobcuk.de> In-Reply-To: <932C632C-A89B-427F-92EC-71B351D66D17@michaelworobcuk.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [192.168.254.1]); Sat, 21 Jul 2007 13:33:50 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Tom Judge , freebsd-stable@freebsd.org Subject: Re: Dell PERC5/i SAS5/5IR - RAID monitoring X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2007 19:58:24 -0000 Michael Worobcuk wrote: >> Tom Judge wrote: >> >> As for performance issues with the SAS5/i, there is a problem in the >> controller. A work arround was created by Scott Long which created a >> sysctl that could be set to cause the controller to turn on the on >> drive write cache's. These changes where commited to RELENG_6 on >> 2007-06-05 21:32:57 UTC. >> >> >> ... >> >>> >>> Here is the original commit log: >>> >>> 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. >> >> > > I set mpt.enable_sata_wc to 1, as hw.mpt.enable_sata_wc is, AFAIK not > tunable in mpt_cam.c. This did not take any effect to the performance. > Is there anything else to change ? > Send me output from bootverbose. Also ensure that you have the following line in your /boot/loader.conf file: hw.mpt.enable_sata_wc=1 Scott