Hi! First of all thanks for this site.:)
I drop these few lines to provide some help, if needed, about a issue i've read here some weeks ago. To make a long story short, i have made a startup script to enable the network hacks you posted here to encrease the TCP receive windowsize:
sudo sysctl -w net.inet.tcp.recvspace=64960(i've increased a little the original size...eh!). and the one that deals with the delayed ack:
sudo sysctl -w net.inet.tcp.delayed_ack=0The problem with these commands is that they reset to default on every restart (if you have to restart a machine with OS X on it, eh eh!). So, i've made a little folder to put into your StartupItems folder (/System/Library/StartupItems) and you're set. This little script enables these tricks on every restart. Download it here. You have to su to root to copy it to the desired folder (of course!).
Mac OS X Hints
http://hints.macworld.com/article.php?story=20011122031407411