WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Time went backwards

To: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>, Niraj Tolia <ntolia@xxxxxxxxx>, Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Time went backwards
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 16 Feb 2008 08:08:04 +0000
Delivery-date: Sat, 16 Feb 2008 00:07:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6453C3CB8E2B3646B0D020C112613273093795@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Achvq9X4FJuFn9ufEdy9PQAWy6hiGQAUJ+VwAB2mIkE=
Thread-topic: [Xen-devel] Time went backwards
User-agent: Microsoft-Entourage/11.3.6.070618
On 15/2/08 18:04, "Langsdorf, Mark" <mark.langsdorf@xxxxxxx> wrote:

> He's got a dual-core system, but the logical grouping of the
> cores doesn't match the physical grouping.  Something like
> cores 0,1 share frequencies, but PowerNow! believes that
> cores 0 and 2 do.  So when a frequency change on core 0
> occurs, the Xen hypervisor gets alerted that cores 0 and 2
> have new frequencies.  This causes two errors with Xen -
> the HV believes core 1 has the old frequency, when it
> has the new frequency, and it believes core 2 has the new
> frequency, when it really has the old frequency.  Time errors
> will accumulate rapidly.
> 
> Niraj -
> 
> Please email me privately.  I have some more time to work on
> this issue and some new ideas on how to get information about it.

An easy way would be to allocate a new bit in a CPUID hypervisor leaf to
indicate that the PV guest can trust the core/thread information in the
usual CPUID leaves. Then we could populate the affinity maps in a way
similar to native Linux.

Or we could add a PV interface to obtain this information, which would be
less x86 specific.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>