On Tue, Dec 30, 2003, David Brownell <[EMAIL PROTECTED]> wrote:
> Axel Waggershauser wrote:
> > I have a problem with inadequate throughput when submitting bulk urbs
> > with transfer buffers greater than about 128kB. ...
> > 
> > The system looks like this:
> > kernel 2.6.0 with the uhci-hcd module driving a Via controller
> 
> Try using a non-UHCI controller.  UHCI needs one DMA descriptor (TD)
> per packet, so you may be hitting a limitation there:  the descriptors
> aren't very much smaller than those (64 byte) packets, and they're
> all pre-allocated.

Any limitation would show up at submit time. Either it will work or it
won't work. If it fails, it's most likely a memory allocation problem.

> You'll find that EHCI has the lowest load of that type (up to 24 KB
> per descriptor), and OHCI is also low (4 KB per descriptor, it could
> often handle up to 8 KB but the driver doesn't bother).

One thing where UHCI might differ is scanning the list of TDs to find
out of the transfer finished.

UHCI rescans the entire list every time it checks.

However, 256KB is still only 4096 TDs which shouldn't take that long to
remove.

I wonder if there is some other problem. Maybe adding some timing
information to the software portion of the TD would be interesting to
see if there are any delays between completing each individual TD.

Either way, the difference between UHCI, OHCI and EHCI in this matter,
is likely to be CPU utilization and I can't believe that we would be
using enough to make a difference on a modern CPU.

Axel, can you try it again, but this time, use the time command to see
what the CPU utilization looks like?

JE



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to