V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
OpenWrt 是一个专门面向嵌入式设备的 Linux 发行版。你可以将 OpenWrt 支持的型号的嵌入式设备,比如各种路由器上的系统,换成一个有更多可能性可以折腾的 Linux 系统。
OpenWrt 官方网站
niantoudeyisi
V2EX  ›  OpenWrt

大佬们。问一下 RTL8111 网卡上传能满千兆下载不能满是什么原因。

  •  
  •   niantoudeyisi · 2022-10-31 03:06:48 +08:00 · 1538 次点击
    这是一个创建于 740 天前的主题,其中的信息可能已经有所发展或是发生改变。
    服务端 
    root@OpenWrt:~# iperf3 -s
    -----------------------------------------------------------
    Server listening on 5201 (test #1)
    -----------------------------------------------------------
    Accepted connection from 192.168.9.2, port 12864
    [  5] local 192.168.9.1 port 5201 connected to 192.168.9.2 port 12865
    [ ID] Interval           Transfer     Bitrate
    [  5]   0.00-1.00   sec   112 MBytes   938 Mbits/sec
    [  5]   1.00-2.00   sec   112 MBytes   942 Mbits/sec
    [  5]   2.00-3.00   sec   112 MBytes   942 Mbits/sec
    [  5]   3.00-4.00   sec   112 MBytes   942 Mbits/sec
    [  5]   4.00-5.00   sec   112 MBytes   942 Mbits/sec
    [  5]   5.00-6.00   sec   112 MBytes   942 Mbits/sec
    [  5]   6.00-7.00   sec   112 MBytes   942 Mbits/sec
    [  5]   7.00-8.00   sec   112 MBytes   942 Mbits/sec
    [  5]   8.00-9.00   sec   112 MBytes   942 Mbits/sec
    [  5]   9.00-10.00  sec   112 MBytes   942 Mbits/sec
    [  5]  10.00-10.02  sec  2.19 MBytes   935 Mbits/sec
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate
    [  5]   0.00-10.02  sec  1.10 GBytes   942 Mbits/sec                  receiver
    -----------------------------------------------------------
    Server listening on 5201 (test #2)
    -----------------------------------------------------------
    Accepted connection from 192.168.9.2, port 12866
    [  5] local 192.168.9.1 port 5201 connected to 192.168.9.2 port 12867
    [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
    [  5]   0.00-1.00   sec   102 MBytes   851 Mbits/sec    0    188 KBytes
    [  5]   1.00-2.00   sec  99.4 MBytes   834 Mbits/sec    0    188 KBytes
    [  5]   2.00-3.00   sec  98.1 MBytes   823 Mbits/sec    0    188 KBytes
    [  5]   3.00-4.00   sec  94.0 MBytes   789 Mbits/sec    0    208 KBytes
    [  5]   4.00-5.00   sec  94.5 MBytes   793 Mbits/sec    0    188 KBytes
    [  5]   5.00-6.00   sec  96.9 MBytes   813 Mbits/sec    0    198 KBytes
    [  5]   6.00-7.00   sec  86.6 MBytes   726 Mbits/sec    0   8.55 KBytes
    [  5]   7.00-8.00   sec  96.9 MBytes   813 Mbits/sec    0    188 KBytes
    [  5]   8.00-9.00   sec  98.0 MBytes   822 Mbits/sec    0    188 KBytes
    [  5]   9.00-10.00  sec  96.6 MBytes   811 Mbits/sec    0    188 KBytes
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate         Retr
    [  5]   0.00-10.00  sec   962 MBytes   807 Mbits/sec    0             sender
    -----------------------------------------------------------
    Server listening on 5201 (test #3)
    ------
    
    
    客户端
    C:\Users\wxy\Downloads\iperf3.7_64_updated_cygwin1dll\iperf3.7_64_updated_cygwin1dll>iperf3.exe -c 192.168.9.1
    
    warning: Ignoring nonsense TCP MSS 0
    Connecting to host 192.168.9.1, port 5201
    [  5] local 192.168.9.2 port 12865 connected to 192.168.9.1 port 5201
    [ ID] Interval           Transfer     Bitrate
    [  5]   0.00-1.00   sec   116 MBytes   973 Mbits/sec
    [  5]   1.00-2.00   sec   112 MBytes   942 Mbits/sec
    [  5]   2.00-3.00   sec   112 MBytes   942 Mbits/sec
    [  5]   3.00-4.00   sec   112 MBytes   942 Mbits/sec
    [  5]   4.00-5.00   sec   112 MBytes   942 Mbits/sec
    [  5]   5.00-6.00   sec   112 MBytes   942 Mbits/sec
    [  5]   6.00-7.00   sec   112 MBytes   942 Mbits/sec
    [  5]   7.00-8.00   sec   112 MBytes   942 Mbits/sec
    [  5]   8.00-9.00   sec   112 MBytes   942 Mbits/sec
    [  5]   9.00-10.00  sec   112 MBytes   942 Mbits/sec
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate
    [  5]   0.00-10.00  sec  1.10 GBytes   945 Mbits/sec                  sender
    [  5]   0.00-10.02  sec  1.10 GBytes   942 Mbits/sec                  receiver
    
    iperf Done.
    
    C:\Users\wxy\Downloads\iperf3.7_64_updated_cygwin1dll\iperf3.7_64_updated_cygwin1dll>iperf3.exe -c 192.168.9.1
     -R
    warning: Ignoring nonsense TCP MSS -2146669056
    Connecting to host 192.168.9.1, port 5201
    Reverse mode, remote host 192.168.9.1 is sending
    [  5] local 192.168.9.2 port 12867 connected to 192.168.9.1 port 5201
    [ ID] Interval           Transfer     Bitrate
    [  5]   0.00-1.00   sec   101 MBytes   847 Mbits/sec
    [  5]   1.00-2.00   sec  99.2 MBytes   832 Mbits/sec
    [  5]   2.00-3.00   sec  98.1 MBytes   823 Mbits/sec
    [  5]   3.00-4.00   sec  94.0 MBytes   787 Mbits/sec
    [  5]   4.00-5.00   sec  94.2 MBytes   792 Mbits/sec
    [  5]   5.00-6.00   sec  97.0 MBytes   814 Mbits/sec
    [  5]   6.00-7.00   sec  86.4 MBytes   725 Mbits/sec
    [  5]   7.00-8.00   sec  97.0 MBytes   814 Mbits/sec
    [  5]   8.00-9.00   sec  98.0 MBytes   822 Mbits/sec
    [  5]   9.00-10.00  sec  96.8 MBytes   812 Mbits/sec
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate         Retr
    [  5]   0.00-10.00  sec   962 MBytes   807 Mbits/sec    0             sender
    [  5]   0.00-10.00  sec   962 MBytes   807 Mbits/sec                  receiver
    
    iperf Done.
    
    C:\Users\wxy\Downloads\iperf3.7_64_updated_cygwin1dll\iperf3.7_64_updated_cygwin1dll>
    
    

    本来是上传也是 800M 左右然后搜了一番。好像是驱动有问题 然后我把 openwrt 里面 R8169 和 R8125 驱动删掉了就剩一个 R8168 就现在这样了= = 是不是 RTL 就是这样。。。 win 还没试等有时间机子装个 win 试一下。看看是不是驱动问题。 机子处理器是 N5105 俩个 RTL8111 硬盘是 m2 的 sata 固态 内存两根 2g 的 ddr4 .

    第 1 条附言  ·  2022-10-31 07:56:49 +08:00
    感觉贼奇怪 笔记本直接连软路由,上传也变成 800M 。连交换机上上传变成 940M
    9 条回复    2022-10-31 12:34:35 +08:00
    nbjbsjb
        1
    nbjbsjb  
       2022-10-31 07:32:21 +08:00 via Android   ❤️ 1
    一般来说,先考虑换个驱动
    niantoudeyisi
        2
    niantoudeyisi  
    OP
       2022-10-31 07:56:30 +08:00 via Android
    @nbjbsjb 后面我在试试换驱动😂
    kokutou
        3
    kokutou  
       2022-10-31 08:19:02 +08:00 via Android   ❤️ 1
    网络重置下看看。。。
    netsh winsock reset
    netsh int ip reset
    netsh int tcp reset

    笔记本插上电了吗,CPU 单核性能不够也跑不满
    niantoudeyisi
        4
    niantoudeyisi  
    OP
       2022-10-31 08:46:48 +08:00 via Android
    @kokutou 晚上我回去试试
    笔记本插电了 。笔记本是标压九代 i7 应该够跑满
    neroxps
        5
    neroxps  
       2022-10-31 09:11:14 +08:00   ❤️ 1
    8111 好像就这样的吧?
    kamin
        6
    kamin  
       2022-10-31 11:33:52 +08:00   ❤️ 1
    软路由不带 NAT 芯片,交换机带有 NAT 芯片,所以内网传输速度不一样。
    可以参考这个帖子:
    https://www.right.com.cn/forum/thread-8238036-1-1.html
    niantoudeyisi
        7
    niantoudeyisi  
    OP
       2022-10-31 12:26:38 +08:00 via Android
    @neroxps 😹 我看网卡是 1000M 网卡 没想到速度是 800M
    niantoudeyisi
        8
    niantoudeyisi  
    OP
       2022-10-31 12:28:03 +08:00 via Android
    @kamin 看来还得整个硬路由😭。
    neroxps
        9
    neroxps  
       2022-10-31 12:34:35 +08:00
    @kamin #6 交换机??? NAT 芯片????

    就是 RTL 8111 的问题,这货速度就是 900 多的样子。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1885 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 16:28 · PVG 00:28 · LAX 08:28 · JFK 11:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.