IDNetters Forums

Technical News & Discussion => Broadband, Internet & General Computer News & Discussion => Topic started by: pctech on Feb 24, 2012, 20:00:42

Title: MTU on BT Wholesale ADSL
Post by: pctech on Feb 24, 2012, 20:00:42
My connection has been on a steady march upwards for the past few weeks so I decided to see if I could wring some more performance out of it by upping the MTU from 1430 to 1458 on the router.

Since doing that its been flapping a bit so my question is, what MTU value have people found works best?

Title: Re: MTU on BT Wholesale ADSL
Post by: Steve on Feb 24, 2012, 21:41:52
I've normally left the router wide open and set the MTU on the adaptor i.e. ping google.com -f -l 1472 gives an MTU setting of 1500.

Or for a Mac it's ping -c 2 -D -s 1464 example.com since I'm on PPPOE as well.
Title: Re: MTU on BT Wholesale ADSL
Post by: Lance on Feb 24, 2012, 22:04:49
Changing the MTU should change the physical performance of the line, only throughput performance.
Title: Re: MTU on BT Wholesale ADSL
Post by: Rik on Feb 25, 2012, 10:30:38
I'm with Lance and Steve, I use 1500 and changing it should not affect stability.
Title: Re: MTU on BT Wholesale ADSL
Post by: wecpcs on Feb 25, 2012, 10:51:02
Quote from: Rik on Feb 25, 2012, 10:30:38
I'm with Lance and Steve, I use 1500 and changing it should not affect stability.

I also use 1500 and have always done so with no problems whatsoever.

Colin
Title: Re: MTU on BT Wholesale ADSL
Post by: pctech on Feb 25, 2012, 13:52:34
Cheers will adjust it back up, need to do it on the router as also have my xbox connected now.

Title: Re: MTU on BT Wholesale ADSL
Post by: Steve on Feb 25, 2012, 14:18:20
Just find the size that packets fragment and add 28
Title: Re: MTU on BT Wholesale ADSL
Post by: pctech on Feb 25, 2012, 14:20:31
fair enough, moved it back to 1500, will see how it goes, if not will move back to 1430, just wanted to see if I could wring some more speed out.

Title: Re: MTU on BT Wholesale ADSL
Post by: psp83 on Feb 25, 2012, 14:27:46
Just found this :-

QuoteMSS - Maximum Segment Size:
The maximally allowed size of a segment. MSS is closely related to MTU.

MTU - Maximum Transmit Unit:
The maximally allowed size of a network packet in bytes. This is normally 1500, but must be set to 1492 or lower for DSL.
(The correct setting should be a maximum of 1492, but actually it needs to be 8 bytes less than any router you pass through on the way to the site.)

MRU - Maximum Receive Unit:
Must be set to 1492 or lower for DSL

Rwin - Receive Window:
Should be set to 32767 for DSL.

TTL - Time To Live:
Normally 32, should be set to 64 for DSL (Chip 12/03 p.248 and Chip 10/02 p.250)
Title: Re: MTU on BT Wholesale ADSL
Post by: psp83 on Feb 25, 2012, 14:29:26
My 7800n is set to 1492 by default, but in the logs I see it tries to set the MTU & MRU to 1500 automatically but fails.

Quote
  Feb 10 08:44:01  daemon  pppd[604]: Couldn't increase MTU to 1500.
  Feb 10 08:44:01  daemon  pppd[604]: Couldn't increase MRU to 1500

So I'm leaving it at 1492
Title: Re: MTU on BT Wholesale ADSL
Post by: pctech on Feb 25, 2012, 14:36:23
Cheers Paul.

Title: Re: MTU on BT Wholesale ADSL
Post by: Steve on Feb 25, 2012, 15:56:40
Quote from: psp83 on Feb 25, 2012, 14:29:26
My 7800n is set to 1492 by default, but in the logs I see it tries to set the MTU & MRU to 1500 automatically but fails.

So I'm leaving it at 1492

Paul your on FTTC so the max is 1492 for PPPOE , adsl you should get 1500 with IDNet
Title: Re: MTU on BT Wholesale ADSL
Post by: pctech on Feb 26, 2012, 19:40:43
still experiencing resyncs every so often so not sure what is going on.

I shall put it back to 1430 and see how I get on, I say resyncs but not sure whether they are, just basing that on the WAN uptime count resetting.



Title: Re: MTU on BT Wholesale ADSL
Post by: Lance on Feb 26, 2012, 22:53:14
MTU is to do with packet sizes and wouldn't cause a resync.
Title: Re: MTU on BT Wholesale ADSL
Post by: armadillo on Feb 26, 2012, 22:59:29
Quote from: pctech on Feb 26, 2012, 19:40:43
still experiencing resyncs every so often so not sure what is going on.

I shall put it back to 1430 and see how I get on, I say resyncs but not sure whether they are, just basing that on the WAN uptime count resetting.

You could keep Router Stats Lite running and its graph will show you resyncs if they occur.

On the MTU point, it could be worth running the TCP/IP Analyzer tool
http://www.speedguide.net/sg_tools.php
to see what your MTU actually is. It might not be what you set it to. The last time I tried setting mine to 1500, the tool told me it was not 1500.

FWIW, my MTU (on idnet) is now 1458 according to both my router maintenance WAN setup and the TCP/IP Analyzer tool. I consistently get the maximum possible throughput for my sync speed, just over 7mb/s so I see no point in messing with my MTU

[edit] I should also add that I found RWIN had a hugely greater effect than MTU on throughput. The tool I linked to will tell you your RWIN too. If your version of Windows lets you alter RWIN, that might be a more fruitful avenue to explore.
Title: Re: MTU on BT Wholesale ADSL
Post by: Lance on Feb 26, 2012, 23:02:22
Also worth remembering that your router will have one setting whilst later versions of windows dynamically adjust theirs.
Title: Re: MTU on BT Wholesale ADSL
Post by: nowster on Feb 27, 2012, 12:41:29
Many operating systems now automatically work out the optimal MTU for a path to a server (Path MTU Discovery).

The "win" for ADSL is to use an MTU/MRU which allows you to fit the maximum size IP packet exactly into a whole number of ATM frames with no remainder. However, the gain in throughput is slight. I forget the exact figures.
Title: Re: MTU on BT Wholesale ADSL
Post by: pctech on Feb 27, 2012, 18:53:12
Am running XP so it can be adjusted manually but Vista and 7 automatically manage it.

I'll look at the tools but all seems to be well after setting it back to 1430