From owner-freebsd-stable@FreeBSD.ORG Mon Jun 7 05:15:04 2010 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 44F8D1065675 for ; Mon, 7 Jun 2010 05:15:04 +0000 (UTC) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Received: from nschwqsrv01p.mx.bigpond.com (nschwqsrv01p.mx.bigpond.com [61.9.189.231]) by mx1.freebsd.org (Postfix) with ESMTP id CAAF08FC14 for ; Mon, 7 Jun 2010 05:15:03 +0000 (UTC) Received: from nschwotgx01p.mx.bigpond.com ([58.172.114.57]) by nschwmtas01p.mx.bigpond.com with ESMTP id <20100607015905.FHEK1369.nschwmtas01p.mx.bigpond.com@nschwotgx01p.mx.bigpond.com> for ; Mon, 7 Jun 2010 01:59:05 +0000 Received: from mail.heuristicsystems.com.au ([58.172.114.57]) by nschwotgx01p.mx.bigpond.com with ESMTP id <20100607015903.OBPB3673.nschwotgx01p.mx.bigpond.com@mail.heuristicsystems.com.au> for ; Mon, 7 Jun 2010 01:59:03 +0000 Received: from white (white.hs [10.0.5.2]) (authenticated bits=0) by mail.heuristicsystems.com.au (8.14.3/8.13.6) with ESMTP id o571wwnR040048 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Mon, 7 Jun 2010 11:59:01 +1000 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) From: "Dewayne Geraghty" To: "'FreeBSD Stable'" References: <4C04B39D.8060503@FreeBSD.org> Date: Mon, 7 Jun 2010 11:57:47 +1000 Message-ID: <329026D0D0CF4D349EB922AF8F731D9D@HS> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcsBWlEhQw4V5iY5TLC+OFJKw9hzYgEh1y+w In-Reply-To: <4C04B39D.8060503@FreeBSD.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090204.4C0C5269.0036,ss=1,fgs=0 X-SIH-MSG-ID: qRswF9T2TAD0zmQv0WC2O1J3yArnq3Mt8ZoaRdJjqwQZTULdvMbOPpX9Y9kEn5720y5MNxCAN2sgZrzmXY7RiA== Cc: Subject: RE: AHCI timeouts - 8.1-PRERELEASE 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: Mon, 07 Jun 2010 05:15:04 -0000 Quick update. Following extensive testing, I've recommended to Alexander, in a longer email, that the default for VIA's VT8251 AHCI Controller be set at AHCI_Q_NOPMP|AHCI_Q_NONCQ Use of ahci in the kernel without this option will result in timeouts, ultimately preventing the machine from performing IO. No timeouts occurred when the ahci driver was removed from the kernel. Approx 35 tests were applied, simultaneously copying a large number of files (~2000) to 8 partitions that ranged in size from 10B to 1.6GB. Testing included single and gmirror disks. The removal of NCQ resulted in a degraded performance of < 8% when compared against EDGEIS, which failed under gmirror testing. Performance under load without NCQ was better than a kernel without ahci. The test was conducted on a VIA SN18000 using two WD500GB-AAKS disks, the disks were repartitioned (gpart) and system rebooted before each test. Regards, Phil.