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-ia64-devel

Re: [Xen-ia64-devel] SMP-guest status

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] SMP-guest status
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Thu, 20 Apr 2006 15:22:21 +0200
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 20 Apr 2006 06:18:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1145504869.22194.9.camel@localhost>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200604191138.10037.Tristan.Gingold@xxxxxxxx> <1145504869.22194.9.camel@localhost>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Jeudi 20 Avril 2006 05:47, Alex Williamson a écrit :
> On Wed, 2006-04-19 at 11:38 +0200, Tristan Gingold wrote:
> > +       /* Fill a platform feature.  ITC are (almost!) synchronized. .
> > */
> > +       sal_feature->type = SAL_DESC_PLATFORM_FEATURE;
> > +       sal_feature->feature_mask =
> > IA64_SAL_PLATFORM_FEATURE_ITC_DRIFT;

>    Is the jitter protection in the time interpolator sufficient for
> ignoring this?  Drift is really meant to indicate the ITCs are driven
> from different time sources so may run at slightly different clock
> frequencies.  Seems we should only need to provide that flag to the
> guest if the platform firmware set it.  As long as the ITCs are nearly
> synchronized, the jitter protection in the ITC interpolator will prevent
> time from going backwards.  This would then get rid of the change in
> time.c.  Thanks,
The change in time.c is just to work around a kernel bug.  Linux kernel 
requires at least an interpolator. [Hence I think there is no platform 
without ITC drift].

I agree this area is more or less kludgy.

The problems are:
- if Xen doesn't set ITC_DRIFT, kernels tries to sync itc.  It doesn't really 
work *yet* as itc cannot be set by domains.  I will test this again.

- If Xen sets ITC_DRIFT, it lies (a little or a lot).

Tristan.



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