Re: Stolen and degraded time and schedulers

Daniel Walker
2007-03-14T16:11:20Z

On Tue, 2007-03-13 at 23:52 -0700, Jeremy Fitzhardinge wrote:

> >
> > That's true, but given a constant clock (like what sched_clock should
> > have) then the accounting is similarly inaccurate. Any connection
> > between the scheduler and the TSC frequency changes aren't part of the
> > design AFAIK ..
> >
>
> Well, my whole argument is that sched_clock /should not/ be a constant
> clock. And I'm not quite sure why you keep bringing up the tsc, because
> it has no relevance.

Then your direction is wrong, sched_clock() should be constant ideally
(1millisecond should really be 1millisecond). Like I said in the last
email, change the scheduler to make it aware of the variable quantum
values.

Daniel