2.5G 全屋遇到一个相当奇怪的问题

310 天前
 VanityBoy
环境:
路由器 XDR6088 2.5G x2 1000M x4
以太网电脑 板载 2.5G Realtek Gaming 2.5GbE Family Controlle
Macbook air M1
三个设备都在一个屋里,网线使用的是 CAT8 。信号能力无折损。

链接状况:
R2S armbian linux LAN 1000M -> XDR6088 LAN 1000M
MBA 802.11ax -> XDR6088 WIFI6
Desktop 2.5G ethernet -> XDR6088 LAN 2.5G

想要的效果:
MBA 和台式机互传文件达到 2.5G 满载。

经 iperf3 测试现状:
Desktop - > R2S :102+ Mbytes/s
Desktop < - R2S :110+ Mbytes/s
MBA - > Desktop :30+ Mbytes/s
MBA < - Desktop :40+ Mbytes/s
MBA - > R2S :90+ Mbytes/s

问题出在:为什么 macbook 和台式机之间网速这么慢?
1590 次点击
所在节点    问与答
16 条回复
VanityBoy
310 天前
有没有大佬来看看啊?
cpstar
310 天前
你把台式机挂 R2S 上看 mac<-->pc 的 iperf3
VanityBoy
310 天前
@cpstar R2S -> mac
Connecting to host 192.168.xx.103, port 5201
[ 5] local 192.168.1.149 port 39310 connected to 192.168.xx.103 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 101 MBytes 840 Mbits/sec 0 7.26 MBytes
[ 5] 1.00-2.00 sec 101 MBytes 852 Mbits/sec 0 7.26 MBytes
[ 5] 2.00-3.00 sec 72.5 MBytes 608 Mbits/sec 0 7.26 MBytes
[ 5] 3.00-4.00 sec 22.5 MBytes 189 Mbits/sec 2415 495 KBytes
[ 5] 4.00-5.00 sec 63.7 MBytes 535 Mbits/sec 0 656 KBytes
[ 5] 5.00-6.00 sec 73.7 MBytes 618 Mbits/sec 0 800 KBytes
[ 5] 6.00-7.00 sec 77.5 MBytes 651 Mbits/sec 0 929 KBytes
[ 5] 7.00-8.00 sec 81.2 MBytes 681 Mbits/sec 0 1.02 MBytes
[ 5] 8.00-9.00 sec 85.0 MBytes 714 Mbits/sec 0 1.13 MBytes
[ 5] 9.00-10.00 sec 87.5 MBytes 734 Mbits/sec 0 1.22 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 765 MBytes 642 Mbits/sec 2415 sender
[ 5] 0.00-10.01 sec 764 MBytes 641 Mbits/sec receiver

iperf Done.

R2S -> PC

Connecting to host 192.168.xx.100, port 5201
[ 5] local 192.168.1.149 port 33540 connected to 192.168.xx.100 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 104 MBytes 869 Mbits/sec 0 211 KBytes
[ 5] 1.00-2.00 sec 112 MBytes 939 Mbits/sec 0 211 KBytes
[ 5] 2.00-3.00 sec 112 MBytes 943 Mbits/sec 0 211 KBytes
[ 5] 3.00-4.00 sec 112 MBytes 942 Mbits/sec 0 211 KBytes
[ 5] 4.00-5.00 sec 112 MBytes 940 Mbits/sec 0 211 KBytes
[ 5] 5.00-6.00 sec 112 MBytes 940 Mbits/sec 0 211 KBytes
[ 5] 6.00-7.00 sec 113 MBytes 944 Mbits/sec 0 211 KBytes
[ 5] 7.00-8.00 sec 113 MBytes 941 Mbits/sec 0 211 KBytes
[ 5] 8.00-9.00 sec 112 MBytes 939 Mbits/sec 0 211 KBytes
[ 5] 9.00-10.00 sec 113 MBytes 943 Mbits/sec 0 211 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.09 GBytes 934 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 1.09 GBytes 933 Mbits/sec receiver

iperf Done.
VanityBoy
310 天前
我查看了一下 Macbook Air M1 Wi-Fi specification details 。发现最大 1200Mbps ,满载也才 150Mbytes/s ,现在才拉到 1/2 。如果我要拉满网速,就要上网线了吗?
yinmin
310 天前
@VanityBoy #4 mac 里,按住 Option 键,然后鼠标点开 mac 的 wifi 能看到 wifi 详细参数,看看 mac 的 wifi 是跑啥协议和速率的。
yinmin
310 天前
进 XDR6088 管理平台检查参数,有些路由器必须是穿墙模式才能跑满 wifi 带宽,另外调整 wifi 频宽设置等参数试试。
VanityBoy
310 天前
@yinmin 应该和路由器设置没啥关系,我奇怪的是:mac 和其他设备的网速都能跑 100Mbytes/s 左右,但是和 PC 就折损这么严重,很奇怪。
cpstar
310 天前
所以我让你把 PC 直接挂在 R2S 上,而不是 XDR 的 2.5G 上。

首先要排出一件事情,现状下,mac 无线数据包发送给 XDR ,然后 XDR 本机交还给 2.5G 的 PC ,那么这个过程是否吃两遍 XDR 的核心芯片以及该设备的调配,理论上不可能,但实际上需要进行一轮排除。

既然 MAC->R2S 没有问题,那么如果 MAC->R2S->PC 有问题,那只能是 PC 的问题了。

4# 跟速率没有关系,这里除了 PC 是有线 2.5G ,其他全都是千兆。
macming
310 天前
Mac 与 PC 互传文件网速能跑满吗?
用"iperf3 -c xxx.xxx.xxx.xxx -P 3"并行多跑几个 streams 试试。
VanityBoy
310 天前
@cpstar R2S 不当旁路由使用,仅仅当作 linux 小主机使用。
PC 的问题,这点有点矛盾的是:r2s 到 pc 拉满千兆,r2s 到 mac 拉满千兆。唯独 mac 到 pc 互传就被压缩 60%以上网速了。

@macming 跑不满
cpstar
310 天前
噢,这么一个结构啊,我还以为 R2S 是上游主路由。
那就把 PC 从 2.5G 挂到千兆上。
WhatTheBridgeSay
310 天前
cat8 笑死,一大半概率是头子没做好/退绞过长/接地错误导致的,你哪怕用 cat5e 也不至于这么惨的速率,先去看看网卡协商速率是多少再说吧
VanityBoy
310 天前
@WhatTheBridgeSay 但是 PC 到 Linux 主机也没问题啊
VanityBoy
310 天前
@cpstar 挂千兆网口还是一样的
iceheart
310 天前
PC 操作系统是 windows 吧?
VanityBoy
310 天前
@iceheart 嗯是的。
估计找到原因了,我换了个 SMB 测试,网速能拉到 100Mbytes/s 左右。iperf3 的原因?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/955103

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX