| What you did only works until you restart, though.
To make it permanent edit your /etc/rc file.
sudo pico /etc/rc (use your favorite text editor in place of pico)
Scroll all the way to the end using the down arrow key. You want to add the lines in red:
SystemStarter ${VerboseFlag} sysctl -w net.inet.tcp.recvspace=65536
sysctl -w net.inet.tcp.sendspace=65536
sysctl -w net.inet.tcp.delayed_ack=0
exit 0 |