RatzaTM
06-11-2008, 12:44
! IMPORTANT NOTICE ! - I do not encourage you to do the below , you can try and improve the connection at your own pleasure and will. You can at any time revert to the default value by reinstalling WindowsXP or setting the default value associated to your connection :
Network MTU (bytes)
-----------------------------------
16 Mbps Token Ring 17914
4 Mbps Token Ring 4464
FDDI 4352
Ethernet 1500
IEEE 802.3/802.2 1492
PPPoE (WAN Miniport) 1480
X.25 576
This tweak only works as described for WindowsXP.
WHY would you do these steps ? Some users that could not access the ITEM SHOP and received the "ERROR" message, were able to access it after setting the correct MTU size (because the network packets did not fragment).
Hello dear readers,
As i have noticed in the last few days, more and more people are complaining about lagging , disconnections , etc. Most of these issues appear due to connectivity performance which by default is not optimized for WindowsXP.
Terms used :
MTU = Maximum Transmission Unit
PPPoE = Point to Point Protocol over Ethernet - a client<=>server connection over the already existent ethernet connection
NIC = Network Interface Card (the network adapter , network card in your PC)
We will talk here about how you can maximize the output of your network card.
THE MAXIMUM TRANSMISSION UNIT
In networking, the term : Maximum Transmission Unit (MTU) refers to the size (in bytes) of the largest packet that a given layer of a communications protocolNIC, serial port, etc.). The MTU may be fixed by standards (as is the case with Ethernet) or decided at connect time (as is usually the case with point-to-point serial links). A higher MTU brings higher bandwidth efficiency. However, large packets can block up a slow interface for some time, increasing the lag for further packets.
MTU problems may result in degraded network service, but may not affect some users' abilities to access the required applications, so sometimes MTU problems go unreported. Other times, MTU problems cause severe lags in network logon times, cause email attachments and other functions within Outlook to fail, and cause applications to stop functioning entirely. Note that, by default, the MTU on Windows operating systems is 1500 (Ethernet) and that a change to 1492 may resolve some, but not all, problems.
The MTU must be set to the same setting on all your PC NICs (network adapters) and router. When using can pass onwards. MTU parameters usually appear in association with a communications interface (VPN, there is additional overhead and you may need to reduce the MTU to 1400 if you experience difficulties accessing email, web, or DSL connectivity problems.
HOW TO DETERMINE THE MAXIMUM MTU THAT YOU CAN USE
A series of ping tests using the command,
ping www.dslreport.net -f -l xxxx, where xxxx is the packet size, can be used to determine the optimal MTU for your connection. (the l is a small L , and not a vertical bar)
To do so , go to Start , Run , type CMD , at the prompt that appears type :
ping www.dslreport.net -f -l 1500http://img407.imageshack.us/img407/512/snap2fi6.jpg
As you can see , the package is too large to be sent in one piece so it has to be fragmented.
Lower the size the packet in increments of +/-10 (e.g. 1500 > 1490 > 1480 > ...) until you have a packet size that does not fragment.
In the below example , i lowered it to 1490 , and it still fragmented. I lowered it to 1480 and it still fragmented, so i lowered it to 1470 and i got a reply on my pinig.
http://img186.imageshack.us/img186/754/snap4ok7.jpg
Now , after finding the value at which you get a reply , it's time to start increasing it in increments of 1 .. (e.g. 1470 > 1471 > 1472 > 1473 ..... > 1479 - because we know 1480 will fragment the packet for sure).
Your goal is to find the maximum value between 1470 and 1480 at which the package does not fragment (in my case).
In your case , instead of 1470 and 1480 you can have other values ..
1470 replies
1471 replies
1472 replies
1473 needs fragmentation ..
And we stop .. The value we were looking for was 1472 . That's the highest value that allows no fragmentation.
HOW TO EDIT THE VALUE WHICH YOU HAVE FOUND BY USING THE PING COMMAND
The Windows built-in PPPoE client has a default MTU of 1480.
! NEVER ! set a MTU size smaller than 1,400.
To change this value to the one you found , do this :
Click Start, click Run, type regedit, and then click OK.
Locate and then click the following key in the registry:HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ Ndiswan \ Parameters
On the Edit menu, point to New, and then click Key
Type Protocols, and then press ENTER
On the Edit menu, point to New, and then click Key.
Type 0, and then press ENTER.
On the Edit menu, point to New, and then click DWORD Value.
Type ProtocolType, and then press ENTER.
On the Edit menu, click Modify.
Type 800, and then click OK.
On the Edit menu, point to New, and then click DWORD Value.
Type PPPProtocolType, and then press ENTER.
On the Edit menu, click Modify.
Type 21, and then click OK.
On the Edit menu, point to New, and then click DWORD Value.
Type ProtocolMTU, and then press ENTER.
On the Edit menu, click Modify.
Type the appropriate MTU size (decimal value), and then click OK.
Quit Registry Editor and reboot.!! NOTE !!
When you find a value (for example 1472 as i found) remember to add 28 bytes before entering the value in the registry.
The 28 bytes represent the header for ICMP pinging which are substracted. This means that if i found 1472 , the value that i will enter in the registry is 1472+28 = 1500 (the default for ethernet).
If the value i find via pinging is 1464 , then the value i will enter in the registry is 1464 + 28 = 1492 (default for IEEE 802.3/802.2 connections)
Network MTU (bytes)
-----------------------------------
16 Mbps Token Ring 17914
4 Mbps Token Ring 4464
FDDI 4352
Ethernet 1500
IEEE 802.3/802.2 1492
PPPoE (WAN Miniport) 1480
X.25 576
This tweak only works as described for WindowsXP.
WHY would you do these steps ? Some users that could not access the ITEM SHOP and received the "ERROR" message, were able to access it after setting the correct MTU size (because the network packets did not fragment).
Hello dear readers,
As i have noticed in the last few days, more and more people are complaining about lagging , disconnections , etc. Most of these issues appear due to connectivity performance which by default is not optimized for WindowsXP.
Terms used :
MTU = Maximum Transmission Unit
PPPoE = Point to Point Protocol over Ethernet - a client<=>server connection over the already existent ethernet connection
NIC = Network Interface Card (the network adapter , network card in your PC)
We will talk here about how you can maximize the output of your network card.
THE MAXIMUM TRANSMISSION UNIT
In networking, the term : Maximum Transmission Unit (MTU) refers to the size (in bytes) of the largest packet that a given layer of a communications protocolNIC, serial port, etc.). The MTU may be fixed by standards (as is the case with Ethernet) or decided at connect time (as is usually the case with point-to-point serial links). A higher MTU brings higher bandwidth efficiency. However, large packets can block up a slow interface for some time, increasing the lag for further packets.
MTU problems may result in degraded network service, but may not affect some users' abilities to access the required applications, so sometimes MTU problems go unreported. Other times, MTU problems cause severe lags in network logon times, cause email attachments and other functions within Outlook to fail, and cause applications to stop functioning entirely. Note that, by default, the MTU on Windows operating systems is 1500 (Ethernet) and that a change to 1492 may resolve some, but not all, problems.
The MTU must be set to the same setting on all your PC NICs (network adapters) and router. When using can pass onwards. MTU parameters usually appear in association with a communications interface (VPN, there is additional overhead and you may need to reduce the MTU to 1400 if you experience difficulties accessing email, web, or DSL connectivity problems.
HOW TO DETERMINE THE MAXIMUM MTU THAT YOU CAN USE
A series of ping tests using the command,
ping www.dslreport.net -f -l xxxx, where xxxx is the packet size, can be used to determine the optimal MTU for your connection. (the l is a small L , and not a vertical bar)
To do so , go to Start , Run , type CMD , at the prompt that appears type :
ping www.dslreport.net -f -l 1500http://img407.imageshack.us/img407/512/snap2fi6.jpg
As you can see , the package is too large to be sent in one piece so it has to be fragmented.
Lower the size the packet in increments of +/-10 (e.g. 1500 > 1490 > 1480 > ...) until you have a packet size that does not fragment.
In the below example , i lowered it to 1490 , and it still fragmented. I lowered it to 1480 and it still fragmented, so i lowered it to 1470 and i got a reply on my pinig.
http://img186.imageshack.us/img186/754/snap4ok7.jpg
Now , after finding the value at which you get a reply , it's time to start increasing it in increments of 1 .. (e.g. 1470 > 1471 > 1472 > 1473 ..... > 1479 - because we know 1480 will fragment the packet for sure).
Your goal is to find the maximum value between 1470 and 1480 at which the package does not fragment (in my case).
In your case , instead of 1470 and 1480 you can have other values ..
1470 replies
1471 replies
1472 replies
1473 needs fragmentation ..
And we stop .. The value we were looking for was 1472 . That's the highest value that allows no fragmentation.
HOW TO EDIT THE VALUE WHICH YOU HAVE FOUND BY USING THE PING COMMAND
The Windows built-in PPPoE client has a default MTU of 1480.
! NEVER ! set a MTU size smaller than 1,400.
To change this value to the one you found , do this :
Click Start, click Run, type regedit, and then click OK.
Locate and then click the following key in the registry:HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ Ndiswan \ Parameters
On the Edit menu, point to New, and then click Key
Type Protocols, and then press ENTER
On the Edit menu, point to New, and then click Key.
Type 0, and then press ENTER.
On the Edit menu, point to New, and then click DWORD Value.
Type ProtocolType, and then press ENTER.
On the Edit menu, click Modify.
Type 800, and then click OK.
On the Edit menu, point to New, and then click DWORD Value.
Type PPPProtocolType, and then press ENTER.
On the Edit menu, click Modify.
Type 21, and then click OK.
On the Edit menu, point to New, and then click DWORD Value.
Type ProtocolMTU, and then press ENTER.
On the Edit menu, click Modify.
Type the appropriate MTU size (decimal value), and then click OK.
Quit Registry Editor and reboot.!! NOTE !!
When you find a value (for example 1472 as i found) remember to add 28 bytes before entering the value in the registry.
The 28 bytes represent the header for ICMP pinging which are substracted. This means that if i found 1472 , the value that i will enter in the registry is 1472+28 = 1500 (the default for ethernet).
If the value i find via pinging is 1464 , then the value i will enter in the registry is 1464 + 28 = 1492 (default for IEEE 802.3/802.2 connections)