When we have a local network with different computers connected to the router or switch via Ethernet network cable, on many occasions we want to verify what download and upload speed we can achieve. On many occasions, users perform the typical speed test on the most popular websites, however, this is an error because this test is measuring the speed of the connection from your computer to the test server, that is, it measures what is Internet speed, not the speed of your PC on the local wired network. Today in RedesZone we are going to show you everything you should take into account when measuring the speed of the local network.
Why you shouldn’t use a speed test
At RedesZone we continually test different routers and switches and publish the results of the speed achieved in our analyses. To carry out these speed measurements, we never use any speed test, because what these tools do is check the speed of the Internet connection, therefore, it does not help us to measure the real speed of our connection to the local network via cable. We must bear in mind that, when performing a speed test, we can obtain very different results from one test to another.
When we perform a speed test, what it really measures is the download and output traffic from our computer to the test server speed, that is, you measure the speed of the Internet connection and also of the local network, but always taking the slowest speed of both. If we have an Internet connection of 300Mbps, but we have a connection to the local wired network of 2.5Gbps thanks to the fact that we have a multi gigabit network, then in a speed test it will only appear that we have a speed of 300Mbps, that is, the lowest speed. In addition, other aspects also influence:
- test saturation Where are we going to test?
- server locationif it is geographically close to us we will get higher speed, if it is far away, we will get a lower measurement.
- agreements of peering and transit from our internet operator to the test server.
- Possible FTTH fiber branch saturation in our area, so it will show us a lower speed than the one contracted.
As you can see, if we do a speed test, many factors that are not under our control influence it, so it is not a valid test to check the real speed of our cable connection.
How to measure wired network speed
To measure the speed of the wired network, the first thing you have to know is that the synchronization speed of your network card with the router or switch does not have to be the speed that you later achieve. This is due to several reasons:
- When we do a speed measurement, we do it at the application layer level, so the header data they are not taken into account, but they must be transferred.
- The network equipment hardware It also influences when it comes to achieving the promised speed. For example, if we have a somewhat old computer, but we install a 10G network card and we have a 10G switch, it will indicate that the synchronization speed is 10Gbps, however, the real speed may be lower, for example, 6Gbps, because the PC hardware is not capable of handling more data.
- The network cable used It can also influence the actual speed that we get, even if the sync speed is correct, it does not have to get that speed if it is in bad shape, it is not in a category according to the speed that we should get, or that we simply have a lot of crosstalk and external interference that prevent this speed from being achieved.
Once we take all these aspects into account, we can use programs like jperf or iperf3 to measure the speed between two computers. It is very important that one PC acts as a server, and that it is connected to the same wired local network, and that the other PC acts as a client, to send data to the server PC and take care of measuring the speed of the transmitted data. For theoretical speeds of 1Gbps or less, you can use jperf without problems, however, for higher speeds it is better to use iperf3.
In the previous screenshot, you can see that in a 10G network with powerful hardware, we have achieved a real 9.8Gbps, the 0.2Gbps that we need to reach 10Gbps is due to loss through the headers, as we have explained before.