Re: [PATCH net] net_sched: gen_estimator: fix scaling error in bytes/packets samples

2017-09-13 Thread David Miller
From: Eric Dumazet Date: Wed, 13 Sep 2017 11:16:45 -0700 > From: Eric Dumazet > > 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, rep

[PATCH net] net_sched: gen_estimator: fix scaling error in bytes/packets samples

2017-09-13 Thread Eric Dumazet
From: Eric Dumazet 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 sa