linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Linda Walsh <lkml@tlinx.org>
Cc: Mikael Pettersson <mikpe@it.uu.se>,
	linux-ide@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Believed resolved: SATA kern-buffRd read slow: based on promise driver bug
Date: Wed, 09 Jan 2008 11:30:21 +0900	[thread overview]
Message-ID: <478431BD.4030109@gmail.com> (raw)
In-Reply-To: <47813835.3020508@tlinx.org>

Linda Walsh wrote:
>    Is 'main' diff between NCQ/TCQ that TCQ can re-arrange 'write'
> priority under driver control, whereas NCQ is mostly a FIFO queue?

No, NCQ can reorder although I recently heard that windows issues
overlapping NCQ commands and expects them to be processed in order (what
were they thinking?).

The biggest difference between TCQ and NCQ is that TCQ is for SCSI while
NCQ is for ATA.  Functional difference includes more number of available
tags and ordered tags for TCQ.  The former doesn't matter for single
disk.  The latter may make some difference but on single disk not by much.

> Am trying to differentiate NCQ/TCQ and SAS v. SCSI benefits.
> It seems both support (SAS & SATA) some type of port-multiplier/
> multiplexor/ option to allow more disks/port.
> 
> However, (please correct?) SATA uses a hub type architecture while
> SAS uses a switch architecture.  My experience with network hubs vs.
> switches is that network hubs can be much slower if there is
> communication contention.  Is the word 'hub' being used in the
> "shared-communication media sense", or is someone using the term
> 'hub' as a [sic] replacement for a 'switch'?

Port multiplier is a switch too.  It doesn't broadcast anything and
definitely has forwarding buffers inside.  An allegory which makes more
sense is expander to router and port multiplier to switch.  Unless you
wanna nest them, they aren't that different.

-- 
tejun

  reply	other threads:[~2008-01-09  2:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.6TIOCGhBpW0r4XW9rqR+Ad8P+Js@ifi.uio.no>
     [not found] ` <4777E08C.4000603@shaw.ca>
     [not found]   ` <4779870E.5070507@tlinx.org>
2008-01-01  0:32     ` SATA kernel-buffered read VERY slow (not raid, Promise TX300 card); 2.6.23.1(vanilla) Robert Hancock
2008-01-01 16:06       ` Mark Lord
     [not found]     ` <pan.2008.01.01.01.45.23.430875@wizards.de>
2008-01-02 18:40       ` Linda Walsh
2008-01-03 17:54         ` Holger Hoffstaette
     [not found]     ` <20080101015812.59e9ebf0@the-village.bc.nu>
2008-01-02 20:09       ` Linda Walsh
2008-01-03  0:25         ` Robert Hancock
2008-01-03  4:25           ` Linda Walsh
2008-01-03  8:37             ` Mikael Pettersson
2008-01-04  2:37               ` Re:Believed resolved: SATA kern-buffRd read slow: based on promise driver bug Linda Walsh
2008-01-04  2:49                 ` Believed " Robert Hancock
2008-01-04 11:23                 ` Mikael Pettersson
2008-01-06 20:21                   ` Believed " Linda Walsh
2008-01-09  2:30                     ` Tejun Heo [this message]
     [not found] <fa.o9uy6Qaq3PtHs2Z9lAKGUKvD85I@ifi.uio.no>
     [not found] ` <fa.MP5rgMp4TS2+Cfemd/uFOQOuquQ@ifi.uio.no>
     [not found]   ` <fa.K6LghyRzngM8LZiR3Md+1999xh4@ifi.uio.no>
     [not found]     ` <fa.7jD9zpCEjhqr9wMenw8PLx0AHyY@ifi.uio.no>
     [not found]       ` <fa.vg33sDPLrdDUNnRMIgKMOA12eKs@ifi.uio.no>
     [not found]         ` <fa.leUU92dZvqrjftqKQxk4q8qTM64@ifi.uio.no>
2008-01-07  4:11           ` Robert Hancock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=478431BD.4030109@gmail.com \
    --to=htejun@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@tlinx.org \
    --cc=mikpe@it.uu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).