20399 Views Previous 1 2 3 4 5 Next 68 Replies Latest reply: Apr 17, 2008 2:51 PM by mbpjunkie Go to original post
What normally happens, after you modify the file and hit CTRL-X, you will get this screen:
Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?
N No ^C Cancel
If you hit "Y", here, you will be prompted with:
File Name to Write: sysctl.conf
Just hit enter here and it will save and exit the editor.
Macintosh:~ Name$ cd /etc
Macintosh:etc Name$ sudo echo "net.inet.tcp.sockthreshold=0" > sysctl.conf
-bash: sysctl.conf: Permission denied
In response to your reply to me, I followed your directions including the "sudo" command
I am becoming very frustrated here because I am trying to do the instructions but I do not understand what I am doing wrong when other people are successful
Sorry for the frustration, the Unix underneath is/can be difficult for new users.
sudo pico sysctl.conf (does this ask for your password here?)
add the line: net.inet.tcp.sockthreshold=0
CTRL-X (enter "Y" when asked to save the buffer)
ENTER or RETURN when asked to save: sysctl.conf
You should be out of the editor now.
yes, it asked for my password
GNU nano 2.0.1 File: sysctl.conf Modified
I can return until doomsday and NOTHING else happens - no response whatsover to CTRL-X
what am I doing wrong ???
It will if you continually breach the 64 socket connection threshold. Tiger had this set to 256, which I felt was too high. Leopard has some more auto-tuning from what I understand. If you set your recvspace or sendspace to different values, they will not be recognized unless the 64 socket limit is exceeded. Most folks will not attain connections over 64 so for them, it works great and they can tune anyway they like and lock it in at boot time. YMMV I guess.
Thanks, Scott. Here are the results of my speedguide.net TCP/IP test, which they say are okay, but not optimal:
« SpeedGuide.net TCP Analyzer Results »
Tested on: 10.29.2007 12:26
IP address: 70.181.xxx.xxx
TCP options string: 020405b4010303010101080a2b9ac76b0000000004020000
TCP Window: 66608 (NOT multiple of MSS)
RWIN Scaling: 1
Unscaled RWIN : 33304
Reccomended RWINs: 64240, 128480, 256960, 513920
BDP limit (200ms): 2664kbps (333KBytes/s)
BDP limit (500ms): 1066kbps (133KBytes/s)
MTU Discovery: ON
IP ToS: 00000000 (0)