Subject: Re: [PATCH] HTB updates class's bstats in one place

From: Jarek Poplawski <[email-masked]>
Date: Wed, 29 Oct 2008 10:23:56 +0000

On 29-10-2008 10:19, Patrick McHardy wrote:
> Changli Gao wrote:
>> On Wed, Oct 29, 2008 at 5:01 PM, Patrick McHardy <[email-masked]> wrote:
>>> The estimators needs
>>> this since they're estimating the arrival rate.
>>>
>>>
>> I do not agree with you. TC is only for sending packets. Why does its
>> estimator estimating the arrival rate?
> 
> I suppose because they were intended for policing.

On the other hand, it seems with shaping qdiscs they are more useful
to query dequeue rates. BTW, after this patch there is still
"a statistics bug": the statistics data of a qdisc can differ from
its classes.

Jarek P.