From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Mon, 20 Nov 2017 00:44:07 +0000 Subject: Re: Regarding Queue Management Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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