[Question]The benefit of weight_p in __qdisc_run

3 messages, 2 authors, 2014-12-17 · open the first message on its own page

[Question]The benefit of weight_p in __qdisc_run

From: Dennis Chen <hidden>
Date: 2014-12-17 08:54:26

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?

Thanks!

-- 
Den

Re: [Question]The benefit of weight_p in __qdisc_run

From: Daniel Borkmann <hidden>
Date: 2014-12-17 09:20:48

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

Re: [Question]The benefit of weight_p in __qdisc_run

From: Dennis Chen <hidden>
Date: 2014-12-17 09:33:16

On Wed, Dec 17, 2014 at 5:20 PM, Daniel Borkmann [off-list ref] wrote:
On 12/17/2014 09:54 AM, Dennis Chen wrote:
quoted
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
Dan, I really do appreciate for your answer :)

-- 
Den
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help