Messages in this thread | | | Subject | Re: SCHED: Is task migration necessary in sched_exec(). | From | Peter Zijlstra <> | Date | Wed, 23 Dec 2009 12:51:52 +0100 |
| |
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?
| |