[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1361123663.19353.94.camel@edumazet-glaptop>
Date: Sun, 17 Feb 2013 09:54:23 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
jhs@...atatu.com, kuznet@....inr.ac.ru, j.vimal@...il.com
Subject: Re: [patch net-next v5 10/11] tbf: take into account gso skbs
On Sun, 2013-02-17 at 17:18 +0100, Jiri Pirko wrote:
> I'm going through this issue back and front and on the second thought,
> I think this patch might not be so wrong after all.
>
> "Accumulating" time in ptoks would effectively cause the skb to be sent
> only in case time for whole skb is available (accumulated).
>
> The re-segmenting will only cause the skb fragments sent in each time frame.
>
> I can't see how the bigger bursts you are reffering to can happen.
>
> Or am I missing something?
Token Bucket Filter doesnt allow to accumulate tokens above a given
threshold. Thats the whole point of the algo.
After a one hour idle time, you don't want to allow your device sending
a burst exceeding the constraint.
This is all about avoiding packet drops in a device with a very small
queue.
Your patch was pretty close to solve the problem.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists