I would like to find a tool to test the network bandwidth between 2 servers. Also statistics about latency and package reliability would be nice.

I have shell access to both servers, but no root access. I can run open some high numbered port. The machines are running CentOS.

I have tried to test speeds with scp, but I think what I get to see is the disk write speeds instead of the network speed.

link|improve this question

72% accept rate
feedback

3 Answers

I recommend using iPerf - http://sourceforge.net/projects/iperf/

Runs as a client and a server with a good number of options for traffic types.

link|improve this answer
feedback

SSH is not a good idea as it adds extra overhead. If your servers have SATA drives and Gigabit Network connection then, hard drives could be a bottleneck. If you have SAS drives and RAID controller w/ cache, it won't. iPerf is a good solution, and the other simple solution is ftp. You can also use iptraf or nload to watch your bandwitch usage.

link|improve this answer
feedback

Assuming that you have ssh servers set-up on these machines and ofcourse that ping is installed by default...

You should be able to test the speed by transferring some large files between these using [ssh server "cat remote_file" > local_file]

And package reliability just by using [ping server]

link|improve this answer
I don't think I'll get network speeds here, but the disk writing speeds (the network is very high-end). I would like to factor out any disk properties. – Peter Smit Mar 16 '11 at 11:09
2  
Also, SSH would have extra overhead of compression. Depending on available resources of your system, this may increase or reduce the speed. – Grahamux Mar 16 '11 at 11:19
Small google for "linux network speed test" later maybe edugeek.net/forums/networks/… might help – s4uadmin Mar 16 '11 at 11:27
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.