Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there software, or a utility, available on Ubuntu that I could use to benchmark (performance test) traffic and throughput on networking equipment (specifically Cisco switches or routers)?

share|improve this question
    
what sort of hardware? what sort of test? (max connections/sec, 450 byte tcp, jumbo frame udp, etc?) –  John Ledbetter Oct 15 '10 at 15:09

2 Answers 2

For general throughput testing, I've used iperf (sudo apt-get install iperf).

You start a server on one machine (using iperf -s) and run the client on another machine on the other side of the network. You get a throughput like so:

oli@bert:~$ iperf -c tim
------------------------------------------------------------
Client connecting to tim, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.4 port 39402 connected with 192.168.0.5 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.04 GBytes    895 Mbits/sec
share|improve this answer
    
Thank`s Oli. I'll try that! –  mckatz Oct 18 '10 at 5:14

hdparm -t /dev/disk can be a good indicator as well, if you mount any of the drives on a server on the other side of the device. comparison between local disk speed on the server and disk speed from a client over the network can be a good indicator.

share|improve this answer

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.