ashong
2025 年 12 月 20 日
前几天也遇到一样的问题,搜素一番后, 以下配置千兆可以跑满
mac 上添加文件/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
```
服务端:
```
server min protocol = SMB3_00
fruit:aapl = yes
fruit:copyfile = yes
fruit:nfs_aces = no
fruit:aapl = yes
fruit:copyfile = yes
fruit:nfs_aces = no
fruit:metadata = stream
fruit:time machine = no
vfs objects = catia fruit streams_xattr
aio read size = 1
aio write size = 1
ea support = yes
durable handles = yes
posix locking = no
use sendfile = no
strict sync = no
socket options = TCP_NODELAY
```