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

Click here to return to the 'More tcp/ip madness' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
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 | # ]