Thread (50 messages) 50 messages, 10 authors, 2007-03-16

Re: Stolen and degraded time and schedulers

From: Daniel Walker <hidden>
Date: 2007-03-14 16:11:20
Also in: lkml

On Tue, 2007-03-13 at 23:52 -0700, Jeremy Fitzhardinge wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help