Re: [PATCH net-next] net_sched: gen_estimator: account for timer drifts

2016-12-03 Thread Eric Dumazet
On Sat, 2016-12-03 at 16:12 -0500, David Miller wrote: > Applied. Thanks David. I also have to get rid of the WRITE_ONCE() done in est_timer(), since it does not work properly on 32bit kernels. It will target net-next, since it is not a very serious problem.

Re: [PATCH net-next] net_sched: gen_estimator: account for timer drifts

2016-12-03 Thread David Miller
From: Eric Dumazet Date: Fri, 02 Dec 2016 08:11:00 -0800 > From: Eric Dumazet > > Under heavy stress, timer used in estimators tend to slowly be delayed > by a few jiffies, leading to inaccuracies. > > Lets remember what was the last scheduled jiffies so that we get more > precise estimations,

[PATCH net-next] net_sched: gen_estimator: account for timer drifts

2016-12-02 Thread Eric Dumazet
From: Eric Dumazet Under heavy stress, timer used in estimators tend to slowly be delayed by a few jiffies, leading to inaccuracies. Lets remember what was the last scheduled jiffies so that we get more precise estimations, without having to add a multiply/divide in the loop to account for the d