Re: Regarding Queue Management

Andy Furniss <[email protected]>
Newsgroups org.kernel.vger.lartc
Message-ID <[email protected]>
ANKUR SHETH wrote:
> Hello all,
> 
> Can you anybody let me know how can I manage the buffer size using
> Linux tc utility, as I tried to understand Linux tc but was not able
> to figure out the way for managing the buffer size for each queue
> configured for each port of the switch.
> 
> I read somewhere that txqueuelen can be used for reducing the size of
> the queue for each port which is 1000 by default, but could not verify
> it.
> 
> I am able to shape the traffic as per the bandwidth requirements by
> using minimum and maximum rates using tc linux and htb, but I am not
> able to figure out the way for buffer size.

You can add bfifo or pfifo to your htb class(es) and set the size in 
bytes/packets.

man tc-bfifo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.