samba用Windows 10访问上传快下载慢
在服务器上配置了samba,网络是千兆网,在Windows 10下访问时出现了奇怪的问题,上传速度能达到千兆网的满速(100+MB/s),但是下载时速度较慢而且不稳定(快时能到40+MB/s,慢时只有20+MB/s)。请问该如何配置才能达到下载满速?
smb.conf配置如下:
[global]
obey pam restrictions = yes
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
max log size = 1000
unix password sync = yes
pam password change = yes
usershare allow guests = yes
log file = /var/log/samba/log.%m
passwd program = /usr/bin/passwd %u
netbios name = qakcn-nas
# server string = qakcn-nas
server string = %h server (Samba, Ubuntu)
map to guest = bad user
panic action = /usr/share/samba/panic-action %d
syslog = 0
server role = standalone server
passdb backend = tdbsam
workgroup = WORKGROUP
load printers = no
domain master = no
preferred master = no
kernel oplocks = yes
name resolve order = wins lmhosts bcast
wins support = no
read raw = yes
write raw = yes
read size = 65536
read prediction = yes
dns proxy = no
follow symlinks = no
wide links = no
aio read size = 16384
aio write size = 16384
aio write behind = true
write cache size = 2097152
max xmit = 65536
large readwrite = yes
use sendfile = yes
min receivefile size = 16384
getwd cache = yes
socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[data-1]
guest account = qakcn
public = yes
create mode = 644
force user = qakcn
path = /media/data-1
writeable = yes
force group = qakcn
[safe-1]
public = yes
create mode = 644
write list = qakcn
valid users = qakcn
writeable = yes
path = /media/safe-1
revalidate = yes
browseable = yes
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
楼主你好
我遇到了和你一样的问题
server centos7
client windows 10
请问您最后解决了嘛