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] [RFC] Physical hot-add cpus and TSC

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (xen-devel@xxxxxxxxxxxxxxxxxxx)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC] Physical hot-add cpus and TSC
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 26 May 2010 18:29:40 +0100
Cc:
Delivery-date: Wed, 26 May 2010 10:30:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5738eada-ede6-4a58-af6b-a7f965aa3ecf@default>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr88rqhuAIaocK4RXGQg8QPhR/EuQABkq08
Thread-topic: [Xen-devel] [RFC] Physical hot-add cpus and TSC
User-agent: Microsoft-Entourage/12.24.0.100205
On 26/05/2010 17:44, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

>> True at the moment, but can we not just whack the TSC of the newly
>> added CPU  on the head when it is brought online, to match the
>> boot CPU?
> 
> Possibly... but the code for whacking the TSC of a CPU after
> C3-state results in a TSC value that is poorly-aligned with other
> running TSCs.  If there is a better way for "whacking" that
> results in a nearly-perfectly-aligned TSC (that would pass
> a "tsc warp test"), that is an option.

But what we do in 4.0 is whack all the TSCs at boot time... How is this any
different?

 -- Keir



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