All of lore.kernel.org
 help / color / mirror / Atom feed
* [Question]The benefit of weight_p in __qdisc_run
@ 2014-12-17  8:54 Dennis Chen
  2014-12-17  9:20 ` Daniel Borkmann
  0 siblings, 1 reply; 3+ messages in thread
From: Dennis Chen @ 2014-12-17  8:54 UTC (permalink / raw)
  To: netdev

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

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

* Re: [Question]The benefit of weight_p in __qdisc_run
  2014-12-17  8:54 [Question]The benefit of weight_p in __qdisc_run Dennis Chen
@ 2014-12-17  9:20 ` Daniel Borkmann
  2014-12-17  9:32   ` Dennis Chen
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Borkmann @ 2014-12-17  9:20 UTC (permalink / raw)
  To: Dennis Chen; +Cc: netdev

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

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

* Re: [Question]The benefit of weight_p in __qdisc_run
  2014-12-17  9:20 ` Daniel Borkmann
@ 2014-12-17  9:32   ` Dennis Chen
  0 siblings, 0 replies; 3+ messages in thread
From: Dennis Chen @ 2014-12-17  9:32 UTC (permalink / raw)
  To: Daniel Borkmann; +Cc: netdev

On Wed, Dec 17, 2014 at 5:20 PM, Daniel Borkmann <dborkman@redhat.com> wrote:
> 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

Dan, I really do appreciate for your answer :)

-- 
Den

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

end of thread, other threads:[~2014-12-17  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-17  8:54 [Question]The benefit of weight_p in __qdisc_run Dennis Chen
2014-12-17  9:20 ` Daniel Borkmann
2014-12-17  9:32   ` Dennis Chen

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.