Re: MAX_USBFS_BUFFER_SIZE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 03, 2006 at 08:27:45AM +0100, Ren?? Rebe wrote:
> Queueing N = size / 16k URBs in parallel gets the maximal possible thruput with
> the scanner - a 2x speedup. The driver is now even slightly faster than the
> vendor Windows one by about 20%.

That's great.  It's also another data point in the many success storys
saying that Linux's USB stack is faster than Windows, even when driven
by userspace programs :)

> For even further improvements a _async interface would be needed in libusb
> (and sanei_usb) so I can queue the prologue and epilogue URBs of the protocol
> of communication into the kernel and thus elleminate some more wasted time
> slots. I estimate that the driver would then be over 30% faster compared with
> the Windows one.

I'm currently working on a "usbfs2" that will be async-io driven.  That
should allow you to get that added speed you need.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux