lkml.org 
[lkml]   [2006]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: MAX_USBFS_BUFFER_SIZE
Date
Hi,

On Wednesday 01 March 2006 22:54, Greg KH wrote:

> > > Why not just send down 2 urbs with that size then, that would keep the
> > > pipe quite full.
> >
> > Because that requires even more modifications to libusb and sane (i_usb) ...
>
> No, do it in your application I mean.

Ok, tweaking libusb to queue N URBs for reads to be split (resulting in 9 URBs
in my usecase) I see a nearly 100% improvement here (2 times faster).

How many URBs may I queue? Nearly infinite (in my case that would be max 64)
or is there some tiny static list somewhere in the affected code-path?

Yours,

--
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
http://www.exactcode.de | http://www.t2-project.org
+49 (0)30 255 897 45
-
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 17:06    [W:0.365 / U:1.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site