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-users

Re: [Xen-users] HVM clock running at lightspeed?

To: "Tom Horsley" <tom.horsley@xxxxxxx>
Subject: Re: [Xen-users] HVM clock running at lightspeed?
From: "Paul Reiber" <reiber@xxxxxxxxx>
Date: Fri, 8 Feb 2008 18:09:49 -0800
Cc: "xen-users @ lists. xensource. com" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 08 Feb 2008 18:10:33 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=MA203WcE0CkUJGy7TwUtpyyBI6MiAkQyrJhYX16hLM0=; b=DURMOMlhsYiWfh78svGW/frC7MvQD7ZHMBf3U7n34Vx45HoI2REhBghAKKR+ZvtlYaUQFmZCe4Vx9iD0Q3GrS7vJp+U4eQtq/2GiJ2V1mfEJ6xJVF1Dum3QpORe++6AsLrPa3TaZ+m49IYX7nxZ9+h9xHpVVsqj3yn1kYIhzlBQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=R52VlPl6QDC1w4HM/vLJDFSYcnWzTogu3tyV48alLVAjEtlRNyWzmE2i9uvrBsWNEhy85ljdBkyJ0gK9/9JqmyXXLHf3NV0dcpBGpy2hlaxejtY9jMcq5dwLERmrq+sp3TT3R3e2OL6F/20Z6TfCcXpno01kwmBpZXxsFp2DDJ8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080208184613.7ee22e98@zooty>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20080208101302.5a7122f4@zooty> <e8ca6eea0802081534o41568cd0tacef9099b69d79cf@xxxxxxxxxxxxxx> <20080208184613.7ee22e98@zooty>
Reply-to: reiber@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Feb 8, 2008 3:46 PM, Tom Horsley <tom.horsley@xxxxxxx> wrote:
> On Fri, 8 Feb 2008 15:34:29 -0800
> [...]
> I'm not sure what fixed it, but I noticed that the failsafe boot didn't
> have the problem, and when I copied "apm=off acpi=off noapic" that the
> failsafe boot had to the primary kernel boot parameters, the problem
> disappeared (I have no idea why that made it disappear, or which
> one was important :-).

Outstanding! However...my guess is that nothing actually "fixed" the
problem, and that if you went back to the same conditions as when it
happened last time - _really_ went back... which is sometimes
downright impossible... that you'd find that particular HVM time-skew
problem to still be right where it's always been.  I hope.  I'll
explain that better below, (again) I hope.

It's awesome that you've got HVM virt working much better with the
triad of kernel params you've mentioned above - that qualifies as a
"major clue" (read: it should be in a FAQ somewhere if it isn't yet)
both (1) for others who want to get HVM virt working well, and (2) for
me in particular, since _omitting_ those options as part of my testbed
scenarios never even entered my mind until I found out you'd
experienced problems when (accidentally) omitting them.

So... Thank you - big time! (getting tired of the time-related puns
yet?  are they... untimely?)

The wallclock on your HVM may or may not be "right" now, though. From
what you've said, things appear _much better_ and the wallclock is not
wildly out of kilter as it was before.

You'll still want to keep a close eye on it, test it slowly - not
quickly - for example, ask it what time it is every hour, and see if
it stays relatively accurate or if there's a tendency for the answer
to get, pardon my non-english, wronger-and-wronger over time.  That
test is much more telling than say, a forever loop that prints a
timestamp then sleeps for one second.  In the second case, the
observer's become way too much a part of the equation to be providing
really useful and/or (time-)telling information; its results are in
fact often totally misleading as compared to the results of a more
subtle wallclock-sampling approach.

My recent development effort (the ruby-based time monitor and
skew-correcting feedback-loop) is being influenced by a lot of fun
design criteria - including subtlety, a careful attention to the fact
that observers really _are_ part of whatever equations they're in...
but mostly it's been fueled by a driving need for something solid to
help with the particularly thorny issue of wallclock skew in virtual
environments.

...I seem to be putting this thing more and more on my own "front
burner" now, aren't I?   ...that's a sign maybe I'll finish it up and
release it sometime soon. :-)
-pbr

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