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] Issues with multiple differing guest HZ rates?

To: "Chris Lalancette" <clalance@xxxxxxxxxx>
Subject: RE: [Xen-devel] Issues with multiple differing guest HZ rates?
From: "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx>
Date: Sun, 2 Mar 2008 21:03:58 -0700
Cc: Dave Winchell <dwinchell@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "deepak.patel@xxxxxxxxxx" <deepak.patel@xxxxxxxxxx>
Delivery-date: Sun, 02 Mar 2008 20:04:54 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47CB6D12.80908@xxxxxxxxxx>
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>
Organization: Oracle Corporation
Reply-to: "dan.magenheimer@xxxxxxxxxx" <dan.magenheimer@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ach845khu8HUWi/FThGIq+vm9avCsg==
Hi Chris --

We've noticed that a 100Hz RHEL5-64bit kernel (compiled 100 HZ, not
divider=10) has less clock skew with timer_mode=0 than with
timer_mode=2.  This would be the only such we've found for
a 64-bit kernel and this is worrisome because it complicates
the selection algorithm for setting timer_mode.  In our clock skew
tests, we run six 2vcpu 2GB guests on a 8pcpu 16GB system; this
was the only guest with 100Hz tick, all the rest are 1000Hz.
timer_mode=2 works fine if that guest is 1000Hz.

We'll continue to investigate but Alan's comment in that patch
was intriguing enough to ask for more info.

Thanks,
Dan

> -----Original Message-----
> From: Chris Lalancette [mailto:clalance@xxxxxxxxxx]
> Sent: Sunday, March 02, 2008 8:14 PM
> To: dan.magenheimer@xxxxxxxxxx
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Issues with multiple differing guest 
> HZ rates?
> 
> 
> Dan Magenheimer wrote:
> > In a timer patch in RHEL5u1 (by Alan Cox), is the comment:
> >
> > "Xen itself has issues with multiple differing guest GZ rates"
> > (and I assume that GZ is a typo, should be HZ)
> >
> > Can anyone explain this further or are there experimental
> > results to back it up?  We are seeing some strangeness with
> > running multiple pvm guests with different HZ rates and wonder
> > if this is related.
> 
> I highly doubt it; in that comment, Alan was describing why 
> he *didn't*
> implement the tick divider for Xen kernels.  So that patch doesn't
> actually touch any Xen code in particular, and should in 
> general not be
> touching much code that the -xen kernels share with the bare-metal
> kernel either.  What's the problem you are seeing with different HZ
> rates in guests?
> 
> Chris Lalancette
>


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

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