Re: [patch] CFS scheduler, -v8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* William Lee Irwin III <[email protected]> wrote:

> > There is also p->wait_runtime which is taken into account when 
> > calculating p->fair_key. So if p3 had waiting in runqueue for long 
> > before, it can get to run quicker than 10ms later.
> 
> Virtual time is time from the task's point of view, which it has spent 
> executing. ->wait_runtime is a device to subtract out time spent on 
> the runqueue but not running from what would otherwise be virtual time 
> to express lag, whether deliberately or coincidentally. [...]

CFS is in fact _built around_ the ->wait_runtime metric (which, as its 
name suggests already, expresses the precise lag a task observes 
relative to 'ideal' fair execution), so what exactly makes you suspect 
that this property of the ->wait_runtime metric might be 'coincidental'? 
;-)

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux