Home Application Network Apps Network performance testing with Iperf

Iperf is well-known program to measure TCP performance and bandwidth of IPv4, IPv6 and multicast between two designated loations. It supports UDP and changing window size. Same program file will be used on both server and client location. Default value is shown 10sec runing time and it used 5001/tcp port. Be careful to use this, it will suck all the bandwidth. Test it in outside of business hours or weekend.

You can download file from this location

http://dast.nlanr.net

 

 

 

In this testing, we will use window version of iperf.

 

1. Server side (IP 192.168.1.1/24)

a. execute server function on your workstation as Server in this testing

C:\iperf.performance test>iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------

2. Client side (IP 192.168.2.1/24)

a. Testing with default value = 10 sec testing period

C:\iperf.performance test> iperf -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[884] local 192.168.2.1 port 1036 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[884] 0.0-10.0 sec 2.89 MBytes 2.41 Mbits/sec


Checking output of server side

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------

[760] local 192.168.1.1 port 5001 connected with 192.168.2.1 port 43218
[ ID] Interval Transfer Bandwidth
[760] 0.0-10.0 sec 2.66 MBytes 2.23 Mbits/sec

 

b. Testing with default value = 10 sec and window size = 100k

C:\iperf.performance test> iperf -w 100k -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 100 KByte
------------------------------------------------------------

[1912] local
192.168.2.1 port 43490 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[1912] 0.0-10.3 sec 2.83 MBytes 2.30 Mbits/sec

Checking output of server side

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[744] local 192.168.1.1 port 5001 connected with
192.168.2.1 port 43490
[ ID] Interval Transfer Bandwidth
[744] 0.0-10.3 sec 2.83 MBytes 2.31 Mbits/sec


 

c. Testing with default value = 100 sec and window size = 8k  

C:\iperf.performance test> iperf -t 100 -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[1912] local
192.168.2.1 port 43555 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[1912] 0.0-100.0 sec 26.7 MBytes 2.24 Mbits/sec

Checking output of server side

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------

[740] local 192.168.1.1 port 5001 connected with 192.168.2.1 port 43555
[ ID] Interval Transfer Bandwidth
[740] 0.0-100.0 sec 26.7 MBytes 2.24 Mbits/sec

 

Last Updated (Tuesday, 19 May 2009 17:36)

 
Smart Link
Search
Statistics
Content View Hits : 2124898
Polls
Highly recommended firewall vendor?
 
Google Translation
English Arabic Chinese (Simplified) Czech Dutch French German Italian Korean Portuguese Russian Spanish Filipino Vietnamese Thai Turkish
BGP routing issue?
Banner
World Route Servers
Banner
Who's Online
We have 39 guests online