1- How to install iperf3 Packages
2- How to prepare server machine for benchmarking process
3- How to benchmark Gigabit Ethernet
OS: Jetpack 4.5.0
In this blogpost, we will explain how to benchmark gigabit ethernet for DSBOX-N2 industrial pc. We need to have another server pc for benchmarking. This host pc may be regular pc or embedded devices. The internet connection should be accessible for both devices, and they should be in local network.
We should install “iperf3” to our DSBOX-N2 industrial box pc. To do that, we need to type following commands.
sudo apt-get install iperf3
We need to install “iperf3” to our server pc, too. We should get IP address of our host pc by commanding “ifconfig”. After these steps, we should type following command in the host machine.
Our host pc IP address is “192.168.2.156” as seen on the above visual. For benchmarking gigabit ethernet, we need to type following command from DSBOX-N2.
iperf3 -c 192.168.2.156
If you have done all steps without any problem, you should get transfer and bandwidth values. You can benchmark by using reverse mode. In this mode, server sends, and client receives. To do that, we should use following command.
iperf3 -c 192.168.2.156 -R
Now, we benchmark by using udp protocol rather than tcp and set the bandwidth as “1000M”. For using these features, we use the parameters like below command.
iperf3 -c 192.168.2.156 -u -b 1000M
We can make the last benchmark process as reversely.
iperf3 -c 192.168.2.156 -u -b 1000M -R
For more parameters, you can get the information by commanding “iperf3 --help”. It can be displayed like below visual.
Thank you for reading our blog post.