本帖最後由 张无忌 於 2025-8-18 00:26 編輯
Wi-Fi network performance using iperf3 between OpenWrt and Windows
The GL-MT6000 was formed as official OpenWrt 24.10.1 and Windows PC connected to OpenWrt via Wi-Fi 6 5GHz. Windows Intel(R) Wi-Fi 6 AX201 160MHz, link speed (receiver/transmitter)=2041/2401 (Mbps). The performance was summarised as follows:
2.4GHz Wi-Fi 6 20MHz channel width: 150 Mbits/sec
5GHz Wi-Fi 6 80MHz channel width: 960 Mbits/sec
5GHz Wi-Fi 6 160MHz channel width: 1.63 Gbits/sec
Used for comparison, wired network speed GL-MT6000 and 2.5GHz LAN port to Windows LAN port (2.5Gbps): 2.36 Gbits/sec
Used for comparison, GL-MT6000 internally: 6.91 Gbits/sec
2.4GHz Wi-Fi 6 20MHz channel width (receiver side) due to 2.4GHz interference but GL-MT6000 had already set to 40MHz channel width ( transmitter side).
The GL-MT6000 OpenWrt installed iperf3.- opkg update
- opkg install iperf3
複製代碼 OpenWrt ran iperf3 as a serverWindows PC downloaded iperf3 from https://iperf.fr/, and ran iperf3 as a clientThe network performance using 5GHz Wi-Fi 6 80MHz channel width was- C:\Users\User\Downloads\iperf3.18_64>iperf3 -c 192.168.1.1
- Connecting to host 192.168.1.1, port 5201
- [ 5] local 192.168.1.141 port 52677 connected to 192.168.1.1 port 5201
- [ ID] Interval Transfer Bitrate
- [ 5] 0.00-1.01 sec 107 MBytes 892 Mbits/sec
- [ 5] 1.01-2.01 sec 116 MBytes 969 Mbits/sec
- [ 5] 2.01-3.00 sec 113 MBytes 959 Mbits/sec
- [ 5] 3.00-4.01 sec 117 MBytes 973 Mbits/sec
- [ 5] 4.01-5.01 sec 117 MBytes 978 Mbits/sec
- [ 5] 5.01-6.00 sec 111 MBytes 941 Mbits/sec
- [ 5] 6.00-7.00 sec 115 MBytes 965 Mbits/sec
- [ 5] 7.00-8.01 sec 117 MBytes 981 Mbits/sec
- [ 5] 8.01-9.00 sec 116 MBytes 970 Mbits/sec
- [ 5] 9.00-10.01 sec 117 MBytes 974 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - - -
- [ ID] Interval Transfer Bitrate
- [ 5] 0.00-10.01 sec 1.12 GBytes 960 Mbits/sec sender
- [ 5] 0.00-10.04 sec 1.12 GBytes 957 Mbits/sec receiver
- iperf Done.
複製代碼 From the presented shows the 5Ghz Wi-Fi 6 80MHz channel width performs very good with the wireless transmission speed of 960Mbps.
For 5GHz Wi-Fi 6 160MHz channel width the network speed is- C:\Users\User\Downloads\iperf3.18_64>iperf3 -c 192.168.20.1
- Connecting to host 192.168.20.1, port 5201
- [ 5] local 192.168.20.141 port 63108 connected to 192.168.20.1 port 5201
- [ ID] Interval Transfer Bitrate
- [ 5] 0.00-1.01 sec 179 MBytes 1.48 Gbits/sec
- [ 5] 1.01-2.01 sec 195 MBytes 1.63 Gbits/sec
- [ 5] 2.01-3.01 sec 200 MBytes 1.68 Gbits/sec
- [ 5] 3.01-4.02 sec 200 MBytes 1.68 Gbits/sec
- [ 5] 4.02-5.00 sec 196 MBytes 1.67 Gbits/sec
- [ 5] 5.00-6.01 sec 198 MBytes 1.66 Gbits/sec
- [ 5] 6.01-7.01 sec 196 MBytes 1.64 Gbits/sec
- [ 5] 7.01-8.01 sec 194 MBytes 1.62 Gbits/sec
- [ 5] 8.01-9.01 sec 196 MBytes 1.64 Gbits/sec
- [ 5] 9.01-10.01 sec 195 MBytes 1.63 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - - -
- [ ID] Interval Transfer Bitrate
- [ 5] 0.00-10.01 sec 1.90 GBytes 1.63 Gbits/sec sender
- [ 5] 0.00-10.02 sec 1.90 GBytes 1.63 Gbits/sec receiver
- iperf Done.
複製代碼 From the presented shows the 5Ghz Wi-Fi 6 160MHz channel width performs very good with the wireless transmission speed of 1.63Gbps.
For 2.4GHz Wi-Fi 6 20MHz channel width the network speed is- C:\Users\User\Downloads\iperf3.18_64>iperf3 -c 192.168.1.1
- Connecting to host 192.168.1.1, port 5201
- [ 5] local 192.168.1.141 port 51821 connected to 192.168.1.1 port 5201
- [ ID] Interval Transfer Bitrate
- [ 5] 0.00-1.01 sec 17.8 MBytes 147 Mbits/sec
- [ 5] 1.01-2.01 sec 19.2 MBytes 161 Mbits/sec
- [ 5] 2.01-3.00 sec 18.0 MBytes 153 Mbits/sec
- [ 5] 3.00-4.00 sec 17.2 MBytes 144 Mbits/sec
- [ 5] 4.00-5.00 sec 16.6 MBytes 139 Mbits/sec
- [ 5] 5.00-6.02 sec 16.4 MBytes 136 Mbits/sec
- [ 5] 6.02-7.00 sec 18.6 MBytes 159 Mbits/sec
- [ 5] 7.00-8.00 sec 17.6 MBytes 148 Mbits/sec
- [ 5] 8.00-9.00 sec 17.4 MBytes 146 Mbits/sec
- [ 5] 9.00-10.01 sec 19.6 MBytes 164 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - - -
- [ ID] Interval Transfer Bitrate
- [ 5] 0.00-10.01 sec 178 MBytes 150 Mbits/sec sender
- [ 5] 0.00-10.07 sec 178 MBytes 149 Mbits/sec receiver
- iperf Done.
複製代碼 Used for comparison, wired network speed GL-MT6000 and 2.5GHz LAN port to Windows LAN port (2.5Gbps):- C:\Users\User\Downloads\iperf3.18_64>iperf3 -c 192.168.20.1
- Connecting to host 192.168.20.1, port 5201
- [ 5] local 192.168.20.181 port 55557 connected to 192.168.20.1 port 5201
- [ ID] Interval Transfer Bitrate
- [ 5] 0.00-1.00 sec 283 MBytes 2.36 Gbits/sec
- [ 5] 1.00-2.00 sec 281 MBytes 2.36 Gbits/sec
- [ 5] 2.00-3.00 sec 281 MBytes 2.36 Gbits/sec
- [ 5] 3.00-4.00 sec 282 MBytes 2.36 Gbits/sec
- [ 5] 4.00-5.00 sec 280 MBytes 2.35 Gbits/sec
- [ 5] 5.00-6.01 sec 284 MBytes 2.37 Gbits/sec
- [ 5] 6.01-7.01 sec 282 MBytes 2.37 Gbits/sec
- [ 5] 7.01-8.01 sec 282 MBytes 2.37 Gbits/sec
- [ 5] 8.01-9.00 sec 278 MBytes 2.37 Gbits/sec
- [ 5] 9.00-10.01 sec 285 MBytes 2.36 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - - -
- [ ID] Interval Transfer Bitrate
- [ 5] 0.00-10.01 sec 2.75 GBytes 2.36 Gbits/sec sender
- [ 5] 0.00-10.02 sec 2.75 GBytes 2.36 Gbits/sec receiver
- iperf Done.
複製代碼 Used for comparison, GL-MT6000 runs iperf3 -s and iperf3 -c 127.0.0.1 internally:- root@OpenWrt:~# iperf3 -c 127.0.0.1
- Connecting to host 127.0.0.1, port 5201
- [ 5] local 127.0.0.1 port 41562 connected to 127.0.0.1 port 5201
- [ ID] Interval Transfer Bitrate Retr Cwnd
- [ 5] 0.00-1.00 sec 1.05 GBytes 9.02 Gbits/sec 0 3.00 MBytes
- [ 5] 1.00-2.00 sec 794 MBytes 6.66 Gbits/sec 0 3.00 MBytes
- [ 5] 2.00-3.00 sec 798 MBytes 6.70 Gbits/sec 0 3.00 MBytes
- [ 5] 3.00-4.00 sec 798 MBytes 6.69 Gbits/sec 0 3.00 MBytes
- [ 5] 4.00-5.00 sec 796 MBytes 6.68 Gbits/sec 0 3.00 MBytes
- [ 5] 5.00-6.00 sec 793 MBytes 6.65 Gbits/sec 0 3.00 MBytes
- [ 5] 6.00-7.00 sec 794 MBytes 6.66 Gbits/sec 0 3.00 MBytes
- [ 5] 7.00-8.00 sec 790 MBytes 6.62 Gbits/sec 0 3.00 MBytes
- [ 5] 8.00-9.00 sec 794 MBytes 6.66 Gbits/sec 0 3.00 MBytes
- [ 5] 9.00-10.00 sec 795 MBytes 6.67 Gbits/sec 0 3.00 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - - -
- [ ID] Interval Transfer Bitrate Retr
- [ 5] 0.00-10.00 sec 8.05 GBytes 6.91 Gbits/sec 0 sender
- [ 5] 0.00-10.00 sec 8.04 GBytes 6.91 Gbits/sec receiver
- iperf Done.
複製代碼 On OpenWrt you could cancel iperf3 task. Sometimes you may kill the iperf3 process.- ps | grep iperf3
- <PID> iperf3
- kill -9 <PID>
複製代碼 目录帖子GL.iNet and OpenWrt Contents |