* IDE TCQ
@ 2002-11-12 17:46 Sasi Péter
2002-11-13 11:39 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Sasi Péter @ 2002-11-12 17:46 UTC (permalink / raw)
To: axboe; +Cc: linux-kernel
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?
Is it limited to UATA100 and up?
Is it limited to specific chipsets?
Maybe a combination of these two?
Is there any list of the disks that support TCQ?
Or does that come compulsory with eg. UATA100?
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)?
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?
Maybe I should rather be asking Andre Hedrick about the internals of TCQ?
I have CCd LKML, since others might also like some clarification around IDE TCQ. If you reply, please keep me CCd as well, since I am not subscribed to LKML currently.
Thank you very much!
Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: IDE TCQ
2002-11-12 17:46 IDE TCQ Sasi Péter
@ 2002-11-13 11:39 ` Jens Axboe
2002-11-16 0:16 ` Matthias Andree
0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2002-11-13 11:39 UTC (permalink / raw)
To: Sasi Péter; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: IDE TCQ
2002-11-13 11:39 ` Jens Axboe
@ 2002-11-16 0:16 ` Matthias Andree
0 siblings, 0 replies; 3+ messages in thread
From: Matthias Andree @ 2002-11-16 0:16 UTC (permalink / raw)
To: linux-kernel
On Wed, 13 Nov 2002, Jens Axboe wrote:
> > 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.
Would be "it's recommended to use only one drive on a channel for best
results, whether with or without TCQ" more accurate? Or are there
reasons that make TCQ <-> slave interactions particularly bad that don't
show up without TCQ?
> 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.
Did you perchance benchmark the impact TCQ has on sequential writes when
the write cache is turned off?
Turning off the write cache without TCQ has a severe impact (30 to 70%
on my "stupid dd" tests) in my computer (VIA82C686, but I don't recall
which drive I did this on, it was either of IBM DJNA, DTLA or Maxtor
4W060H4)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-16 0:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-12 17:46 IDE TCQ Sasi Péter
2002-11-13 11:39 ` Jens Axboe
2002-11-16 0:16 ` Matthias Andree
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox