Re: SCHED: Is task migration necessary in sched_exec().
From: Peter Zijlstra
Date: Wed Dec 23 2009 - 07:00:09 EST
On Wed, 2009-12-23 at 17:35 +0600, Rakib Mullick wrote:
> Yes - current heuristics does this - to make sure that it doesn't have to
> wait too long. It pushes process into another runqueue (probably less loaded)
> just to make sure that - it will get the CPU a bit quickly. But when a task
> got the CPU - we should keep it out of equation. The point of moving task
> is - it have to wait less. At exec current task don't have to wait to get CPU.
No, moving tasks isn't (primarily) about latency, it is about ensuring a
fair proportion of service time.
Do you have a particular workload you worry about or are you merely
trying to satisfy your curiosity?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/