What's your optimum MTU, under broadband and Win2K?
#1
Posted 19 May 2005 - 07:19 PM
I decided to run the Tweak test at www.dslreports.com (Tests + Tools) but, frankly, the test didn't go all that well and trying new values for the TCP Window, TTL and MTU, in DrTCP, was extremely frustrating, as you have to re-boot each time.
The best values for those three (in their order) that I ended up with were:
32767
254
1492
However, I'm far from convinced that these numbers are optimised, especially the TTL value.
Has anyone else on this forum who uses Win2K experimented with DrTCP and, if so, what values for TCP Window, TTL, MTU, etc did you end up using?
#2
Posted 19 May 2005 - 08:34 PM
http://www.winguides.com/registry/display.php/280/
Optimize Broadband Cable Modem and DSL Connections (Windows 2000/XP)
http://www.winguides.com/registry/display.php/645/
#3
Posted 19 May 2005 - 10:44 PM
Having said that, since I am on a cable modem and not ADSL, the slowdown in resolution (in downloading a page) is, more often than not, a function of the strength of your signal and the "noise" in the line than anything else. Making the Rwin value larger, it seems to me, allows larger packets to be sent without the error checking such that it seems faster since the "noise" doesn't cause the computer to ask for a repeat as often. The problem is that when it does have to repeat a sent packet because of excessive noise, it takes longer.
You might also want to try (and I'll bet you already have) ipconfig:
IPCONFIG /all Display full configuration information.
IPCONFIG /release [adapter]
Release the IP address for the specified adapter.
IPCONFIG /renew [adapter]
Renew the IP address for the specified adapter.
IPCONFIG /flushdns Purge the DNS Resolver cache. ##
IPCONFIG /registerdns Refresh all DHCP leases and re-register DNS names. ##
IPCONFIG /displaydns Display the contents of the DNS Resolver Cache. ##
In the end, it may be the telephone line and crossover noise that has become a problem for your signal.
#4
Posted 19 May 2005 - 11:21 PM
Actually, the [Adapter ID] in the Registry is not easy to identify, to change or add the MTU value, because if you've got several different modem connections still installed (as I have), eg dial-up modem connections, they're also just alphanumeric Registry folders and you can't tell which is which.
Regarding the actual MTU value, whilst that Winguides article recommends 1500 for ADSL using PPoA, there seem to be lots of users who maintain that a lower figure is required, anything from about 1454 to 1492.
Sampson, that's an interesting theory about line noise and how it might be causing retransmissions.
#5
Posted 20 May 2005 - 04:12 PM
Use ping with the following switches;
ping -f -l [packet size] [Public IP Address]
Try starting with a lower packet size, say 1000 and work your way up in small increments. If the transmission of the packet is unsuccessful, ping will return 'Packet needs to be fragmented but DF set'. Continue increasing the size until you get a return ping. Also try and ping one of your ISP's public IP addresses (their main website address perhaps).
In my case (I'm also 2mbit over PPPoA) the largest packet size was 1430, so adding 28 give me an MTU size of 1458.
Hope this helps.
#6
Posted 20 May 2005 - 08:49 PM
I've seen that Ping command quoted elsewhere and, previously, I've tried it but I kept getting 'bad command'. I used an uppercase 'F'; maybe that was the problem. And is that an uppercase 'I' (eye), or a lowercase 'l' (el)?
What's 'Public IP Address'? Do you mean 'the LAN IP address of the router'?
You say you arrived at a figure of 1458 for your MTU. But is that with Win2K, or with WinXP? It'd help get me into the right ballpark.
How do you know which are the smallest and largest packet sizes?
#7
Posted 20 May 2005 - 09:26 PM
http://www.microsoft.com/windows2000/en/server/help/ping.htm
you should be able to use the -f for ping.
lowercase f and lowercase l not the number one.
You can do a ping -? to get a list of the switches that are available.....
#8
Posted 21 May 2005 - 11:53 AM
I've now successfully done the pings. Using first my router's LAN IP address, I got a figure of 1472. It was also the figure for successfully pinging my ISP's DNS address (had to temporarily enable that in the NAT firewall).
Adding the magic number 28 to that gives me - surprise, surprise - 1500, which is the default value for Win2K/XP.
My overall basic settings are now:
RWIN = 32767
TTL = 128
MTU = 1500
[Hmm, I'm still getting delays of 2 - 7 secs when I click on a website address, before the browser resolves and then captures it. That remains a mystery].
#9
Posted 21 May 2005 - 12:29 PM
TCP MSS value?
Cell Rate (normal, peak, and sustained)?
Maximum Burst Rate?
Is TCP MSS the same as MTU?
Is Max Burst Rate the same as TCP Window (RWIN)?
[I'm just wondering whether the slow resolution of websites I'm getting is due to settings in my router (such as above) being perhaps in conflict with settings in Windows. At present, all values in my router for the above are left blank, which I presume will render default values].
#10
Posted 21 May 2005 - 04:05 PM
I am sure that you went through these steps, but normally, you would first power down the computer, then turn off router and modem. Then, connect the modem directly to the computer. Turn on the modem and let it sync with your provider. Turn on your computer. This will allow it to connect with your ISP. If you have a software firewall running you may have to adjust its settings. Do your ping tests. When satisfied, power down the computer - then the modem. Reconnect your modem to the router. Power up the modem. After it is synched power up the router. Finally, power up the computer. If you are running a software firewall, it might also popup and you will have to accept the new default settings.
Check out your hosts file. Some folks use this to eliminate software ads. Unfortunately, certain spyware programs also use it for redirection. Generally, it has only one entry.
The reason I asked you to run ipconfig is to flush the entries from the DNS cache. Your ISP provides the "translation" for this cache such that when you type google.com into your url it has a database that translates this to the numeric address. That database is put into a cache for your machine to speed up the translation.
If you are running a software firewall behind your router, check your rules to see if there is a conflict.
Cookies - how do you have them defaulted? Some sites want you to have their cookie on your machine and they put in a delay penalty if you choose not to accept it or if you have concretely denied it.
Finally, ADSL is dependent upon how far your connection is from the local "base". The further you are from it physically, the greater the delay because of signal strength.
#11
Posted 21 May 2005 - 05:33 PM
#12
Posted 21 May 2005 - 08:39 PM
As for the delay being caused simply through distance, I think you need to look at your physics again, as a delay of 2 - 7 secs would mean I'd be 1000s of miles away! It's clearly nothing to do with 'distance from exchange' per se.
No, the delay is either due to noise on the line and subsequent retransmissions, a conflict of the settings in my router with those in Windows, or it must be due to some sort of resolution problem. Other owners of the same router have the same problem, but not all, by any means.
#13
Posted 22 May 2005 - 06:28 AM
#14
Posted 22 May 2005 - 12:07 PM
Actually, even though I'm somewhere between 4 and 6km from the exchange, my raw maximum download rate is 1.89M bits/sec, which is pretty good for a nominal 2M bit connection. And, as far as I'm aware, that's on pure ADSL, not RDSL.
Actually, the attenuation problem (and here I speak as a retired professional electronics engineer) is normally two-fold: pure volt-drops due to length of line and numbers of joints in the line, and frequency-dependent attenuation (analogue bandwidth of the line, down to capacitance and inductance /ft of the line). Thus, the further you move away from the exchange, the greater the overall attenuation. Interestingly, for analogue voice calls, the equipment at the exchange would apply AGC (automatic gain control), which would ensure that your phone would always operate reasonably well, even though you were situated an appreciable distance away. But there's a limit to the amount of AGC that can be applied. I've no idea if AGC is employed in DSL and cable broadband; I somehow doubt it.
[If my memory serves me correctly, electrical signals propagate in copper wires at about 0.7nanoseconds /ft. Roughly estimating, that means that there'd be a delay of about 10 microseconds between the exchange and my router-modem].
#15
Posted 22 May 2005 - 01:15 PM
#16
Posted 22 May 2005 - 04:13 PM

Help










