xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Alexey Tumanov <atumanov@gmail.com>
To: xen-devel@lists.xensource.com
Subject: time freeze on save/restore, x86_64
Date: Wed, 10 Feb 2010 18:51:40 -0500	[thread overview]
Message-ID: <2453e2901002101551x124e6915n9f20919a22cc6c4b@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1577 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 1711 bytes --]

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

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

             reply	other threads:[~2010-02-10 23:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 23:51 Alexey Tumanov [this message]
2010-02-11  0:09 ` time freeze on save/restore, x86_64 Keir Fraser
2010-02-11  0:20   ` Alexey Tumanov
2010-02-11  0:32     ` Keir Fraser
2010-02-11  0:22   ` Dan Magenheimer
2010-02-11  0:32     ` Alexey Tumanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2453e2901002101551x124e6915n9f20919a22cc6c4b@mail.gmail.com \
    --to=atumanov@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).