Re: Stolen and degraded time and schedulers

From: Ingo Molnar
Date: Fri Mar 16 2007 - 04:41:03 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> Ingo Molnar wrote:
> > touching the 'timer tick' is the wrong approach. 'stolen time' only
> > matters to the /scheduler tick/. So extend the hypervisor interface to
> > allow the injection of 'virtual' scheduler tick events: via the use of a
> > special clockevents device - do not change clockevents itself.
>
> I didn't. I was using sloppy terminology: I hang the stolen time
> accounting off the Xen timer interrupt routine, just so that it gets
> run every now and again.

i dont understand: how are you separating 'stolen time' drifts from
events generated for absolute timeouts?

> I suppose I could explicitly hook stolen time accounting into the
> scheduler, but its not obvious to me that it's necessary.

right now i dont see any clean way to solve this problem without having
two clockevents drivers: one for the scheduler, one for timer events.

Ingo
-
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/