On Sat, May 05, 2001, Martin Diehl <[EMAIL PROTECTED]> wrote:
> On Fri, 4 May 2001, Johannes Erdfelt wrote:
> > I can get 805KB/sec with this patch using the usbnet driver which is
> 
> Well, I'm not familiar with usbnet - but assuming the transfer size would
> be something like 1.5K (=eth-MTU), my above guess would predict (here: 1.5
> of 2 frames used) 0.75 x 1.05 MB = 780kB/sec!
> I'll go and try len=1984 (2KB - 1 packet). Should give something next to
> 31/32 x 1.05 MB = 1 MB/sec, if I'm right.
> 
> > as fast as usb-uhci. I'm still testing and I'll send an email later
> 
> _If_ there is no other bottleneck I would expect 1 MB again for usb-uhci.

usbnet connects two hosts together. You have IP and TCP overhead as well
as turnaround times on both sides.

I just got close to 900KB/sec with a larger MTU (8192) size:

crash# ttcp -r               
ttcp-r: buflen=8192, nbuf=2048, align=16384/+0, port=5001  tcp
ttcp-r: socket
ttcp-r: accept from 172.16.1.1
ttcp-r: 16777216 bytes in 18.58 real seconds = 881.74 KB/sec +++
ttcp-r: 2066 I/O calls, msec/call = 9.21, calls/sec = 111.19
ttcp-r: 0.0user 0.2sys 0:18real 1% 0i+0d 0maxrss 0+2pf 0+0csw

JE


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to