1. 程式人生 > >pc 訪問 修改 samba 服務的檔案 慢

pc 訪問 修改 samba 服務的檔案 慢

win8 訪問 samba 訪問慢

在網上查詢後,大概有下面幾種解決方案。


1: [global]
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384


2:在 smb.conf 裡新增下面的語句就可以解決smb ports = 139


3:


修改 /opt/etc/samba/smb.conf,加入


[global]


read size = 512 
socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=512 SO_SNDBUF=512 IPTOS_LOWDELAY 
getwd cache = yes


follow symlinks = no 
wide links = no


read raw = yes 
write raw = yes


large readwrite = yes 
getwd cache = yes 
strict locking = no 
fake oplocks = yes 
oplocks = no


4:關閉防火牆和selinux

5.vhosts和/etc/sysconfig/network    主機名保持一致