Here is an example where I tested the bandwidth between my machine and another machine connected through the Internet:
TEST #1: from machine1 to machine2 ---------------------------------- machine2 # ./ttcp -r -s ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp ttcp-r: socket ttcp-r: accept from machine1 ttcp-r: 819200 bytes in 170.00 real seconds = 4.71 KB/sec +++ ttcp-r: 462 I/O calls, msec/call = 376.80, calls/sec = 2.72 ttcp-r: 0.0user 0.0sys 2:50real 0% machine1 # ./ttcp -t machine2 -n 100 -s ttcp-t: buflen=8192, nbuf=100, align=16384/0, port=5001 tcp -> machine2 ttcp-t: socket ttcp-t: connect ttcp-t: 819200 bytes in 156.00 real seconds = 5.13 KB/sec +++ ttcp-t: 100 I/O calls, msec/call = 1597.44, calls/sec = 0.64 ttcp-t: 0.0user 0.0sys 2:36real 0% TEST #2: from machine2 to machine1 ---------------------------------- machine1 # ./ttcp -r -s ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp ttcp-r: socket ttcp-r: accept from machine2 ttcp-r: 819200 bytes in 6.00 real seconds = 133.33 KB/sec +++ ttcp-r: 531 I/O calls, msec/call = 11.57, calls/sec = 88.50 ttcp-r: 0.0user 0.0sys 0:06real 0% machine2 # ./ttcp -t machine1 -n 100 -s ttcp-t: buflen=8192, nbuf=100, align=16384/0, port=5001 tcp -> machine1 ttcp-t: socket ttcp-t: connect ttcp-t: 819200 bytes in 5.00 real seconds = 160.00 KB/sec +++ ttcp-t: 100 I/O calls, msec/call = 51.20, calls/sec = 20.00 ttcp-t: 0.0user 0.0sys 0:05real 0% -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Lars Rasmussen Sent: Tuesday, November 09, 2004 2:43 PM To: BYU Unix Users Group Subject: Re: [uug] Speed test On Tue, 09 Nov 2004 14:10:08 -0700, Kenneth Burgener <[EMAIL PROTECTED]> wrote: > The ttcp tool (http://www.netcordia.com/tools/tools/TTCP/ttcp.html) worked > very well. Can you post your example? -- Lars ''Lazy Efficiency'' afficionado ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
