20241029在荣品PRO-RK3566开发板的预置Android13下用iperf3测试以太网eth0的网速【RTL8211F-CG】
2024/10/29 10:45
将荣品PRO-RK3566开发板的ETH0【RTL8211F-CG】接入千兆交换机,然后将笔记本电脑的以太网卡也一起接入【同一个】千兆交换机。
交换机接公司的网络,可以上internet。
通过iperf3实测平均网速为:859 Mbits/sec
在Android13下,RK3566的DHCP会自动获取IP地址的:192.168.3.128
console:/ #
console:/ # ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
dummy0 Link encap:Ethernet HWaddr 9e:55:e9:c6:ec:3b
inet6 addr: fe80::9c55:e9ff:fec6:ec3b/64 Scope: Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:1050
eth0 Link encap:Ethernet HWaddr ee:51:66:48:61:9a Driver rk_gmac-dwmac
inet addr:192.168.3.128 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::8c2d:637c:e3e5:d040/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:881912339 errors:0 dropped:0 overruns:0 frame:0
TX packets:62200389 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1334189946270 TX bytes:4105214349
Interrupt:48
console:/ #
荣品PRO-RK3566开发板作为服务器:
1|rk3566_t:/ # iperf3 -s |
---|
Server listening on 5201 |
Accepted connection from 192.168.3.71, port 47726
[ 5] local 192.168.3.128 port 5201 connected to 192.168.3.71 port 47742
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 100 MBytes 840 Mbits/sec
[ 5] 1.00-2.00 sec 109 MBytes 915 Mbits/sec
[ 5] 2.00-3.00 sec 111 MBytes 931 Mbits/sec
[ 5] 3.00-4.00 sec 106 MBytes 890 Mbits/sec
[ 5] 4.00-5.00 sec 97.7 MBytes 817 Mbits/sec
[ 5] 7196.00-7197.00 sec 109 MBytes 918 Mbits/sec
[ 5] 7197.00-7198.00 sec 111 MBytes 933 Mbits/sec
[ 5] 7198.00-7199.00 sec 110 MBytes 924 Mbits/sec
[ 5] 7199.00-7199.98 sec 109 MBytes 932 Mbits/sec
[ ID] Interval Transfer Bitrate
[ 5] 0.00-7199.98 sec 720 GBytes 859 Mbits/sec receiver
笔记本电脑作为客户端:
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$ iperf3 -c 192.168.3.128 -i 1 -t 7200
Connecting to host 192.168.3.128, port 5201
[ 5] local 192.168.3.71 port 54764 connected to 192.168.3.128 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 108 MBytes 909 Mbits/sec 0 617 KBytes
[ 5] 1.00-2.00 sec 111 MBytes 933 Mbits/sec 0 895 KBytes
[ 5] 2.00-3.00 sec 111 MBytes 933 Mbits/sec 0 1.01 MBytes
[ 5] 3.00-4.00 sec 110 MBytes 923 Mbits/sec 0 1.07 MBytes
[ 5] 4.00-5.00 sec 111 MBytes 933 Mbits/sec 0 1.07 MBytes
[ 5] 7195.00-7196.00 sec 111 MBytes 933 Mbits/sec 0 1.74 MBytes
[ 5] 7196.00-7197.00 sec 109 MBytes 912 Mbits/sec 0 1.74 MBytes
[ 5] 7197.00-7198.00 sec 111 MBytes 933 Mbits/sec 0 1.74 MBytes
[ 5] 7198.00-7199.00 sec 110 MBytes 923 Mbits/sec 0 1.74 MBytes
[ 5] 7199.00-7200.00 sec 111 MBytes 933 Mbits/sec 0 1.74 MBytes
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-7200.00 sec 720 GBytes 859 Mbits/sec 581 sender
[ 5] 0.00-7199.98 sec 720 GBytes 859 Mbits/sec receiver
iperf Done.
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
viewpro@viewpro-ThinkBook-16-G5-IRH:~$
4GB内存+32GB的eMMC,CPU占用率400%?4核心全部跑满了吗?