|
|
Speed up Samba file copying speeds
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.
More tcp/ip madness
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. #!/bin/sh ## # 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 net.local.stream.recvspace=65535 /usr/sbin/sysctl -w net.local.stream.sendspace=65535 # set buffer size for sockets /usr/sbin/sysctl -w kern.ipc.maxsockbuf=2097152 |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|