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: dispensa on Nov 11, '05 07:38:30AM

Delayed ACK is important in TCP flow control; the server should only stop sending data if the TCP window is full. Do you have any packet captures (e.g. using Ethereal) that illustrate that delayed ACK is the problem? It certainly shouldn't be if the server is Windows-based, and I'd be surprised if it were for Linux.

Can you post details?

[ Reply to This | # ]
More tcp/ip madness
Authored by: fri2219 on Nov 11, '05 04:22:55PM
I use the following for firewire networking (with jumbo packets). Everything (including no ack) works fine as long as you have a small, lightly used network segment.

I wouldn't try this where you had to worry about collisions, time-outs and packet re-assembly.


# network prefs script

# network tuning

# don't delay sending acks to syns
/usr/sbin/sysctl -w net.inet.tcp.delayed_ack=0

# increase the size of tcp & udp windows
/usr/sbin/sysctl -w net.inet.ip.portrange.last=65535
/usr/sbin/sysctl -w net.inet.tcp.sendspace=65535
/usr/sbin/sysctl -w net.inet.tcp.recvspace=65535
/usr/sbin/sysctl -w net.inet.udp.recvspace=65535
/usr/sbin/sysctl -w net.inet.udp.maxdgram=57344
/usr/sbin/sysctl -w net.inet.tcp.rfc1323=1
/usr/sbin/sysctl -w
/usr/sbin/sysctl -w

# set buffer size for sockets
/usr/sbin/sysctl -w kern.ipc.maxsockbuf=2097152

[ Reply to This | # ]