[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080826124153.GA2732@gondor.apana.org.au>
Date: Tue, 26 Aug 2008 22:41:53 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: David Miller <davem@...emloft.net>, jarkao2@...il.com,
netdev@...r.kernel.org, denys@...p.net.lb,
Jussi Kivilinna <jussi.kivilinna@...et.fi>,
jamal <hadi@...erus.ca>
Subject: Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
(Adding Jamal to the cc)
On Tue, Aug 26, 2008 at 08:24:55AM -0400, Stephen Hemminger wrote:
>
> The problem with netem as child of TBF is that TBF counts the number
> of packets in the queue to determine the rate. Therefore TBF gets confused
> about the rate because of the large number of packets that are held in
> netem when delaying.
OK I'm probably missing something. I can't find any code in TBF
that looks at the number of packets held in the queue. All it
does is look at the dequeued packet and whether we have enough
tokens to send it right now.
In any case, looking at the number of packets in the queue sounds
broken for TBF as the packets could be held in upper-level queues
which are invisible.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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