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] Hibernation

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Hibernation
From: mail4dla@xxxxxxxxxxxxxx
Date: Fri, 13 Jul 2007 09:59:51 +0200
Delivery-date: Fri, 13 Jul 2007 00:57:45 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=fCkeAINHNGCjA24Yy9EJHRxfhrh2NJuHK3eL41BtqlZeb0qJ9UrzhQKbhrIDtCr6tiBdUh5tPoJ8jSbdrhW86+A9MBFeyzvPujeHOCfucBY3oH+l8LlWhUKWeJM0PemTt/3oTbP3FbI0zSdgP6iGxpjhMCMDwy5qx3Kux1QI8Rg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lvVbQSv/AK8p7VFf6lGX4x6oz/qof39Xa4Gcf9cz8AJ0gIxOwP+GdrsoN0beSRntbZ3v6iO7/Xb0Ps5BvcIb9xxMoVM7r6ysZ5s1EV/jNYKzZg/x+L0Tk7AsF5/6n15pTAOTxj3wUF8B3g19wFgfmXPNAPiwxptaAaEcZf2FgZA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070712175806.GA19779@xxxxxxxxxxxx>
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: <f9264670707120632v368aff59ofcf46a03ff148c19@xxxxxxxxxxxxxx> <200707121759.54926.mark.williamson@xxxxxxxxxxxx> <20070712172257.GE16139@xxxxxxxxxxxx> <200707121828.52198.mark.williamson@xxxxxxxxxxxx> <20070712175806.GA19779@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello all,

thanks for the clarification. You saved me from reading the authoritative documentation (aka sourcecode) :-)

By default, PV guests share the host's time that cannot be changed from the DomU.

The application layer is no problem as this can be put into the design requirements.
My concern was the one that Mark pointed out and I am glad to hear that PV domains are prepared to handle this.
However, advances in time should be less a problem than stepping backwards, as in that case there might be files that have been created or accessed in the "future".
btw: If you have a look at tools like ntpdate, they can be configured to not correct the time immediately but over multiple iterations that only cause moderate time changes.

Regards,
dla

On 7/12/07, Dylan Martin <dmartin@xxxxxxxxxxxx> wrote:
Here's another thing.  AFAIK, your running OS probably ignores the
hardware clock.  The only time your system accesses the hw clock is
during boot up to set the system clock and during shutdown to set the
HW clock to match up with the system clock.  Your suspended guest
should need NTP or something to correct the system clock when it wakes
up.

Disclaimer: I'm basing this off of experience setting up NTP servers 5
years ago, with zero exposure to how Windows handles things.  I think
it's the same though.

> > > I am a bit scared that this might cause problems within the affected
> > > OS because after restore, the system clock will show a great leap.
> >
> > IMHO, it would be really weird for an OS, apps or anything to
> > seriously freak out if the clock leaped.  I mean, does your computer
> > crash a daylight savings?  What about when you just set the clock by
> > hand?  If that breaks your OS or apps, you've got bigger problems.
>
> Well, if apps break they're arguably badly written.  Not that we can probably
> rule that out ;-)  But I wouldn't expect big problems with this; as Dylan
> quite rightly points out there are lots of circumstances when the clock can
> change unexpectedly.
>
> The case of suspend / resume is a little different, in that if you suspend an
> OS to disk and then resume it later without telling it it /could/ conceivably
> confuse the OS, which might not expect time to suddenly change underneath it.
> For PV, this is fine.  For HVM...  well I assume it works somehow ;-)  I'm
> just not sure how it's currently implemented or if it could maybe be improved
> by making the guest OS more aware of the suspend process.
>
> Cheers,
> Mark
>
>
> --
> Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
> Mark: To answer a question with a question: What use is a skateboard?
> Dave: Skateboards have wheels.
> Mark: My wheel has a wheel!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>