[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aic7xxx
Subject:    Re: Tagged queueing on Dell WS610 - good idea?
From:       Doug Ledford <dledford () redhat ! com>
Date:       1999-10-13 15:31:20
[Download RAW message or body]

On Wed, 13 Oct 1999, Neil Conway wrote:

> Thanks for the reply - I take it then that it is at least considered
> safe?  That's reassuring.  How about changing tag-depth without a reboot
> - possible?  Or should I just hack the driver to do that ;-)  Perhaps
> Doug can comment...

TCQ is considered safe.  I've seen multiple reports of the system being
slower with deeper queue depths and I haven't had the time to look into
that at all.  However, I suspect part of the cause for that is that the
low level driver actually tells the mid level code that the queue depth
for each device is 3 when TCQ is disabled.  Internally in my driver then,
I let all 3 commands come down into the waiting queue and send the first
one out.  When the first one completes, I send the second one to the card
immediately.  We don't wait for lots of bottom end processing to take
place before the next command goes out.  I'm certain that something that
would hurt untagged performance drastically is if I turned off that "lie
and tell them we can do 3 commands" option and made the first command
complete all the way back up to the upper layers before the next one got
sent. Many thanks to Leonard Zubkoff for providing the tip on doing it
this way with his BusLogic driver. 
 
> thanks
> Neil
> 
> 
> P.C. Uiterlinden wrote:
> > 
> > Neil,
> > 
> > The best way to find out is just to try it. Use bonnie to measure the throughput
> > with different queue depths. In stead of bonnie, you also could use dd to write
> > and read a large file. Make sure the file is large in either case (much larger
> > than your RAM).
> > 
> > Bonnie and dd gave comparable results in my case.
> > 
> > To my astonishment, it turned out that setting the queue depth larger than 2,
> > severely impacted throughput with my disks.
> > [SNIP]
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe aic7xxx" in the body of the message
> 

  Doug Ledford   <dledford@redhat.com>
   Opinions expressed are my own, but
      they should be everybody's.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic