Testing Network Speed Between X86 PC and Raspberry Pi 5

user1272047user1272047
3 min read

Testing Network Speed Between X86 PC and Raspberry Pi 5

To test the network speed between your Ace Magician (x86) and Raspberry Pi (Raspberry Pi 5), you can use the tool iperf3, which is commonly used to measure network performance. Here’s how to set it up:

Step 1: Install iperf3 on Both Devices

Run the following commands on both the Ace Magician and Raspberry Pi to install iperf3:

sudo apt update
sudo apt install iperf3 -y

Step 2: Start iperf3 in Server Mode on the Raspberry Pi

On the Raspberry Pi, start iperf3 in server mode:

iperf3 -s

This will make the Raspberry Pi listen for incoming speed test connections.

Step 3: Run iperf3 in Client Mode on the Ace Magician

On the Ace Magician, connect to the Raspberry Pi and measure the network speed by running:

iperf3 -c 192.168.0.103

Replace 192.168.0.103 with the IP address of the Raspberry Pi if it’s different. This command will test the network speed from the Ace Magician to the Raspberry Pi and display the results, including throughput in Mbps.

Step 4: Analyze Results

The output will show the bandwidth, transfer rate, and other details of the network performance. Let me know if you encounter any issues or need further analysis!

Test Output

root@debian:/home/user001# iperf3 -c 192.168.0.103
Connecting to host 192.168.0.103, port 5201
[  5] local 192.168.0.105 port 43332 connected to 192.168.0.103 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  2.40 MBytes  20.1 Mbits/sec    1    170 KBytes

[  5]   1.00-2.00   sec  3.67 MBytes  30.8 Mbits/sec    0    314 KBytes

[  5]   2.00-3.00   sec  3.11 MBytes  26.1 Mbits/sec   10    443 KBytes

[  5]   3.00-4.00   sec  4.04 MBytes  33.9 Mbits/sec    0    448 KBytes

[  5]   4.00-5.00   sec  3.36 MBytes  28.1 Mbits/sec    1    454 KBytes

[  5]   5.00-6.00   sec  3.04 MBytes  25.5 Mbits/sec    0    460 KBytes

[  5]   6.00-7.00   sec  3.79 MBytes  31.8 Mbits/sec    7    460 KBytes

[  5]   7.00-8.00   sec  2.92 MBytes  24.5 Mbits/sec    0    465 KBytes

[  5]   8.00-9.00   sec  3.85 MBytes  32.3 Mbits/sec    0    471 KBytes

[  5]   9.00-10.00  sec  3.73 MBytes  31.3 Mbits/sec    1    475 KBytes

[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  33.9 MBytes  28.4 Mbits/sec   20             sender
[  5]   0.00-10.05  sec  31.9 MBytes  26.6 Mbits/sec                  receiver
iperf Done.
root@debian:/home/user001#

Analysis

The iperf3 test results indicate the following network performance between the Ace Magician and the Raspberry Pi:

  • Average Bandwidth: Approximately 28.4 Mbps (from the sender's perspective) and 26.6 Mbps (from the receiver's perspective).

  • Total Data Transferred: Around 33.9 MB over 10 seconds.

  • Retransmissions: 20 retransmissions occurred, which may indicate some minor packet loss or network instability during the test.

Conclusion

A 28.4 Mbps connection speed is relatively typical for Wi-Fi but may be limited by network congestion, interference, or distance. If this is slower than expected, using Ethernet (once configured correctly) could yield significantly higher speeds and lower retransmissions.

Let me know if you’d like further troubleshooting or suggestions to improve network performance!

0
Subscribe to my newsletter

Read articles from user1272047 directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

user1272047
user1272047