xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Olivier Hanesse <olivier.hanesse@gmail.com>,
	Jan Beulich <JBeulich@novell.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	xen-devel@lists.xensource.com, Keir Fraser <keir@xen.org>,
	Dan Magenheimer <dan.magenheimer@oracle.com>,
	Xen Users <xen-users@lists.xensource.com>,
	Mark Adams <mark@campbell-lange.net>
Subject: Re: [Xen-devel] Xen 4 TSC problems
Date: Thu, 24 Feb 2011 14:52:03 +0000	[thread overview]
Message-ID: <C98C2113.13CA9%keir.xen@gmail.com> (raw)
In-Reply-To: <AANLkTikEcZrQ2TbPDH5WEbF4_WGfsSJ7vhhgMhT1LGW_@mail.gmail.com>

On 24/02/2011 14:20, "Olivier Hanesse" <olivier.hanesse@gmail.com> wrote:

> Both dom0 and domUs are affected by this" jump".
> 
> I expect to see something like "TSC marked as reliable, warp = 0". 
> I got this on newer hardware with same config/distros.

It depends on the CPU itself, older CPUs do not have the super-stable TSC
features. But that should never cause a massive 3000s time jump.

> Is there a way to measure if it is a TSC warp ? to point out a cpu tsc issue ?

The TSC warps or out-of-sync issues that we could reasonably expect would be
on the order of microseconds. A 3000s warp is something else entirely. Xen
is very confused and/or some TSC or platform timer has jumped a long way
(indicating a hardware/firmware issue).

 -- Keir

> 
> 2011/2/24 Jan Beulich <JBeulich@novell.com>
>>>>> On 24.02.11 at 12:57, Olivier Hanesse <olivier.hanesse@gmail.com> wrote:
>>> I tried to turn off cstates with max_cstate=0 without success (still "not
>>> reliable").
>>> 
>>> With cpuidle=0, I also got :
>>> 
>>> (XEN) TSC has constant rate, deep Cstates possible, so not reliable,
>>> warp=3022 (count=1)
>> 
>> This message by itself isn't telling much I believe.
>> 
>>> xm info | grep command
>>> xen_commandline        : dom0_mem=512M cpuidle=0 loglvl=all guest_loglvl=all
>>> dom0_max_vcpus=1 dom0_vcpus_pin console=vga,com1 com1=19200,8n1
>>> 
>>> Keir :
>>> 
>>> Using clocksource=pit :
>>> 
>>> (XEN) Platform timer is 1.193MHz PIT
>>> 
>>> I also got :
>>> 
>>> (XEN) TSC has constant rate, deep Cstates possible, so not reliable,
>>> warp=3262 (count=2)
>> 
>> The question is whether any of this eliminates the time jumps seen
>> by your DomU-s (from your past mails I wasn't actually sure whether
>> Dom0 also experienced this problem, albeit it would be odd if it didn't).
>> 
>> Jan
>> 
>> Jan
>> 
> 
> 

  reply	other threads:[~2011-02-24 14:52 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-23 10:49 Xen 4 TSC problems Olivier Hanesse
2011-02-23 16:16 ` [Xen-devel] " Dan Magenheimer
2011-02-23 17:19   ` Keir Fraser
2011-02-23 19:04     ` Olivier Hanesse
2011-02-24  7:16       ` Keir Fraser
2011-02-24  9:59         ` Olivier Hanesse
2011-02-24 10:59           ` Jan Beulich
2011-02-24 11:30             ` [Xen-devel] " Keir Fraser
2011-02-24 11:57               ` Olivier Hanesse
2011-02-24 12:37                 ` Jan Beulich
2011-02-24 14:20                   ` Olivier Hanesse
2011-02-24 14:52                     ` Keir Fraser [this message]
2011-02-24 17:43                       ` [Xen-devel] " Dan Magenheimer
2011-02-24 17:58                         ` Olivier Hanesse
2011-02-24 19:01                         ` [Xen-devel] " Jeremy Fitzhardinge
2011-02-28 14:37                           ` Olivier Hanesse
2011-02-28 15:00                             ` Keir Fraser
2011-02-28 15:14                             ` [Xen-devel] " Dan Magenheimer
2011-02-28 15:23                               ` Olivier Hanesse
2011-02-28 15:30                                 ` Dan Magenheimer
2011-02-28 15:54                                   ` Olivier Hanesse
2011-04-15  7:51                                     ` andre.arnold
2011-04-15 16:31                                       ` Olivier Hanesse
2012-09-27 15:54                                     ` [Xen-devel] " Mauro
2012-09-27 19:27                                       ` [Xen-users] " Dan Magenheimer
2012-09-27 21:28                                         ` Olivier Hanesse
2012-09-27 21:42                                           ` [Xen-devel] " Mauro
2012-09-29  8:08                                             ` [Xen-users] " Olivier Hanesse
2012-09-29  9:41                                               ` [Xen-devel] " Mauro
2012-09-29 12:19                                                 ` Mauro
2012-09-30 15:13                                                   ` [Xen-users] " Pasi Kärkkäinen
2012-09-30 19:23                                                     ` [Xen-devel] " Mauro
2012-09-30 20:19                                                       ` Mauro
2012-10-15  7:39                                                         ` [Xen-users] " Olivier Hanesse
2012-10-15  8:05                                                           ` Philippe.Simonet
2012-10-15  9:39                                                             ` Mauro
2012-10-15 10:32                                                           ` Jan Beulich
2012-10-15 11:24                                                             ` [Xen-devel] " Mauro
2012-10-15 12:49                                                               ` [Xen-users] " Jan Beulich
2012-10-15 14:25                                                                 ` Mauro
2012-10-17 16:15                                                                   ` Keir Fraser
2012-10-18  7:40                                                                     ` Ian Campbell
2012-10-18  7:55                                                                       ` Keir Fraser
2012-10-18  8:33                                                                         ` Ian Campbell
2012-10-18  8:56                                                                           ` [Xen-devel] " Mauro
2012-10-18  9:36                                                                             ` [Xen-users] " Ian Campbell
2012-10-18 13:45                                                                       ` Philippe.Simonet
2012-10-18 16:43                                                                         ` Keir Fraser
2012-10-21 20:52                                                                 ` [Xen-devel] " Mauro
2012-10-22  6:54                                                                   ` [Xen-users] " Jan Beulich
2012-10-22  9:17                                                                     ` [Xen-devel] " Mauro
2012-10-22  9:27                                                                       ` [Xen-users] " Jan Beulich
2012-10-22 10:40                                                                         ` [Xen-devel] " Mauro
2012-10-22 12:06                                                                           ` [Xen-users] " Jan Beulich
2012-10-23  7:19                                                                             ` Mauro
     [not found]                                                                             ` <CAE17a0VU3H8UmUWZv1+t98ME8LFgCZAWWBC1nhzM=ecbu6_GaQ@mail.gmail.com>
2012-10-23  7:58                                                                               ` Jan Beulich
2012-10-23  8:40                                                                                 ` Mauro
2012-10-23  8:50                                                                                   ` Jan Beulich
2012-10-23 11:50                                                                                     ` Konrad Rzeszutek Wilk
2012-10-23 14:07                                                                                       ` Mauro
2012-10-23 14:43                                                                                         ` Jan Beulich
2012-10-23 14:46                                                                                           ` Mauro
2012-10-23 15:34                                                                                             ` Mauro
2012-10-23 15:49                                                                                               ` Jan Beulich
2012-10-01 11:39                                                       ` Zary Matej
2011-02-28 15:39                                 ` [Xen-devel] " Keir Fraser
2012-09-29 15:13         ` Mauro
2011-09-13  7:16 ` Philippe Simonet
2011-09-15  8:23   ` Konrad Rzeszutek Wilk
2011-09-15  8:24   ` Konrad Rzeszutek Wilk
2011-09-15 16:24     ` Jeremy Fitzhardinge
2011-09-16  6:03       ` Philippe.Simonet
2011-09-16 22:40         ` Jeremy Fitzhardinge
2011-09-19  5:45           ` Philippe Simonet
2011-09-15 10:36   ` George Dunlap
2011-09-15 18:38     ` Dan Magenheimer
2011-09-19 10:39       ` George Dunlap
2011-09-22 12:07         ` Jan Beulich
2011-09-30  6:33         ` Philippe.Simonet
2011-09-30  9:36           ` tommics
2011-09-30 17:16           ` Dan Magenheimer

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=C98C2113.13CA9%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=JBeulich@novell.com \
    --cc=dan.magenheimer@oracle.com \
    --cc=jeremy@goop.org \
    --cc=keir@xen.org \
    --cc=mark@campbell-lange.net \
    --cc=olivier.hanesse@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-users@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).