Changes between Initial Version and Version 1 of netmon2017iperfw


Ignore:
Timestamp:
Nov 20, 2017, 6:50:56 AM (6 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • netmon2017iperfw

    v1 v1  
     1= iperf =
     2
     3Linux systems administrators and network administrators often find diagnosing network speed degradation complicated, as there are very few tools available to diagnose these issues. iperf/iperf3 is a command-line tool used in the diagnostics of network speed issues. iperf/iperf3 measures the maximum network throughput a server can handle. It is particularly useful when experiencing network speed issues, as you can use iperf/iperf3 to determine which server is unable to reach maximum throughput.
     4
     5== Installation ==
     6
     7You can use apt-get to install iperf3 on Debian and Ubuntu:
     8{{{
     9apt-get install iperf3
     10}}}
     11
     12'''Note: Installation of perfsonar gives you iperf3 by default. Therefore you do not have to install iperf3.'''
     13
     14== How to Use iperf ==
     15
     16iperf must be installed on both computers between which you are testing the connection. If you are using a Unix or Linux-based operating system on your personal computer, you may be able to install iperf on your local machine. If you are testing the throughput of your Linode, however, it’s better to use another server as the end point, as your local ISP may impose network restrictions that can affect the results of your test.
     17
     18== TCP Clients & Servers ==
     19
     20iperf requires two systems because one system must act as a server, while the other acts as a client. The client connects to the server you’re testing the speed of.
     21
     22 - On the Linode you wish to test, launch iperf3 in server mode:
     23{{{
     24iperf -s
     25}}}
     26   
     27You should see output similar to:
     28{{{
     29-----------------------------------------------------------
     30Server listening on 5201
     31-----------------------------------------------------------
     32
     33}}}
     34
     35 - On your second Linode, connect to the first. Replace 192.168.1.1 with the first Linode’s IP address.
     36
     37{{{
     38    iperf -c 198.51.100.5
     39}}}
     40   
     41The output should be similar to:
     42{{{
     43onnecting to host 192.168.1.1, port 5201
     44[  4] local 192.248.4.49 port 37988 connected to 192.248.4.246 port 5201
     45[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
     46[  4]   0.00-1.00   sec  47.7 MBytes   400 Mbits/sec    0   1.01 MBytes       
     47[  4]   1.00-2.00   sec  51.2 MBytes   430 Mbits/sec   22   1.01 MBytes       
     48[  4]   2.00-3.00   sec  35.0 MBytes   294 Mbits/sec    1   1.41 KBytes       
     49[  4]   3.00-4.00   sec  0.00 Bytes  0.00 bits/sec    0   1.01 MBytes       
     50}}}
     51   
     52You will also see the connection and results on your iPerf server. This will look similar to:
     53{{{
     54-----------------------------------------------------------
     55Server listening on 5201
     56-----------------------------------------------------------
     57Accepted connection from 192.248.4.49, port 37987
     58[  5] local 192.248.4.246 port 5201 connected to 192.248.4.49 port 37988
     59[ ID] Interval           Transfer     Bandwidth
     60[  5]   0.00-1.00   sec  43.4 MBytes   364 Mbits/sec                 
     61[  5]   1.00-2.00   sec  50.4 MBytes   423 Mbits/sec                 
     62[  5]   2.00-3.00   sec  36.5 MBytes   305 Mbits/sec                 
     63[  5]   3.00-4.00   sec  67.9 KBytes   556 Kbits/sec     
     64}}}
     65
     66- To stop the iPerf server process, press CTRL + c.
     67
     68