lkml.org 
[lkml]   [2012]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 14/16] sched: make __update_entity_runnable_avg() fast
From
Date
On Wed, 2012-06-27 at 19:24 -0700, Paul Turner wrote:
> +#define LOAD_AVG_MAX_N 516 /* number of full periods it takes to produce max */

y=sqrt(sqrt(sqrt(sqrt(sqrt(0.5)))))
l(1/1024)/l(y)
319.99999999999999998938
1024*y^320
.99999999999999998976

So after only 320 periods the contribution of the term is too small to
matter.



\
 
 \ /
  Last update: 2012-07-04 19:21    [W:0.227 / U:7.472 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site