The Broadband Guide
search advanced
FAQs Categories:

How can I tweak Macintosh OS X ?

The tweaks apply to TCP/IP, and the protocol is OS independent. There are a couple of GUI programs floating around the net for changing the values under Mac OS X that you might want to find, or below is a quick manual fix. First, start and sudo (login as root user). You either have to type the following each time you reboot, or put it in some sort of startup script:

/usr/sbin/sysctl -w net.inet.tcp.sendspace=256960
/usr/sbin/sysctl -w net.inet.tcp.recvspace=256960
/usr/sbin/sysctl -w net.inet.udp.recvspace=65535
/usr/sbin/sysctl -w net.inet.tcp.rfc1323=1
/usr/sbin/sysctl -w net.inet.tcp.delayed_ack=1
ifconfig en0 mtu 1500
ifconfig en1 mtu 1500

Notes: In the first two lines, change the Rcv/Send Window as needed. In the last two lines, you can just use the one that's your Internet connection, and change MTU as needed.

Below is a list of some related GUI applications for Macintosh OS X:
Download Accelerator Plus
SpeedDownload 2

If you've found other reliable GUI applications for Macintosh tweaking, please let us know so we can add to this FAQ.

  User Reviews/Comments:
by transient - 2006-05-01 19:50
The example sets sendspace and recvspace to values greater than 65535 but also sets rfc1323=0 which, as I understand it, turns off support for scale factors and limits recvspace and sendspace to 65535. Am I missing something here?
by Philip - 2006-05-02 12:00
You're absolutely right, Tcp 1323 Options need to be enabled for TCP Window values over 65535. I've updated the FAQ to reflect this, thanks for catching it.
News Glossary of Terms FAQs Polls Cool Links SpeedGuide Teams SG Premium Services SG Gear Store
Registry Tweaks Broadband Tools Downloads/Patches Broadband Hardware SG Ports Database Security Default Passwords User Stories
Broadband Routers Wireless Firewalls / VPNs Software Hardware User Reviews
Broadband Security Editorials General User Articles Quick Reference
Broadband Forums General Discussions
Advertising Awards Link to us Server Statistics Helping SG About