On Fri, 9 Mar 2007 [EMAIL PROTECTED] wrote: > I managed to get performance up a bit to around 10mb/sec & 5mb/sec (W > & R) by maxing out buflen at 131072, setting stall to 0 and adding > total=10000000; to dummy_hcd, but that's still an order of magnitude > less than it ought to be. I'm poking around the files to see if > there's anything else I can understand that I can change.
The real problem is that dummy-hcd operates from a kernel timer, meant to simulate the frames of a real USB bus. Since you want to maximize the transfer rate, you shouldn't use a kernel timer at all; you should use sort sort of bottom half instead. Making the change shouldn't be too difficult, but it isn't entirely trivial either. Maybe you can figure out how to do it. The idea is to change the "kick the scheduler" part at the end of dummy_urb_enqueue() so that it enables the bottom half instead of modifying the timer (with appropriate adjustments in other places, of course). Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users