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-07-04 at 17:41 +0200, Peter Zijlstra wrote:
> On Wed, 2012-06-27 at 19:24 -0700, Paul Turner wrote:
> > +#define LOAD_AVG_MAX 46742 /* maximum possible load avg */
>
> With 1024 * 1/(1-y), with y^32 = 0.5 I get 47788.. sup?

Ah, if we do the series starting at 1 we get: 1024*y/(1-y) which yields:
46764. So you're not adding the first term u_0?



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