All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <adf.lists@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: Problem with HTB bandwidth slicing when using TCP traffic
Date: Sun, 13 Apr 2014 19:43:49 +0000	[thread overview]
Message-ID: <534AE8F5.1060006@gmail.com> (raw)
In-Reply-To: <CANKY2SQknuLgRZX6AmAU2KUN+5n_ZCCZeH6O13zGh1hHBXeSJA@mail.gmail.com>

Slavica Tomovic wrote:
> Thank you Andy!
>
> I had changed limit values and that solved the problem.
>
> However, I did it  by typing command like this for each created
> queue:
>
> tc qdisc add dev eth0 parent 1:10 handle 20: pfifo limit 10
>
> Is there some command with which I can change default limit size so
> that I don't have to this every time I create class?

I guess you could change the txqlen on eth0 before setting up the htb,
but I would just make a script and use qdiscs.

limit 10 may be a bit short, also you could consider other qdiscs to
pfifo eg. if you wanted some fairness between flows you could use sfq or
fq_codel.

sfq defaults would be fine fq_codel may need some parameters tweaking
for lower bit rates, though I haven't properly tested it yet, just
guessing from what man tc-fq_codel says.


  parent reply	other threads:[~2014-04-13 19:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-10 19:17 Problem with HTB bandwidth slicing when using TCP traffic Slavica Tomovic
2014-04-10 22:48 ` Andy Furniss
2014-04-12 10:20 ` Slavica Tomovic
2014-04-13 19:43 ` Andy Furniss [this message]
2014-04-13 20:17 ` Dave Taht
2014-04-14  1:30 ` Horace
2014-04-14 22:40 ` Andy Furniss
2014-04-14 22:50 ` Dave Taht

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=534AE8F5.1060006@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 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.