Difference between revisions of "Benchmarking: iPerf"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Installation == <syntaxhighlight> ## Ubuntu apt-get install iperf ## Redhat yum install iperf </syntaxhighlight> '''NB: EPEL repositories may be required for Redhat installation''' == Basic te...")
 
Line 22: Line 22:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Sample basic results out of the box:
+
=== Sample basic results out of the box ===
 
<syntaxhighlight>
 
<syntaxhighlight>
 
[root@dalmatian002 ~]# iperf -c dalmatian001
 
[root@dalmatian002 ~]# iperf -c dalmatian001
Line 42: Line 42:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
===== Parallel Tests =====
+
=== Parallel Tests ===
 
Link on the IB network not being saturated above, try a parallel run:
 
Link on the IB network not being saturated above, try a parallel run:
  

Revision as of 12:07, 21 January 2013

Installation

## Ubuntu
apt-get install iperf

## Redhat
yum install iperf

NB: EPEL repositories may be required for Redhat installation

Basic tests

Run a server process

  iperf -s

Run the client process

# where 10.1.1.1 is the server address from above
iperf -c 10.1.1.1

Sample basic results out of the box

[root@dalmatian002 ~]# iperf -c dalmatian001
------------------------------------------------------------
Client connecting to dalmatian001, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[  3] local 172.31.4.3 port 39475 connected with 172.31.4.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.12 GBytes    958 Mbits/sec     # <-- 1GB link performance
[root@dalmatian002 ~]# iperf -c dalmatian001-ib0
------------------------------------------------------------
Client connecting to dalmatian001-ib0, TCP port 5001
TCP window size:   193 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.29 port 44095 connected with 192.168.0.16 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  5.95 GBytes  5.11 Gbits/sec      # <-- Qlogic QDR performance

Parallel Tests

Link on the IB network not being saturated above, try a parallel run:

[root@dalmatian002 ~]# iperf -c dalmatian001-ib0 -P 10
------------------------------------------------------------
Client connecting to dalmatian001-ib0, TCP port 5001
TCP window size:   193 KByte (default)
------------------------------------------------------------
[ 12] local 192.168.0.29 port 44167 connected with 192.168.0.16 port 5001
[  3] local 192.168.0.29 port 44158 connected with 192.168.0.16 port 5001
[  4] local 192.168.0.29 port 44159 connected with 192.168.0.16 port 5001
[  5] local 192.168.0.29 port 44160 connected with 192.168.0.16 port 5001
[  6] local 192.168.0.29 port 44161 connected with 192.168.0.16 port 5001
[  7] local 192.168.0.29 port 44162 connected with 192.168.0.16 port 5001
[  8] local 192.168.0.29 port 44163 connected with 192.168.0.16 port 5001
[  9] local 192.168.0.29 port 44164 connected with 192.168.0.16 port 5001
[ 10] local 192.168.0.29 port 44165 connected with 192.168.0.16 port 5001
[ 11] local 192.168.0.29 port 44166 connected with 192.168.0.16 port 5001
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.0 sec    967 MBytes    811 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  1.00 GBytes    861 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  8]  0.0-10.0 sec  1008 MBytes    845 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[ 10]  0.0-10.0 sec  1001 MBytes    839 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec    853 MBytes    715 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  7]  0.0-10.0 sec  1.26 GBytes  1.09 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[  6]  0.0-10.0 sec    915 MBytes    767 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[ 12]  0.0-10.0 sec  1.15 GBytes    989 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[ 11]  0.0-10.0 sec    915 MBytes    766 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  9]  0.0-10.0 sec  1.09 GBytes    932 Mbits/sec
[SUM]  0.0-10.0 sec  10.0 GBytes  8.60 Gbits/sec