lkml.org 
[lkml]   [2006]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched: smpnice work around for active_load_balance()
On Mon, Apr 03, 2006 at 11:04:52AM +1000, Peter Williams wrote:
> Peter Williams wrote:
> > I gave an example in a previous e-mail. Basically, at the end of
> > scheduler_tick() if rebalance_tick() doesn't move any tasks (it would be
> > foolish to contemplate moving tasks of the queue just after you've moved
> > some there) and the run queue has exactly one running task and it's time
> > for a HT/MC rebalance check on the package that this run queue belongs
> > to then check that package to to see if it meets the rest of criteria
> > for needing to lose some tasks. If it does look for a package that is a
> > suitable recipient for the moved task and if you find one then mark this
> > run queue as needing active load balancing and arrange for its migration
> > thread to be started.
> >
> > Simple, direct and amenable to being only built on architectures that
> > need the functionality.
>
> Are you working on this idea or should I do it?

my issues raised in response to this idea are unanswered.

<issues>
First of all we will be doing unnecessary checks to see if there is
an imbalance.. Current code triggers the checks and movement only when
it is necessary.. And second, finding the correct destination cpu in the
presence of SMT and MC is really complicated.. Look at different examples
in the OLS paper.. Domain topology provides all this info with no added
complexity...
</issues>

I don't see a merit and so I am not looking into this.

thanks,
suresh
-
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: 2006-04-03 19:01    [W:0.107 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site