[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <412e6f7f0810300211v53872b1bid2f9c8a1d89cde82@mail.gmail.com>
Date: Thu, 30 Oct 2008 17:11:48 +0800
From: "Changli Gao" <xiaosuo@...il.com>
To: "Patrick McHardy" <kaber@...sh.net>
Cc: "Jarek Poplawski" <jarkao2@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH] HTB updates class's bstats in one place
On Thu, Oct 30, 2008 at 3:11 PM, Patrick McHardy <kaber@...sh.net> wrote:
>
> Independant of this statistics bug, according to your description
> you want to measure departure rates (otherwise the measured rates
> can't really be compared to the limit) and the current counters are
> not really suitable for this since they count arriving packets.
> So the only way to properly do this is to add seperate counters that
> account for departing packets. I think this would be a good addition
> since we've always been advocating to do this stuff in userspace,
> but it would need some thought on how to minimize the impact for
> people not needing it.
>
>
In fact, only the counters of the leaf classes represent arriving
rates, but the others represent departing rates. Is it right? Or does
it need to be fixed?
--
Regards,
Changli Gao(xiaosuo@...il.com)
--
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