Re: IDE TCQ

Jens Axboe (axboe@suse.de)
Wed, 13 Nov 2002 12:39:40 +0100


On Tue, Nov 12 2002, Sasi Péter wrote:
> Dear Jens,
>
> I would like to ask a few simple question: what does it take to make use of this nifty feature?
>
> My example: I have a box with an ABIT BH6 mainboard (Intel chipset,
> 2xUATA33 channels), A Leadtek WinFast CMD648 with 2xUATA66 channels,
> and a Promise Ultra100 TX2 2xUATA100. I have 3x IBM GXP120 120GB
> UATA100 IDE HDDs (have read you write these to be capable of TCQ).
>
> First set of questions: On which of the three different IDE
> controllers are the disks supposed to be doing TCQ?

They should all work

> Is it limited to UATA100 and up? Is it limited to specific chipsets?
> Maybe a combination of these two?

No

> Is there any list of the disks that support TCQ? Or does that come
> compulsory with eg. UATA100?

The list in the help section for ide tcq is pretty much complete.
Genereally, IBM deskstar drives support tcq and that's about it.

> Second set of questions: Does it do any good to one-channel-one-disk
> setups? Is it supposed to do good to access time, operations/sec,
> throughput, random reqs rearrangement or what? Do you have any
> figures how much TCQ helps performace (e.g. in file serving case)?

Yes it will help any setup. Due to way ide tcq works, it's recommended
only to use tcq on one drive on a channel right now. This may change in
the future.

I don't have any general numbers. I did some benchmarking when I first
implemented it, and it typically shows (as with scsi drives) that having
just enough tags to keep the disk busy helps a bit. The linux io
scheduler does the rest. For random reads, 10-30% speed increase was
observed.

> Now I see I piled up quite a few questions. Maybe it is more polite to
> ask you if you can recommend any reading on the topic on the web
> first?

TCQ itself is described in the ata standards, but that's just a
technical description of how to use it from a driver. For general ide
tcq discussions, you probably want to search on google for instance.

> Maybe I should rather be asking Andre Hedrick about the internals of
> TCQ?

You could, I should know a bit about it too though :-)

-- 
Jens Axboe

- 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/