lkml.org 
[lkml]   [2007]   [Nov]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 16 Nov 2007 07:07:00 +0100
FromIngo Molnar <>
SubjectRe: High priority tasks break SMP balancer?
* Micah Dowty <micah@vmware.com> wrote:

> > I am a bit at a loss as to how this could relate to the patch. This 
> > looks like a load balance logic issue that causes the load 
> > calculation to go wrong?
> 
> My best guess is that this has something to do with the timing with 
> which we sample the CPU's instantaneous load when calculating the load 
> averages.. but I still understand only the basics of the scheduler and 
> SMP balancer. All I really know for sure at this point regarding your 
> patch is that git-bisect found it for me.

hm, your code uses timeouts for this, right? The CPU load average that 
is used for SMP load balancing is sampled from the scheduler tick - and 
has been sampled from the scheduler tick for eons. v2.6.23 defaulted to 
a different method but v2.6.24 samples it from the tick again. So my 
guess is, your testcode behave similarly on 2.6.22 too, correct?

	Ingo
-
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: 2007-11-16 07:09    [from the cache]
©2003-2008