Interface queue lengths
parameter of an interface in the Linux kernel. It limits the number of packets in the transmission queue in the interface's device driver. In 2.6 series and e.g., RHEL3 (2.4.21) kernel, the default is 1000. In earlier kernels, the default is 100. '100' is often too low to support line-rate transfers over Gigabit Ethernet interfaces, and in some cases, even '1000' is too low.
For Gigabit Ethernet interfaces, it is suggested to use at least a
of 1000. (values of up to 8000 have been used successfully to further improve performance), e.g.,
ifconfig eth0 txqueuelen 1000
If a host is low performance or has slow links, having too big
may disturb interactive performance.
defines the queue sizes for received packets. In recent kernels (like 2.6.18), the default is 1000; in older ones, it is 300. If the interface receives packets (e.g., in a burst) faster than the kernel can process them, this could overflow. A value in the order of thousands should be reasonable for GE, tens of thousands for 10GE.
- 06 Jan 2005
- 17 Nov 2006