lkml.org 
[lkml]   [2003]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] percpu load avererages / *real* load averages
> Probably needs some tidying up before it's mergeable, but I like it. 
> Is useful as is, so I thought other people might want to look at it and
> give me feedback. Based very loosely on a earlier patch by Andrew Theurer
> that gave nr_running per cpu, but I wanted to see load averages. This is
> extremely useful for looking at scheduler rebalancing problems.
>
> I think we should be basing the scheduler rebalance calculations off load
> averages, rather than a couple of sample points - I'll create a patch to
> do this sometime soon.

Oh, by tidying up, I mean this should probably be done in the per-cpu
areas, from the scheduler tick, lockless, and we shouldn't bother keeping
the global one - just derive it at read time. That'd make it might lighter
weight, but I just wanted a quick hack to see what was going on ;-)

M.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.081 / U:5.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site