lkml.org 
[lkml]   [2007]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/11] Sched clock paravirt op
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-02-07 00:55    [W:0.042 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site