Difference between revisions of "Performance tuning the network controller (MTU)"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Template:Articles}}''<font color=red><small>
 +
This article
 +
Based on work by tklee, briand, frontalot, and nix.
 +
Originally by frontalot.
 +
at Linkstationwiki.org
 +
</small></font>''<br>
 
* Every time you send a 1500 size packet out on a MTU1492 network you end up with two packets: 1492 + 8. That's why the speed drops - The second packet is almost empty! If you type:
 
* Every time you send a 1500 size packet out on a MTU1492 network you end up with two packets: 1492 + 8. That's why the speed drops - The second packet is almost empty! If you type:
  
Line 16: Line 22:
 
<center>'''OR'''</center>
 
<center>'''OR'''</center>
  
* Add "mtu 1492" (a line by itself) to  
+
* Add "mtu 1492" (a line by itself) to /etc/network/interfaces
  /etc/network/interfaces
+
  echo "mtu 1492" >> /etc/network/interfaces
  
 
<references/>
 
<references/>
  
 
[[Category:General]]
 
[[Category:General]]
 +
 +
[[Category:Hardware]]

Latest revision as of 15:23, 28 August 2006

This article Based on work by tklee, briand, frontalot, and nix. Originally by frontalot. at Linkstationwiki.org

  • Every time you send a 1500 size packet out on a MTU1492 network you end up with two packets: 1492 + 8. That's why the speed drops - The second packet is almost empty! If you type:
ifconfig eth0
  • It will show:
MTU = 1500
  • The standard MTU[1] for DSL and cable is 1492 maximum, for DSL via PPPoE[2] it is often 1480 (you best ask your provider for the correct value). You can:
  • Add the following line to one of your startup files in the start section, e.g. in
/etc/init.d/networking
/sbin/ifconfig eth0 mtu 1492
OR
  • Add "mtu 1492" (a line by itself) to /etc/network/interfaces
echo "mtu 1492" >> /etc/network/interfaces
  1. :maximum transmission unit
  2. :Point-to-Point Protocol Over Ethernet