I recently built a NAS box with the amition to allow it to serve the SMB network lightning fast.
The server itsefl is capable of delivering excellent speeds, for example FTP transfers goes up to 80-90mb/s.
However the samba speeds never goes past ~30mb/s and I've spent quite some time trying to optimize this.
There is plenty of available resources in the server, so huge buffers etc is not a problem.
The OS is running Ubuntu 2.6.22-14-server with the stock kernel. No extra TCP/IP tweaks are made.
The NIC is a Intel Corporation 82545GM Gigabit Ethernet Controller (rev 04).
Jumbo Frames is turned off for the moment, speed acctually decrease when I turn it on.
How can I make samba faster?
My current samba optimization settings as following
socket options = TCP_NODELAY IPTOS_LOWDELAY
read raw = yes # Default
write raw = yes # Default
oplocks = yes # Default
max xmit = 65535 # Default
dead time = 15 # Default is 0
getwd cache = yes
lpq cache = 30