From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 5 06:17:22 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 020F816A416; Tue, 5 Dec 2006 06:17:22 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (pool-71-245-104-192.ptldor.fios.verizon.net [71.245.104.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73B1043C9D; Tue, 5 Dec 2006 06:16:42 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (localhost.home.localnet [127.0.0.1]) by schitzo.solgatos.com (8.13.8/8.13.6) with ESMTP id kB56HIM5028157; Mon, 4 Dec 2006 22:17:18 -0800 Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.13.8/8.13.4/Submit) with UUCP id kB56HIHa028154; Mon, 4 Dec 2006 22:17:18 -0800 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id GAA25710; Tue, 5 Dec 2006 06:15:43 GMT Message-Id: <200612050615.GAA25710@sopwith.solgatos.com> To: freebsd-hackers@FreeBSD.org In-reply-to: Your message of "Mon, 04 Dec 2006 20:29:55 GMT." <200612042029.kB4KTtAD005077@freefall.freebsd.org> Date: Mon, 04 Dec 2006 22:15:43 +0000 From: Dieter X-Mailman-Approved-At: Tue, 05 Dec 2006 12:57:44 +0000 Cc: Remko Lodder , freebsd-bugs@FreeBSD.org Subject: Re: kern/106343: Need SATA NCQ support X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 06:17:22 -0000 In message <200612042029.kB4KTtAD005077@freefall.freebsd.org>, Remko Lodder writes: > Synopsis: Need SATA NCQ support > > State-Changed-From-To: open->closed > State-Changed-By: remko > State-Changed-When: Mon Dec 4 20:29:54 UTC 2006 > State-Changed-Why: > Hello, this is not a PRoblem but a request for assistance. Please reask > this on the -hackers mailinglist (findable via > http://lists.freebsd.org/mailman/listinfo). They might be able to help > you quicker and sooner then via a PR (Which is not really a PR yet). If > after discussion people think you should file a PR, notify me and I will > reopen it with all the recent information involved. Anyway: Thanks for > taking the time to report this issue and for using FreeBSD > > http://www.freebsd.org/cgi/query-pr.cgi?pr=106343 I asked on -questions a year ago. No response. IMO the man page(s) should include things like how to turn SATA NCQ on/off. And if the device drivers don't provide the functionality, they should. So IMO this is a PR. But we can run it past -hackers, that's fine. So, for those of you on -hackers just tuning in, can someone please tell me how to turn SATA NCQ on? Thanks! Here's the PR in question: atacontrol cap ad4 reports: Feature Support Enable Value Vendor Native Command Queuing (NCQ) yes - 31/0x1F I have looked in the atacontrol(8) man page, the ata(4) man page, I grepped all the section 4 & 8 man pages, and I did an online search, but I cannot find how to turn on SATA NCQ. Write performance without NCQ is unacceptable. NCQ would improve write performance significantly. It is not obvious if this is "just" a documentation problem, or if NCQ support needs to be added to the various SATA controller device drivers. (nforce4 ultra in my case) atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem 0xfebfb0\ 00-0xfebfbfff irq 10 at device 7.0 on pci0 ata2: on atapci1 ad4: 238475MB at ata2-master SATA150