The network on the server is very important as you would be connecting to the server via the network. The network can be used for downloading and uploading content or to establish an SSH connection. If the server connection is unstable, it can lead to an number of issues.
One of the best ways is to test the network speed from an net boot environment where by you can see if the network is able to handle the speeds you need. The alternative method is for you to do an iperf test. Here is an iperf test which you can execute. You would need to install iperf if you haven’t already.
To install iperf:
sudo apt-get install iperf
To perform network throughput test:
iperf -c iperf.ovh.net -i1 P10 | grep SU
iperf -c proof.ovh.ca -i1 P10 | grep SU
iperf -c 192.168.0.50 -i1 -P100 | grep SU === checking vRack performance.
Here is an example output from the command:
------------------------------------------------------------
Client connecting to iperf.testdebit.info, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 3] local 87.98.242.163 port 56167 connected with 89.84.127.54 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 12.1 MBytes 102 Mbits/sec
[ 3] 1.0- 2.0 sec 11.0 MBytes 92.3 Mbits/sec
[ 3] 2.0- 3.0 sec 11.2 MBytes 94.4 Mbits/sec
[ 3] 3.0- 4.0 sec 11.4 MBytes 95.4 Mbits/sec
[ 3] 4.0- 5.0 sec 11.1 MBytes 93.3 Mbits/sec
[ 3] 5.0- 6.0 sec 11.2 MBytes 94.4 Mbits/sec
[ 3] 6.0- 7.0 sec 11.0 MBytes 92.3 Mbits/sec
[ 3] 7.0- 8.0 sec 11.5 MBytes 96.5 Mbits/sec
[ 3] 8.0- 9.0 sec 11.1 MBytes 93.3 Mbits/sec
[ 3] 9.0-10.0 sec 11.0 MBytes 92.3 Mbits/sec
[ 3] 0.0-10.0 sec 113 MBytes 94.7 Mbits/sec
For this server, it has an 100 Mbits/sec connection. As we can see here we is able to make full use of the bandwidth on the connection.