lkml.org 
[lkml]   [2007]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Why is NCQ enabled by default by libata? (2.6.20)
Phillip Susi wrote:
> Jeff Garzik wrote:
>> NCQ provides for a more asynchronous flow. It helps greatly with
>> reads (of which most are, by nature, synchronous at the app level)
>> from multiple threads or apps. It helps with writes, even with write
>> cache on, by allowing multiple commands to be submitted and/or retired
>> at the same time.
>
> But when writing, what is the difference between queuing multiple tagged
> writes, and sending down multiple untagged cached writes that complete
> immediately and actually hit the disk later? Either way the host keeps
> sending writes to the disk until it's buffers are full, and the disk is
> constantly trying to commit those buffers to the media in the most
> optimal order.

Less overhead to starting commands, and all the other benefits of making
operations fully async.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-29 20:55    [W:0.057 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site