我使用 Vultr 提供的 VPS,在上面部署了 samba,走 kcptun。速度只有 30-40KB/S。但是使用 https+kcp,速度能达到 1.2MB/S。可是 http 只读比较方便,管理文件不行。请问如何调整参数,使得 samba 协议速度更快?
[global] netbios name = NJ
server string = The NJ File Center
workgroup = WORKGROUP
protocol = SMB3
smb encrypt = desired
# allow follow soft links
follow symlinks = yes
wide links = yes
unix extensions = no
# network optimizations
socket options = TCP_NODELAY IPTOS_LOWDELAY
read raw = yes
write raw = yes
oplocks = yes
max xmit = 65535
dead time = 15
getwd cache = yes
lpq cache = 30
#### Debugging/Accounting ####
# This tells Samba to use a separate log file for each machine
# that connects
log level = 1
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://v2ex.xtra.eu.org/t/526358
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.