Change Txqueuelen Under Linux

last updated in Categories ,

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, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 0 comments/add one below):