Re: [PATCH 2/11] Sched clock paravirt op

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

 



Jeremy Fitzhardinge wrote:
Zachary Amsden wrote:
Jeremy Fitzhardinge wrote:
Zachary Amsden wrote:
Scheduled (or available) time and real time are good notions.  Stolen
time is debatable.  But TSC is basically just always wrong.  That's
why I don't want to overload the rdtsc operation.
Well, in the Xen case it is actually guaranteed to be correct and useful
as real time, but that's definitely not something we can expect in
general.  But you're talking specifically about schedulable vcpu time
here, right?
Not schedulable time, scheduled time (schedulable - scheduled) = stolen

I meant "schedulable" (perhaps "usable" would be better) from the
guest's perspective: total amount of real cpu time each vcpu gets.  ie:
(real - schedulable) = stolen.  So I think we're talking about the same
thing.

Yes, I think so. The point though, is the for Xen, TSC is real time. So it won't do for the scheduler, which must be schedulable time.

Zach

-
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