From owner-freebsd-stable@FreeBSD.ORG Fri Jul 20 20:08: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 C8D8E16A41B for ; Fri, 20 Jul 2007 20:08:24 +0000 (UTC) (envelope-from mail@michaelworobcuk.de) Received: from smtp3.srv.eunet.at (smtp3.srv.eunet.at [193.154.160.89]) by mx1.freebsd.org (Postfix) with ESMTP id 89F0213C469 for ; Fri, 20 Jul 2007 20:08:24 +0000 (UTC) (envelope-from mail@michaelworobcuk.de) Received: from [10.0.0.129] (p54886F9D.dip.t-dialin.net [84.136.111.157]) by smtp3.srv.eunet.at (Postfix) with ESMTP id E01A510B0E4; Fri, 20 Jul 2007 22:08:22 +0200 (CEST) In-Reply-To: <469DE961.9060608@tomjudge.com> References: <4CC93356-890C-43DF-A905-0B9ABC990223@michaelworobcuk.de> <469D5061.8060306@tomjudge.com> <2F1F8117-86EF-49B4-AB4E-8A656727570A@michaelworobcuk.de> <469DE961.9060608@tomjudge.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <932C632C-A89B-427F-92EC-71B351D66D17@michaelworobcuk.de> Content-Transfer-Encoding: 7bit From: Michael Worobcuk Date: Fri, 20 Jul 2007 22:08:20 +0200 To: Tom Judge X-Mailer: Apple Mail (2.752.2) Cc: 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: Fri, 20 Jul 2007 20:08:24 -0000 > 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 ? -- Michael