From nobody@FreeBSD.org  Mon Dec  4 19:20:53 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 94A7E16A47B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  4 Dec 2006 19:20:53 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BBE4843CF9
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  4 Dec 2006 19:19:20 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kB4JJmwM080337
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 4 Dec 2006 19:19:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kB4JJmh5080336;
	Mon, 4 Dec 2006 19:19:48 GMT
	(envelope-from nobody)
Message-Id: <200612041919.kB4JJmh5080336@www.freebsd.org>
Date: Mon, 4 Dec 2006 19:19:48 GMT
From: Dieter<freebsd@sopwith.solgatos.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Need SATA NCQ support
X-Send-Pr-Version: www-3.0

>Number:         106343
>Category:       kern
>Synopsis:       Need SATA NCQ support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 04 19:30:09 GMT 2006
>Closed-Date:    Mon Dec 04 20:29:57 GMT 2006
>Last-Modified:  Wed Nov 12 16:57:08 UTC 2008
>Originator:     Dieter
>Release:        6.0
>Organization:
>Environment:
>Description:
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: <nVidia nForce4 SATA150 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem 0xfebfb0\
00-0xfebfbfff irq 10 at device 7.0 on pci0
ata2: <ATA channel 0> on atapci1
ad4: 238475MB <Seagate ST3250823AS 3.03> at ata2-master SATA150

>How-To-Repeat:

>Fix:

Clarification of current non-support for NCQ committed to the ata.4 man page per info provided by sos.

>Release-Note:
>Audit-Trail:
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 
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: wilko 
Responsible-Changed-When: Tue Dec 5 13:51:23 UTC 2006 
Responsible-Changed-Why:  
Over to the ATA maintainer for a status update. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=106343 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/106343: commit references a PR
Date: Tue,  5 Dec 2006 20:23:34 +0000 (UTC)

 wilko       2006-12-05 20:23:25 UTC
 
   FreeBSD src repository
 
   Modified files:
     share/man/man4       ata.4 
   Log:
   document that NCQ is not yet supported.
   
   PR: kern/106343
   
   Revision  Changes    Path
   1.68      +2 -0      src/share/man/man4/ata.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/106343: commit references a PR
Date: Wed,  6 Dec 2006 19:25:25 +0000 (UTC)

 wilko       2006-12-06 19:05:12 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     share/man/man4       ata.4 
   Log:
   MFC: document that NCQ is not yet supported.
   PR: kern/106343
   
   Revision  Changes    Path
   1.52.2.9  +2 -0      src/share/man/man4/ata.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/106343: commit references a PR
Date: Wed,  6 Dec 2006 19:26:53 +0000 (UTC)

 wilko       2006-12-06 19:08:54 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6_2)
     share/man/man4       ata.4 
   Log:
   MFC:  document that NCQ is not yet supported.
   
   PR:             kern/106343
   Approved by:    re (rwatson)
   
   Revision      Changes    Path
   1.52.2.8.2.1  +2 -0      src/share/man/man4/ata.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:

Lets ask the ATA driver framework maintainer for his input.  Based on
that man pages etc can be updated as appropriate.

Soren, if you could be so kind please?

Wilko
