DelayedAckHack
for 10.5.2 and up
KHI End User License Agreement:
I’m sure you don’t like reading these stupid things any more than I like writing them, so we’ll keep it short and sweet:
- This software is provided to you, for your own personal, private use, without any kind of warranty or promise of support whatsoever.
- You are licensed to use this software, not to distribute it or sell it. I ask that you please not mirror any files which I have not explicitly relinquished my exclusive copyright to anywhere without prior authorization.
Sound cool to you?
10.5.2 breaks a lot of things in the stupidest way imaginable, but I believe its most annoying anti-feature is the manner in which it slows and/or stops AFP LAN traffic on Intel machines for no apparent reason. It was reported on the once-relevant MacFixit that issuing the following command:
sysctl -w net.inet.tcp.delayed_ack=0
solved this issue for many people, but who wants to type that in every time they login?
So, I put together a little installer that will harness the power of launchd to run this command on your behalf automatically no matter what. Whether or not it actually fixes anything for you is something of a crapshoot, but it’s worked for me and several other people.
Just remember to pull it out of /Library/LaunchDaemons if and when Apple fixes their flaky auto-tuning TCP nonsense. Until then, the only response you’ll get out of them is “file a bug report.”