lkml.org 
[lkml]   [2006]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Avoid moving tasks when a schedule can be made.

* Ingo Molnar <mingo@elte.hu> wrote:

> i think the right approach would be to split up this work into smaller
> chunks. Or rather, lets first see how this can happen: why is
> can_migrate() false for so many tasks? Are they all cpu-hot? If yes,
> shouldnt we simply skip only up to a limit of tasks in this case -
> it's not like we want to spend 1.5 msecs searching for a cache-cold
> task which might give us a 50 usecs advantage over cache-hot tasks ...

the only legimate case where we have to skip alot of tasks is the case
when there are alot of CPU-bound (->cpus_alowed) tasks in the runqueue.
In that case the scheduler really has to skip that task. But that is not
an issue in your workload.

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: 2006-02-01 14:15    [W:0.191 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site