Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

4 Answers 4

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

I like this solution: Use netcat to test network speed

It only requires netcat which is typically installed by default with most Linux distributions.

share|improve this answer
    
When you link to another forum or blogpost, please add some details in your answer from that link to make sure your answer is still good even if the linked site goes down. –  Frederik Nielsen Nov 25 '12 at 10:20
add comment

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]

share|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 –  HTDutchy Mar 16 '11 at 11:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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