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

[Xen-devel] time freeze on save/restore, x86_64

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] time freeze on save/restore, x86_64
From: Alexey Tumanov <atumanov@xxxxxxxxx>
Date: Wed, 10 Feb 2010 18:51:40 -0500
Delivery-date: Wed, 10 Feb 2010 15:52:04 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=I7B/VADCjYGJINAvQQUCipfBKWMOYUs7dNaqPGFvlWw=; b=DwKeWPZJsRSW3HQxnhzFX2FqCjhFcgZBOGfvj0F5FQBA6Sk7FI5Qd+NjglRMQCUtNY JitnuGcj9f+13LDQVUrOcKefghxnNcao4FfEK4O3ROj5QFIZ6EQY2b9lEvo7lFqv6r8X fHXZtomm2wPGYMzHy6KRq9Cnya0Gg4wOF2wrQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TjWJbqhEuoDWk3vrd6HXu5qAuOriZa8tKkbFn3Dsl6R/0N6x1GfHSeiW9l97Xqnroj M37bOlL1KhahGap9Bkeo3qxEmywoHHai1aRC4MlWWOJhriqPmrqxvahiUkAj4o/Lz4AS ZmFtuEqGq1mWouutquerP0uVSTKNonDrDbV4A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I'm running xen-unstable c/s 19603 with a single 2.6.18.8-xen kernel image used for both dom0 and domUs. I'm experiencing a time freeze when I restore a domU checkpoint file on another physical host. Basically, both date (referring to /etc/localtime) and gettimeofday() (issuing a gettimeofday syscall) repeatedly report unchanging values for tens of seconds:
debian:/var/tmp# ./timer
time: sec=1265844232, usec=728054
debian:/var/tmp# ./timer
time: sec=1265844232, usec=728054
debian:/var/tmp# ./timer
time: sec=1265844232, usec=728054
debian:/var/tmp# date
Wed Feb 10 23:23:52 UTC 2010
debian:/var/tmp# date
Wed Feb 10 23:23:52 UTC 2010
debian:/var/tmp# date
Wed Feb 10 23:23:52 UTC 2010

The timer (TSC??) springs back to life after 20-30 seconds.
Hardware: Sun Fire X2250, 2 socket, quad-core = total of 8 execution threads.
Processor: Intel Xeon E5472 @ 3GHz
Arch: x86_64

I've seen some discussion about TSC skew, and tried setting clocksource to acpi instead of the default hpet - didn't help. I also tried echoing "1" to /proc/sys/xen/independent_wallclock to no avail. Finally, no luck debugging with xen gdb, because setting a breakpoint in do_gettimeofday is futile - it fires non-stop.

Does anybody have any suggestions? In my case, it is not just a TSC skew - the clock stalls for quite an extended period of time, while the restored VM is otherwise operational and responds to all sorts of commands unless they execute anything that translates into a nanosleep syscall. The latter, of course, won't return until the clock starts going again.

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