<Cc: list trimmed>
On Wed, May 01, 2002 at 11:57:40AM -0700, Abhijeet Bisain wrote:
> Hi Greg,
>
> Thanks for the quick reply.
>
> I am using the generic usbserial driver. I do a modprobe usbserial to
> invoke and lsmod lists it as usbserial. The driver on windows is a custom
> driver and not a generic one.
Ah, that's why it's not very fast. The generic driver is meant to be
very "generic" and work for many different types of devices, not for
throughput.
> What are some of the other drivers tuned for throughput? Do you have any
> suggestions on how I can tune this one for better throughputs.
The visor driver is highly tuned on the transmit path, but not the
receive path. I also think the empeg.c driver has produced some of the
fastest recorded throughput speeds on the Linux USB stack.
Suggestions for speed improvements:
- bulk queuing of urbs. This is where you can get the majority
of your speed increase.
- increase the size of the urb's transmit buffer.
- increase the size of the urb's receive buffer.
- possibly submit more than one read urb (I have never tried
tuning a receive path, but this might work.)
- use a pool of urbs, so you don't have to constantly create and
destroy new ones each time (but the visor driver in 2.5 was
changed away from this model, and didn't lose any speed, but
that was probably due more to the slowness of the Palm
devices.)
Hope this helps.
thanks,
greg k-h
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel