[clue] Link speed test
David L. Willson
DLWillson at TheGeek.NU
Tue Dec 18 09:10:16 MST 2012
It seems that ssh has a significant reducing effect on throughput.
[root at server2 ~]# dd if=/dev/zero bs=4M count=256 | ssh root at server1 "dd of=/dev/null"
256+0 records in
256+0 records out
1073741824 bytes (1.1 GB) copied, 26.3507 seconds, 40.7 MB/s
2097141+22 records in
2097152+0 records out
1073741824 bytes (1.1 GB) copied, 26.2736 seconds, 40.9 MB/s
Session on host1 (reciever):
I found one that depends on nc, rather than ssh.
[root at server1 ~]# netcat
-bash: netcat: command not found
[root at server1 ~]# nc
usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port]
[-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version]
[-x proxy_address[:port]] [hostname] [port[s]]
[root at server1 ~]# nc -l 12345
hello
[root at server1 ~]# nc -l 12345 > /dev/null
Matching session on host2 (sender):
[root at server2 ~]# echo "hello" | nc -v server1 12345
Connection to server1 12345 port [tcp/italk] succeeded!
[root at server2 ~]# dd if=/dev/zero bs=4M count=256 | nc -v server1 12345
Connection to server1 12345 port [tcp/italk] succeeded!
256+0 records in
256+0 records out
1073741824 bytes (1.1 GB) copied, 7.67299 seconds, 140 MB/s
I still don't know how to use netperf, but I'll get there.
--
David L. Willson
Trainer, Engineer, Enthusiast
RHCE Network+ A+ Linux+ LPIC-1 Ubuntu
Mobile 720-333-LANS(5267)
This is a good time for a r3VOLution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20121218/b3cdf74e/attachment.html
More information about the clue
mailing list