This is an old revision of the document!
Iperf
General Information
iperf allows testing of network throughput. It requires you to install iperf on a source and destination system.
Checklist
- Distro: Enterprise Linux 6.x
Install iperf
- Add the EPEL Repo.
- Install iperf on the “client” and “server” system.
yum install iperf
Performance Test
- Start iperf on the “server” system.
iperf -s
- You can specify what port iperf listens on with the '-p <port>' option.
iperf -s -p 1337
- Run the test from the client
- Basic test with default settings
iperf -c <server-ip>
- Basic test, specify server listening port
iperf -c <server-ip> -p 1337
- Bi-directional test
iperf -c <server-ip> -p 1337 -d
- Custom Test: Bandwidth format in MBytes/sec (-f M), show MTU (-m), pause 2 seconds in between reports (-i 2), transmit for 30 seconds (-t 30).
iperf -c <server-ip> -p 1337 -f M -i 2 -t 30