Re: Why i lost speed in transplant driver from 2.4to 2.6 ?
DuRui <[email protected]>
| Newsgroups | gmane.linux.usb.devel,gmane.spam.detected |
|---|---|
| Organization | NEUSOFT |
| Message-ID | <[email protected]> |
On 2007-03-27 12:31:19, Greg KH wrote >On Tue, Mar 27, 2007 at 12:01:36PM +0800, DuRui wrote: >> Hello everybody >> >> I have creat 3 endpiont, which one for intrrupt in, one for bulk in, and the third for bluk out. my driver could reach the transport rate at 20MB/s in 2.4 version kernel. but in 2.6 version i only got a half, 10MB/s. the same mechanism >> been used to implement driver. i confuse about it. it should faster in 2.6 kernel. >> the data mainly from host to target, and the intrrupt in recive some data from target every 2 milliseconds.driver use a queue to submit bulk out urb, could submit 32 urb each time. and the urb buffer is 16KB, and the intrrupt urb is submit in intrrupt callback function. when intrrupt endpiont is disable, the data rate from host to target may gain about 2 Mbytes. >> kmalloc is used to allocate urb buf. >> which aspect should take care to transplant driver from 2.4 to 2.6, and how to optimize the usb speed? > >Do you have a pointer to your driver source so we can see what the >problem might be? > >thanks, > >greg k-h I don't have a space to put my stuff, so i put the driver in my blog. but the site is in china. i don't know if your guys can visit the site. http://blog.chinaunix.net/u/24716/showart_266081.html could i send attachment to the maillist? Good luck! DuRui ------------------------------------------------------------------------- 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 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel