Skip to contentSkip to conversation

txqueuelen in ifconfig and tc

LARTC Jonas Lindqvist 2 participants 2 messages Sep 22, 2002

lore
Share & tools
lore
#0 lore raw

Hi there,

when reading "man ifconfig" it says the following:
" txqueuelen length
Set the length of the transmit queue of the device. It is useful to set this to small values for slower devices with a high latency (modem links, ISDN) to prevent fast bulk transfers from dis­turbing interactive traffic like telnet too much."

This seems to normally be 100 (packets i guess?)

Is this queue affected by tc or is it after all shaping?

I wonder this because im doing the Wondershaper ACK-priority thing, but people with a small windowsize is still affected very much by not recieving their ACK fast enough on my system.

Any ideas anyone?

Regards
Jonas

#1 lore raw
Quoted 1 line · Jonas Lindqvist

Is this queue affected by tc or is it after all shaping?

tx_queue_len provides default values for the queue size in all FIFO qdiscs, and an in unconfigured GRED (which acts just as a pfifo)),

In HTB, it sets the limit of the queue of class qdisc:0, so it affects traffic that doesn't get shaped.

In any case, any additional queuing after traffic control is at the discretion of the network interface driver, and not affected by tx_queue_len.

- Werner

Signature · 6 lines
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina         [email protected] /
/_http://www.almesberger.net/____________________________________________/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/