Performance tuning the network controller (MTU)
From NAS-Central Buffalo - The Linkstation Wiki
Based on work by tklee, briand, frontalot, and nix.
Originally by frontalot.
- 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:
- It will show:
MTU = 1500
- The standard MTU for DSL and cable is 1492 maximum, for DSL via PPPoE 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
/sbin/ifconfig eth0 mtu 1492
- Add "mtu 1492" (a line by itself) to /etc/network/interfaces
echo "mtu 1492" >> /etc/network/interfaces
- :maximum transmission unit
- :Point-to-Point Protocol Over Ethernet