有人用过 macmini 的 文件共享 smb 吗,也忒拉胯了

10 月 19 日
 aladdinding

mac mini m4 27.2 Beta 版,开启文件共享,电视用网易爆米花看电影只有 5MB/s ,拖个进度条还转圈圈

我开始以为是 wifi 的问题,后来专门买了根长网线也一样

于是开始测试,mac mini 上开 iperf3 跟我的手机 wifi 5g 之间测试能跑到 800 Mbps

但是手机上的网易爆米花 smb 下载电影也只能跑到 6MB/s

结果换了 WebDAV ,python 开个 http 立马就好了,一下就跑满千兆

之前还看了很多博主说买 macmini 可以当文件服务器用,这确定能用吗?

还是我的打开方式不对,附上 iperf3 测试


Server listening on 5201 (test #1)
-----------------------------------------------------------
Accepted connection from 192.168.1.247, port 45700
[  5] local 192.168.1.238 port 5201 connected to 192.168.1.247 port 45712
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   102 MBytes   853 Mbits/sec
[  5]   1.00-2.00   sec  98.6 MBytes   829 Mbits/sec
[  5]   2.00-3.01   sec   102 MBytes   850 Mbits/sec
[  5]   3.01-4.00   sec  99.5 MBytes   837 Mbits/sec
[  5]   4.00-5.00   sec  94.2 MBytes   789 Mbits/sec
[  5]   5.00-6.01   sec  97.5 MBytes   817 Mbits/sec
[  5]   6.01-7.01   sec  99.1 MBytes   832 Mbits/sec
[  5]   7.01-8.00   sec  90.0 MBytes   756 Mbits/sec
[  5]   8.00-9.01   sec  96.9 MBytes   811 Mbits/sec
[  5]   9.01-10.00  sec  96.2 MBytes   811 Mbits/sec
[  5]  10.00-10.01  sec   384 KBytes   642 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.01  sec   976 MBytes   818 Mbits/sec                  receiver
2896 次点击
所在节点    Apple
7 条回复
aladdinding
10 月 19 日
另外也试了强制 SMB3 和 取消包签名,没啥用
Chicagoake
10 月 19 日
我两台 Mac 直接通过 macOS 里网络读取另一台电脑的文件,放蓝光原盘都没啥问题,没测过数据,但是这个体验对我很够用了。
ashong
10 月 19 日
老话题了,
/etc/nsmb.conf

```

[default]
signing_required=no

validate_neg_off=yes

port445=no_netbios

protocol_vers_map=6

smb_neg=smb3_only

soft=yes

streams=yes

mc_on=yes
mc_prefer_wired=yes

dir_cache_off=yes
dir_cache_max_cnt=0
dir_cache_max=0

notify_off=yes

max_resp_timeout=600

aapl_off=false

```
aladdinding
10 月 19 日
@ashong 感谢 我试试
ST0RMTR00PER
10 月 20 日
我的 MacBook Pro 也是经常用 SMB 传输文件,好像也不至于才 5MB/s ,基本也有 30MB/s 以上。
134432233
10 月 20 日
smb 在 Windows 下傳輸沒有問題,但是一旦跨平台不做任何配置的情況下的確只有 op 說的個位數速度,不管是 android 還是 Apple 設備,相同環境下我用第三方 ftp ,大概能到 600Mbps ,也不知道是哪的問題
PhDLuffy
10 月 21 日
系统平台兼容性问题,换 nas 做中枢就没问题了。

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

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

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

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

© 2021 V2EX