How to test network

From Kolmisoft Wiki
Revision as of 13:43, 13 March 2012 by Admin (talk | contribs)
Jump to navigationJump to search

About

Network quality between to points can be tested by using iperf tool.

On client site:

iperf -c SERVER_IP -u -b 10m

On server side:

iperf -s -u -i 1

"Datagrams" column should be checked in server side. High percents means network problems.

More information: http://openmaniak.com/iperf.php

Example

For testing you can use one of our servers. In order to test your connection run this command:

iperf -c 91.121.143.102 -u -b 10m

You will get a similar result:

[mindaugasm@quad ~]$ iperf -c 91.121.143.102 -u -b 10m

------------------------------------------------------------
Client connecting to 91.121.143.102, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  122 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.104 port 36208 connected with 91.121.143.102 port 5001 
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  11.9 MBytes  10.0 Mbits/sec
[  3] Sent 8505 datagrams
[  3] Server Report:
[  3]  0.0-10.9 sec  3.72 MBytes  2.86 Mbits/sec   4.202 ms 5852/ 8504 (69%)
[  3]  0.0-10.9 sec  68 datagrams received out-of-order

69% is a very bad result here, the closer this result is to 0 - the better the situation with our network is.