I recently switched broadband service to 8Mb and I am still in the initial phase where my ISP is determing the maximum stable rate for my line. In order to get the best performance from my connection I was wondering whether I should tweak my network configuration.
My service is PPPoA and I connect my Mac to the Internet via a wireless router (a Netgear DG834G). The router's MTU is set to 1500.
I should add that the Round Trip Time for my connection to my ISP is 80ms.
Any help would be greatly appreciated as I've spent the last day or so scratching my head trying to fathom this TCP stuff out yet I seem to be none the wiser.
I haven't found that mucking around with those settings makes much difference - have your tried a variety of internet speed tests sites? Internetfrog.com - Speakeasy.net - DSLreports.com - etc?
Also, if you paid for an upgrade - you may have to reboot the modem/router that is connected to that line to make sure it authenticates at the new speed.
Also, if you ahve an older modem/router - you may have to chekc with yrou service provider to see if maybe it needs to be replaced with a neewer model in order to get the speed you are paying for.
yes, I've been trying various speed test sites and have been getting very variable results.
My router is perfectly acceptable for the service provided (in fact the modem part of it is the same as the one they provide for free if I was a new customer), so I don't need to alter that. I've upgraded the firmware in the router so I know that is fine. The router acknowledges the new 8Mbps speed when I look at the status web page it generates.
I have periodically been rebooting the router (about 2 or 3 times a day) to ensure that my ISP can amend their settings on reconnect if needed. In fact, they claim to drop the line themselves every so often during this initial period to assist in this. They do recommend the occasional reboot during this period.
Since posting my initial question I've been reading up about TCP tuning and I almost understand it. The essential calculations seem to be:
Throughput = buffer size / latency
and
buffer size = RTT * bandwidth
The values that really seem to matter are:
net.inet.tcp.recvspace
net.inet.tcp.sendspace (this is also known as RWIN)
kern.ipc.maxsockbuf (this should be the sum of the recvspace and sendspace values)
MTU size (this is typically 1500 or values just below. My ISP specified 1500 and I have set the MTU in both my router and Mac to this.)
Of course, there are other settings in the TCP stack that can be tweaked, but I wouldn't know where to start with these. It would appear that the default settings in Tiger are pretty good for my situation, but if the machine was on a faster connection or network, then they might need adjusting.
I'm going to mark this question as answered, but if you, or anyone else, has any words of wisdom I'd certainly be interested to hear them.