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-NX2 industrial PC for NVIDIA Jetson Xavier NX. 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-NX2 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-NX2.
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.