lkml.org 
[lkml]   [2006]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 2 Mar 2006 13:05:19 -0800
FromPete Zaitcev <>
SubjectRe: MAX_USBFS_BUFFER_SIZE
On Wed, 1 Mar 2006 22:42:35 +0100, René Rebe <rene@exactcode.de> wrote:

> > > drivers/usb/core/devio.c:86
> > > #define MAX_USBFS_BUFFER_SIZE 16384

> So, queing alot URBs is the recommended way to sustain the bus? Allowing
> way bigger buffers will not be realistic?

Have you ever considered how many TDs have to be allocated to transfer
a data buffer this big? No, seriously. If your application cannot deliver
the tranfer speeds with 16KB URBs, we ought to consider if the combination
of our USB stack, usbfs, libusb and the application ought to get serious
performance enhancing surgery. The problem is obviously in the software
overhead.

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

\
 
 \ /
  Last update: 2006-03-02 22:08    [from the cache]
©2003-2010