星期六, 11月 29, 2014

[Ubuntu] Samba (網路芳鄰) 服務效能的設定值

Samba 官方文件說明:
http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html

網路上討論 Samba 效能的設定值:Faster Samba (SMB / CIFS) Share Performance
strict allocate = Yes
read raw = Yes
write raw = Yes
strict locking = No
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
min receivefile size = 16384
use sendfile = true
aio read size = 16384
aio write size = 16384