Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Change TCP settings on each restart Network
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=0
The 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!).

Hope it helps!

[Editor's note: I have not tried this on my machine.]
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[5,160 views]  

Change TCP settings on each restart | 3 comments | Create New Account
Click here to return to the 'Change TCP settings on each restart' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Broadband Optimiser... doing the same thing?
Authored by: oink on Nov 22, '01 01:51:45PM

It seems to set some of the variables set with broadband optimiser... which I installed yesterday... I will see if I can bypass both (easier to manage)by putting the commands in my .rc file. (I login as root)



[ Reply to This | # ]
Broadband Optimiser... doing the same thing?
Authored by: palx on Nov 22, '01 02:41:33PM

Yep. BO is doing the same, and more! I will suggest to install that package, is more complete!;)

I posted mine just a few hours before the release of BO... little late!

Bye.



[ Reply to This | # ]
Broadband Optimiser... doing the same thing?
Authored by: oink on Nov 23, '01 10:33:25AM

Your commands offers another way of doing it, and it especially useful when you are sitting on another workstation, and you don't want to install a app.

Thanks



[ Reply to This | # ]