Change Txqueuelen Under Linux

Posted on in Categories , last updated March 25, 2010

How do I change txqueuelen (transmit queue) under Linux for eth0 card to improve performance?

You need to type the following command to set txqueuelen under Linux (the following will set it to 10000):
ifconfig eth0 txqueuelen 10000
OR
# ip link set eth0 txqueuelen 10000
A value between 1000 and 20000 per interface is recommended. The txqueuelen parameter to ifconfig set the length of the transmit queue of the device.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Leave a Comment