From: Daniel Borkmann <dborkman@redhat.com>
To: Dennis Chen <kernel.org.gnu@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [Question]The benefit of weight_p in __qdisc_run
Date: Wed, 17 Dec 2014 10:20:44 +0100 [thread overview]
Message-ID: <54914AEC.7070600@redhat.com> (raw)
In-Reply-To: <CA+U0gVhk+4-T=XuCumnpRnRyQ=OqVfegGxF3ZZQy07++PDOW3g@mail.gmail.com>
On 12/17/2014 09:54 AM, Dennis Chen wrote:
> weight_p is used as the burst xmit packet quota in the while loop of
> the __qdisc_run function,
> does anybody can elaborate the benefit of the weight_p introduced
> here? what's the consequence without it?
It acts as a quota to introduce fairness among qdiscs. See also slide 7
onwards for experiments with/without it:
http://vger.kernel.org/netconf2011_slides/jamal_netconf2011.pdf
next prev parent reply other threads:[~2014-12-17 9:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-17 8:54 [Question]The benefit of weight_p in __qdisc_run Dennis Chen
2014-12-17 9:20 ` Daniel Borkmann [this message]
2014-12-17 9:32 ` Dennis Chen
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=54914AEC.7070600@redhat.com \
--to=dborkman@redhat.com \
--cc=kernel.org.gnu@gmail.com \
--cc=netdev@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