[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <478431BD.4030109@gmail.com>
Date: Wed, 09 Jan 2008 11:30:21 +0900
From: Tejun Heo <htejun@...il.com>
To: Linda Walsh <lkml@...nx.org>
CC: Mikael Pettersson <mikpe@...uu.se>, linux-ide@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Believed resolved: SATA kern-buffRd read slow: based on promise
driver bug
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists