|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [patch 14/33] xen: xen time implementation
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Keir Fraser
> Sent: 06 June 2007 12:53
> To: Jan Beulich
> Cc: Jeremy Fitzhardinge; Xen-devel; lkml; Andi Kleen; Chris
> Wright; virtualization@xxxxxxxxxxxxxx; Thomas Gleixner;
> Andrew Morton; Linus Torvalds; Ingo Molnar
> Subject: Re: [Xen-devel] [patch 14/33] xen: xen time implementation
>
>
>
>
> On 6/6/07 12:00, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:
>
> >> If the error across CPUS is +/- just a few microseconds at
> worst then having
> >> the clocksource clamp to no less than the last timestamp
> returned seems a
> >> reasonable fix. Time won't 'stop' for longer than the
> cross-CPU error, and
> >> that should always be a tiny value.
> >
> > Are you sure this is also true when e.g. a CPU gets
> throttled due to thermal
> > conditions? It is my understanding that both the duty cycle
> adjustment and
> > the frequency reduction would yield a reduced rate TSC,
> which would be
> > accounted for only the next time the local clock gets
> calibrated. Otherwise,
> > immediate calibration (and vcpu update) would need to be
> forced out of the
> > thermal interrupt.
>
> Yes, this could be an issue. Is there any way to get an
> interrupt or MCE
> when thermal throttling occurs?
As far as I'm aware, no. The normal way to "throttle" a procoessor is a
Pulse-Width-modulation on the STOPCLK pin, and the duration is in the
order of microseconds, so an interrupt every few microseconds may not
leave much room for the processor to actually do ANYTHING at that point.
Of course, it would be possible to design such hardware that does
clock-throttling to indicate "Clock throttling started" and "clock
throttling stopped" or some such, but as far as I'm aware, this is not
how it works.
Some thermal sensors can give interrupts at certain levels of
temperature, but that's not the same as start/stop clock throttling.
[I reduced the distribution list a bit - I'm not sure if everyone needs
to understand/know my thoughts on this subject]
--
Mats
>
> -- Keir
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|