[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161203.161234.605773166761239343.davem@davemloft.net>
Date: Sat, 03 Dec 2016 16:12:34 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net_sched: gen_estimator: account for timer
drifts
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 02 Dec 2016 08:11:00 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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 drifts.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
Powered by blists - more mailing lists