[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170913.133409.1977805397875181373.davem@davemloft.net>
Date: Wed, 13 Sep 2017 13:34:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: nuclearcat@...learcat.com, netdev@...r.kernel.org,
jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us
Subject: Re: [PATCH net] net_sched: gen_estimator: fix scaling error in
bytes/packets samples
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 13 Sep 2017 11:16:45 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> Denys reported wrong rate estimations with HTB classes.
>
> It appears the bug was added in linux-4.10, since my tests
> where using intervals of one second only.
>
> HTB using 4 sec default rate estimators, reported rates
> were 4x higher.
>
> We need to properly scale the bytes/packets samples before
> integrating them in EWMA.
>
> Tested:
...
> Fixes: 1c0d32fde5bd ("net_sched: gen_estimator: complete rewrite of rate estimators")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Denys Fedoryshchenko <nuclearcat@...learcat.com>
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists