All of lore.kernel.org
 help / color / mirror / Atom feed
* Regarding Queue Management
@ 2017-11-19 22:12 ANKUR SHETH
  2017-11-20  0:44 ` Andy Furniss
  0 siblings, 1 reply; 2+ messages in thread
From: ANKUR SHETH @ 2017-11-19 22:12 UTC (permalink / raw)
  To: lartc

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.

I appreciate your time and cooperation for my research.

Regards,
Ankur

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Regarding Queue Management
  2017-11-19 22:12 Regarding Queue Management ANKUR SHETH
@ 2017-11-20  0:44 ` Andy Furniss
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Furniss @ 2017-11-20  0:44 UTC (permalink / raw)
  To: lartc

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-20  0:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-19 22:12 Regarding Queue Management ANKUR SHETH
2017-11-20  0:44 ` Andy Furniss

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.