Config sysctl -a For faster Broadband Speed.

Powermaster

Site Supporter
Hello.
I am woundering how to make my speed go faster via the sysctl -a command.

I have Cable Internet with about 2.2mbit Down and 384k/s Upload. What should I type to get the system to be configed for this connection?

Thanks for your help!
 
There is a freeware app called "Broadband Optimizer" that installs the appropriate commands in your /Library/StartupItems folder.
 
I have used that application (Startup Item) in the past but, I feel that I should be able to milk more out of my connection. Is it configured for standarn broadband or all?

Apple suggests:

If you don't see the speed that you expect, you might consider adjusting
the TCP send and receive window sizes.

To adjust the window sizes, modify the kern.ipc.maxsockbuf,
net.inet.tcp.sendspace and net.inet.tcp.recvspace like this:

% sudo sysctl -w kern.ipc.maxsockbuf=2097152
% sudo sysctl -w net.inet.tcp.sendspace=262144
% sudo sysctl -w net.inet.tcp.recvspace=262144

but Broadband Optimizer says:

The listing should contain the following lines:
net.inet.tcp.sendspace: 65536
net.inet.tcp.recvspace: 65536
net.inet.tcp.delayed_ack: 0
net.inet.udp.recvspace: 73728

What do you think?
 
You could merge Apple's settings into BroadbandOptimizer's startup script. But really, I don't think you will see any appreciable real-world speed. I just tested Apple's settings against BroadbandOptimizer's defaults and the results were very close.

Using Broadband Report's test suite (http://www.broadbandreports.com/stest), here is a comparison performed in the latest build of Chimera:

Apple Recommendation
Linkline (Los Angeles, Cali) [run 1]
Down: 1288kbps/157KBps
Up: 373 kbps

Linkline (Los Angeles, Cali) [run 2]
Down: 1020kbps/124.5KBps
Up: 371 kbps

Megapath(Cali) [run 1]
Down: 1153kbps/140.8KBps
Up: 345 kbps

Megapath(Cali) [run 2]
Down: 780kbps/95.2KBps
Up: 214 kbps

BroadbandOptimizer Defaults
Linkline (Los Angeles, Cali)
Down: 1175kbps/143.4KBps
Up: 374 kbps

Megapath(Cali) [run 1]
Down: 790kbps/96.4KBps
Up: 286 kbps

Megapath(Cali) [run 2]
Down: 994kbps/121.3KBps
Up: 225 kbps

I would discount the Apple suggested settings run1 for Megapath, since it appears to be a fluke. I think their servers are very busy and were saturated when I ran the tests. The Linkline tests are a better comparison, as the results are more consistent throughout and appear to be close to the maximum speed at which my connection is rated. There is very, very little difference between the two settings and probably no percepible difference in real-world application.
 
Back
Top