Hi all,
I have recently discovered a nifty trick to speed up your home LAN. The
following commands increase the maximum send window and the memory
reserved for TCP buffers in the kernel. (I have put these in
/etc/conf.d/bootmisc so they will be there next reboot.)
echo 8388608 > /proc/sys/net/core/wmem_max
echo 8388608 > /proc/sys/net/core/rmem_max
echo "4096 87380 4194304" > /proc/sys/net/ipv4/tcp_rmem
echo "4096 65536 4194304" > /proc/sys/net/ipv4/tcp_wmem
After this, my samba serves have gone from ~2MB/s to ~9.7MB/s.
Explained in much greater depth here:
http://www.psc.edu/networking/projects/tcptune/
Cheers Nic