Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932141AbWCCU6D (ORCPT ); Fri, 3 Mar 2006 15:58:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932240AbWCCU6C (ORCPT ); Fri, 3 Mar 2006 15:58:02 -0500 Received: from mail.kroah.org ([69.55.234.183]:14474 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S932141AbWCCU6A (ORCPT ); Fri, 3 Mar 2006 15:58:00 -0500 Date: Fri, 3 Mar 2006 12:32:26 -0800 From: Greg KH To: Ren?? Rebe Cc: Pete Zaitcev , linux-kernel@vger.kernel.org Subject: Re: MAX_USBFS_BUFFER_SIZE Message-ID: <20060303203226.GA20250@kroah.com> References: <200603012116.25869.rene@exactcode.de> <20060302130519.588b18a2.zaitcev@redhat.com> <200603030827.46003.rene@exactcode.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603030827.46003.rene@exactcode.de> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1144 Lines: 26 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 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/