APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds RSS Feeds











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version
->
-> mtu


mtu



Maximum Transmission Unit. Every time you send mail, or transfer a file on your local network, or indeed do anything at all that involves communicating with another machine, data is broken up into packets of a specific size. Every packet has overhead: where it's coming from, where it's going to, and more. Therefore, small packet sizes can be inefficient: you are sending lots of redundant data. On the other hand, larger packet sizes can be bad for tow reasons: one, if a certain percentage of packets have to be retransmitted because of errors , that could be more wasteful than sending smaller packets. Secondly, if a network you pass through uses a smaller MTU than the packets you are sending, it will have to break the packets up into "fragments", which is costly both in time to break them apart and then in time to reassemble at the destination.

Severe MTU problems can cause more than inefficiency: you can lose so much that your session won't work at all. We often see that when setting up VPN's between machines: if the ISP uses a low MTU, the VPN may not work or may work very poorly.

The reason for this bad behavior is that a process using a VPN sees its network as "local", so it will tend to attempt higher MTU than it would for the Internet. Generally speaking, internet bound communication will use a lower MTU because of the assumption that there are routers that will make this necessary.

How do you know what MTU to use? Well, unfortunately it's mostly trial and error. There is a protocol for automatically discovering a proper MTU, but nowadays it may not work well: http://www.sendmail.org/tips/pathmtu.html.

MTU problems can affect things right on your LAN, too although that is rare.. You can certainly find more about this with a Google search for "setting MTU". Here's some folks saying we need larger Internet MTU's: http://www.psc.edu/~mathis/MTU/




If this page was useful to you, please help others find it:  





Comments?




More Articles by - Find me on Google+



Click here to add your comments
- no registration needed!


Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar

Kerio Samepage


Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

I am a Kerio reseller. Articles here related to Kerio products reflect my honest opinion, but I do have an obvious interest in selling those products also.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

pavatar.jpg

This post tagged:

       - Networking
       - TCP/IP
       - Unix Words















My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide



Buy Kerio from a dealer
who knows tech:
I sell and support

Kerio Connect Mail server, Control, Workspace and Operator licenses and subscription renewals



Click and enter your name and phone number to call me about Kerio® products right now (Flash required)