samba 4 tuning improvements
samba 4 recommendations from @inquam!
keeping here for the record. i will start using them and see how they are doing.
Just to be clear, these need to be added by hand to /etc/samba/smb.conf and will be lost easily, e.g. on Share and other changes, so check frequently.
Amahi 7 (F19) runs samba 4 as compared to the older versions used before. But it seems even Samba 4 has quite poor performance when reading and writing files to and from a WIndows client. To speed things up the same performance tips I gave for the older versions still seems to work. These should be placed in the [global] section of /etc/samba/smb.conf. Perhaps it should be added to the default config? Or a way in the amahi web gui to specify additional [global] options like you can for individual shares?
- Fix for file batch copy issues (see: http://archlinuxarm.org/forum/viewtopic.php?f=18&t=4864)
oplocks = no
- Tuning options
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
write cache size = 2097152
use sendfile = true
getwd cache = yes
Samba 4 is still slower than 3, but with these settings I'm able to boost my read and writes to around 550-600MBit/second.
Also available in: Atom