Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Speed up Samba file copying speeds' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Speed up Samba file copying speeds
Authored by: acdha on Nov 12, '05 07:20:37AM
Here's what I keep in /etc/sysctl.conf on our lab machines. Note that we *want* delayed ACKs on - in combination with the RFC1323 window sizes that's one of the things which helps us get reasonable gigabit transfers - ~700Mbs on a PowerBook, saturation on a G5.
net.inet.tcp.mssdflt=1460 
net.inet.tcp.sendspace=262144 
net.inet.tcp.recvspace=262144 
net.inet.udp.recvspace=74848
net.inet.udp.maxdgram=65535
net.inet.tcp.rfc1323=1 
net.inet.tcp.newreno=1 
net.inet.tcp.always_keepalive=1 
net.inet.tcp.keepidle=3600 
net.inet.tcp.keepintvl=150 
net.inet.tcp.slowstart_flightsize=4
net.inet.tcp.strict_rfc1948=1
net.inet.tcp.delayed_ack=1
We also tweak keepalives simply to avoid stale connections hanging around in some apps which we have - this is probably irrelevant for most people.

[ Reply to This | # ]