public inbox for lartc@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <adf.lists@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: Regarding Queue Management
Date: Mon, 20 Nov 2017 00:44:07 +0000	[thread overview]
Message-ID: <febff331-babf-7aff-4065-dd8e970c75ff@gmail.com> (raw)
In-Reply-To: <CAF9zosO8KB5xA5u1vq6SNuE9np_RvBN+uo1Uk6wT7ORcoQ8SUg@mail.gmail.com>

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


      reply	other threads:[~2017-11-20  0:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-19 22:12 Regarding Queue Management ANKUR SHETH
2017-11-20  0:44 ` Andy Furniss [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=febff331-babf-7aff-4065-dd8e970c75ff@gmail.com \
    --to=adf.lists@gmail.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox