[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45C9145E.7080800@vmware.com>
Date: Tue, 06 Feb 2007 15:50:54 -0800
From: Zachary Amsden <zach@...are.com>
To: Jeremy Fitzhardinge <jeremy@...p.org>
CC: Andi Kleen <ak@....de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...l.org>,
Rusty Russell <rusty@...tcorp.com.au>,
Chris Wright <chrisw@...s-sol.org>
Subject: Re: [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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists