All of lore.kernel.org
 help / color / mirror / Atom feed
* Issues with multiple differing guest HZ rates?
@ 2008-03-02 17:30 Dan Magenheimer
  2008-03-03  3:14 ` Chris Lalancette
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Magenheimer @ 2008-03-02 17:30 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

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.

Thanks,
Dan


===================================
If Xen could save time in a bottle / then clocks wouldn't virtually skew /
It would save every tick / for VMs that aren't quick /
and Xen then would send them anew
(with apologies to the late great Jim Croce)

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Issues with multiple differing guest HZ rates?
  2008-03-02 17:30 Issues with multiple differing guest HZ rates? Dan Magenheimer
@ 2008-03-03  3:14 ` Chris Lalancette
  2008-03-03  4:03   ` Dan Magenheimer
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Lalancette @ 2008-03-03  3:14 UTC (permalink / raw)
  To: dan.magenheimer@oracle.com; +Cc: xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Issues with multiple differing guest HZ rates?
  2008-03-03  3:14 ` Chris Lalancette
@ 2008-03-03  4:03   ` Dan Magenheimer
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Magenheimer @ 2008-03-03  4:03 UTC (permalink / raw)
  To: Chris Lalancette
  Cc: Dave Winchell, xen-devel@lists.xensource.com,
	deepak.patel@oracle.com

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@redhat.com]
> Sent: Sunday, March 02, 2008 8:14 PM
> To: dan.magenheimer@oracle.com
> Cc: xen-devel@lists.xensource.com
> 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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-03  4:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-02 17:30 Issues with multiple differing guest HZ rates? Dan Magenheimer
2008-03-03  3:14 ` Chris Lalancette
2008-03-03  4:03   ` Dan Magenheimer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.