lkml.org 
[lkml]   [2005]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] don't kick ALB in the presence of pinned task

* Nick Piggin <nickpiggin@yahoo.com.au> wrote:

> Siddha, Suresh B wrote:
> >Jack Steiner brought this issue at my OLS talk.
> >
> >Take a scenario where two tasks are pinned to two HT threads in a physical
> >package. Idle packages in the system will keep kicking migration_thread
> >on the busy package with out any success.
> >
> >We will run into similar scenarios in the presence of CMP/NUMA.
> >
> >Patch appended.
> >
>
> Hmm, I would have hoped the new "all_pinned" logic should have handled
> this case properly. [...]

no, active_balance is a different case, not covered by the all_pinned
logic. This is a HT-special scenario, where busiest->nr_running == 1,
and we have to do active load-balancing. This does not go through
move_tasks() and does not set all_pinned. (If nr_running werent 1 we'd
not have to kick active load-balancing.)

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: 2005-08-02 11:46    [W:0.080 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site