On Tue, 9 May 2006, Juhee MALA wrote:

> We are using Linux USB Host stack and doing some performance analysis.
> For performance analysis we are testing it with a device, which accepts
> the Bulk-OUT packets with full effieciency (not much-NYTES from device
> side). We are submitting the data of URB size 8kbytes. The throughput in
> such scenario that we are getting is approximately 175Mbps.
> 
> 1. Can anybody tell me, if this is a good performance? 

Good for what?  It's certainly not the best possible.  But it's more than 
adequate for USB-audio.

> 2. Can anybody tell me what is the best performance that can be achieved on a 
> USB host? 

The maximum theoretical throughput for high-speed 512-byte bulk transfers
is 13 packets per microframe, or 53248000 B/s.  That's equivalent to 426 
million bits per second.

Linux can achieve such rates, if the hardware allows.  To reach it, you
have to submit a lot of URBs asynchronously.  If you're using 8 KB
transfer lengths then you should submit at least two batches of URBs, with
at least 64 URBs in each batch, and with the URB_NO_INTERRUPT flag set on
each URB except the last one in a batch.  Each time a batch completes,
immediately submit another batch.

> 3. IS there any bench marking tool for checking the host stack performance? 

Not that I know of.

> 4. Which application should be used for demonstrating the host performance? 

This is almost the same question as number 3.

If you want to use your test device, you should select an application that 
will work with it.  Of course, since I don't know what your test device 
is, I can't recommend any applications.

Alan Stern



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to