刚刚测了一下龙芯3A6000的XA61200主板和铭凡BD790i AMD 锐龙R9-7945HX主板,iperf3 --bidir 双向测试都没有问题,测试 sctp 协议都在几秒后速度归零。系统Debian sid,内核版本6.12.5。
龙芯3A6000 XA61200主板 【网卡检测为02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)】:
root@debian13:~# iperf3 -c 192.168.1.167 --bidir --bind-dev enp2s0
Connecting to host 192.168.1.167, port 5201
[ 5] local 192.168.1.40 port 42150 connected to 192.168.1.167 port 5201
[ 7] local 192.168.1.40 port 42160 connected to 192.168.1.167 port 5201
[ ID][Role] Interval Transfer Bitrate Retr Cwnd
[ 5][TX-C] 0.00-1.00 sec 113 MBytes 950 Mbits/sec 0 628 KBytes
[ 7][RX-C] 0.00-1.00 sec 112 MBytes 937 Mbits/sec
[ 5][TX-C] 1.00-2.00 sec 113 MBytes 951 Mbits/sec 0 690 KBytes
[ 7][RX-C] 1.00-2.00 sec 112 MBytes 940 Mbits/sec
[ 5][TX-C] 2.00-3.00 sec 111 MBytes 933 Mbits/sec 0 721 KBytes
[ 7][RX-C] 2.00-3.00 sec 112 MBytes 937 Mbits/sec
[ 5][TX-C] 3.00-4.00 sec 112 MBytes 940 Mbits/sec 0 721 KBytes
[ 7][RX-C] 3.00-4.00 sec 112 MBytes 935 Mbits/sec
[ 5][TX-C] 4.00-5.00 sec 112 MBytes 942 Mbits/sec 0 721 KBytes
[ 7][RX-C] 4.00-5.00 sec 111 MBytes 934 Mbits/sec
[ 5][TX-C] 5.00-6.00 sec 112 MBytes 943 Mbits/sec 0 721 KBytes
[ 7][RX-C] 5.00-6.00 sec 111 MBytes 934 Mbits/sec
[ 5][TX-C] 6.00-7.00 sec 112 MBytes 942 Mbits/sec 0 721 KBytes
[ 7][RX-C] 6.00-7.00 sec 111 MBytes 934 Mbits/sec
[ 5][TX-C] 7.00-8.00 sec 112 MBytes 942 Mbits/sec 0 721 KBytes
[ 7][RX-C] 7.00-8.00 sec 111 MBytes 934 Mbits/sec
[ 5][TX-C] 8.00-9.00 sec 112 MBytes 940 Mbits/sec 0 721 KBytes
[ 7][RX-C] 8.00-9.00 sec 111 MBytes 934 Mbits/sec
[ 5][TX-C] 9.00-10.00 sec 111 MBytes 930 Mbits/sec 0 721 KBytes
[ 7][RX-C] 9.00-10.00 sec 112 MBytes 935 Mbits/sec
[ ID][Role] Interval Transfer Bitrate Retr
[ 5][TX-C] 0.00-10.00 sec 1.10 GBytes 941 Mbits/sec 0 sender
[ 5][TX-C] 0.00-10.00 sec 1.09 GBytes 939 Mbits/sec receiver
[ 7][RX-C] 0.00-10.00 sec 1.09 GBytes 937 Mbits/sec 116 sender
[ 7][RX-C] 0.00-10.00 sec 1.09 GBytes 936 Mbits/sec receiver
iperf Done.
root@debian13:~# iperf3 -c 192.168.1.167 --bidir --bind-dev enp2s0 --sctp
Connecting to host 192.168.1.167, port 5201
[ 5] local 192.168.1.40 port 50063 connected to 192.168.1.167 port 5201
[ 7] local 192.168.1.40 port 55636 connected to 192.168.1.167 port 5201
[ ID][Role] Interval Transfer Bitrate
[ 5][TX-C] 0.00-1.00 sec 69.0 MBytes 578 Mbits/sec
[ 7][RX-C] 0.00-1.00 sec 76.1 MBytes 638 Mbits/sec
[ 5][TX-C] 1.00-2.00 sec 77.7 MBytes 652 Mbits/sec
[ 7][RX-C] 1.00-2.00 sec 77.8 MBytes 653 Mbits/sec
[ 5][TX-C] 2.00-3.00 sec 74.2 MBytes 622 Mbits/sec
[ 7][RX-C] 2.00-3.00 sec 74.1 MBytes 622 Mbits/sec
[ 5][TX-C] 3.00-4.00 sec 75.8 MBytes 636 Mbits/sec
[ 7][RX-C] 3.00-4.00 sec 56.7 MBytes 476 Mbits/sec
[ 5][TX-C] 4.00-5.00 sec 39.6 MBytes 332 Mbits/sec
[ 7][RX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec
[ 5][TX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec
[ 7][RX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec
[ 5][TX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec
[ 7][RX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec
[ 5][TX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec
[ 7][RX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec
[ 5][TX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec
[ 7][RX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec
[ 5][TX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec
[ 7][RX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec
[ ID][Role] Interval Transfer Bitrate
[ 5][TX-C] 0.00-10.00 sec 336 MBytes 282 Mbits/sec sender
[ 5][TX-C] 0.00-10.00 sec 336 MBytes 282 Mbits/sec receiver
[ 7][RX-C] 0.00-10.00 sec 285 MBytes 239 Mbits/sec sender
[ 7][RX-C] 0.00-10.00 sec 285 MBytes 239 Mbits/sec receiver
iperf Done.
%%%%%%%%%%%%%%%%%%%%%%
铭凡BD790i主板 【网卡检测为04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)】:
root@mf7945hx:~# iperf3 -c 192.168.1.167 --bidir --bind-dev enp4s0
Connecting to host 192.168.1.167, port 5201
[ 5] local 192.168.1.44 port 58118 connected to 192.168.1.167 port 5201
[ 7] local 192.168.1.44 port 58120 connected to 192.168.1.167 port 5201
[ ID][Role] Interval Transfer Bitrate Retr Cwnd
[ 5][TX-C] 0.00-1.00 sec 115 MBytes 962 Mbits/sec 0 742 KBytes
[ 7][RX-C] 0.00-1.00 sec 112 MBytes 936 Mbits/sec
[ 5][TX-C] 1.00-2.00 sec 112 MBytes 937 Mbits/sec 0 742 KBytes
[ 7][RX-C] 1.00-2.00 sec 112 MBytes 940 Mbits/sec
[ 5][TX-C] 2.00-3.00 sec 113 MBytes 949 Mbits/sec 0 839 KBytes
[ 7][RX-C] 2.00-3.00 sec 112 MBytes 940 Mbits/sec
[ 5][TX-C] 3.00-4.00 sec 111 MBytes 933 Mbits/sec 0 839 KBytes
[ 7][RX-C] 3.00-4.00 sec 112 MBytes 937 Mbits/sec
[ 5][TX-C] 4.00-5.00 sec 112 MBytes 942 Mbits/sec 0 839 KBytes
[ 7][RX-C] 4.00-5.00 sec 111 MBytes 934 Mbits/sec
[ 5][TX-C] 5.00-6.00 sec 112 MBytes 942 Mbits/sec 0 839 KBytes
[ 7][RX-C] 5.00-6.00 sec 111 MBytes 934 Mbits/sec
[ 5][TX-C] 6.00-7.00 sec 112 MBytes 942 Mbits/sec 0 839 KBytes
[ 7][RX-C] 6.00-7.00 sec 111 MBytes 934 Mbits/sec
[ 5][TX-C] 7.00-8.00 sec 112 MBytes 942 Mbits/sec 0 839 KBytes
[ 7][RX-C] 7.00-8.00 sec 111 MBytes 934 Mbits/sec
[ 5][TX-C] 8.00-9.00 sec 112 MBytes 941 Mbits/sec 0 839 KBytes
[ 7][RX-C] 8.00-9.00 sec 111 MBytes 934 Mbits/sec
[ 5][TX-C] 9.00-10.00 sec 111 MBytes 932 Mbits/sec 0 839 KBytes
[ 7][RX-C] 9.00-10.00 sec 111 MBytes 934 Mbits/sec
[ ID][Role] Interval Transfer Bitrate Retr
[ 5][TX-C] 0.00-10.00 sec 1.10 GBytes 942 Mbits/sec 0 sender
[ 5][TX-C] 0.00-10.00 sec 1.09 GBytes 940 Mbits/sec receiver
[ 7][RX-C] 0.00-10.00 sec 1.09 GBytes 938 Mbits/sec 176 sender
[ 7][RX-C] 0.00-10.00 sec 1.09 GBytes 936 Mbits/sec receiver
iperf Done.
root@mf7945hx:~# iperf3 -c 192.168.1.167 --bidir --bind-dev enp4s0 --sctp
Connecting to host 192.168.1.167, port 5201
[ 5] local 192.168.1.44 port 46869 connected to 192.168.1.167 port 5201
[ 7] local 192.168.1.44 port 38000 connected to 192.168.1.167 port 5201
[ ID][Role] Interval Transfer Bitrate
[ 5][TX-C] 0.00-1.00 sec 70.3 MBytes 589 Mbits/sec
[ 7][RX-C] 0.00-1.00 sec 70.2 MBytes 589 Mbits/sec
[ 5][TX-C] 1.00-2.00 sec 72.2 MBytes 606 Mbits/sec
[ 7][RX-C] 1.00-2.00 sec 73.4 MBytes 616 Mbits/sec
[ 5][TX-C] 2.00-3.00 sec 72.6 MBytes 609 Mbits/sec
[ 7][RX-C] 2.00-3.00 sec 79.0 MBytes 663 Mbits/sec
[ 5][TX-C] 3.00-4.00 sec 87.1 MBytes 731 Mbits/sec
[ 7][RX-C] 3.00-4.00 sec 16.9 MBytes 142 Mbits/sec
[ 5][TX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec
[ 7][RX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec
[ 5][TX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec
[ 7][RX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec
[ 5][TX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec
[ 7][RX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec
[ 5][TX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec
[ 7][RX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec
[ 5][TX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec
[ 7][RX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec
[ 5][TX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec
[ 7][RX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec
[ ID][Role] Interval Transfer Bitrate
[ 5][TX-C] 0.00-10.00 sec 302 MBytes 254 Mbits/sec sender
[ 5][TX-C] 0.00-10.00 sec 302 MBytes 253 Mbits/sec receiver
[ 7][RX-C] 0.00-10.00 sec 240 MBytes 201 Mbits/sec sender
[ 7][RX-C] 0.00-10.00 sec 240 MBytes 201 Mbits/sec receiver
iperf Done.