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

[Xen-users] Re: [Xen-devel] Xen 4 TSC problems

To: Olivier Hanesse <olivier.hanesse@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: [Xen-users] Re: [Xen-devel] Xen 4 TSC problems
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Thu, 24 Feb 2011 14:52:03 +0000
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir@xxxxxxx>, Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>, Mark Adams <mark@xxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 24 Feb 2011 06:53:53 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:user-agent:date:subject:from:to:cc:message-id :thread-topic:thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=PPAeQrRNV4No2/O8yrFUNGeYYejsUq5s2ekzRJ/lS2c=; b=H75TlJ6P/auRNEzMGa5naz9P9WJMB5d5+AMGnJxyuRJXgecWgTrs2nsMsj44iJl6f2 ABbEw5cDRZxgYsJz/ZN4iq/pGe7OA0hzg3ui+xtUKOpfBi67nSos0tOfCbUiobhQcdws rJFhd5f+4lX9J96Q/5qfIN+i9ZeGl2TdPenvI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=WIWVsF9kJaUAJDGc2p0JcweeNSeM0q+vOTflunXxBk7guQPGinxnLq7/Tn025A4IRx y2sMWK3kRfIKXj/o/apg0HD7B7wJgdRQITfH7TP7+NpwfCX0ALR2Njlou0b6M6OebKSR d/kRgdIFBYnjOxxfffY4IfrRQWLLGdS/vV5Rk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikEcZrQ2TbPDH5WEbF4_WGfsSJ7vhhgMhT1LGW_@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcvUMmW0XYgXnhDLvEunhMzEg9IDxg==
Thread-topic: [Xen-devel] Xen 4 TSC problems
User-agent: Microsoft-Entourage/12.28.0.101117
On 24/02/2011 14:20, "Olivier Hanesse" <olivier.hanesse@xxxxxxxxx> 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@xxxxxxxxxx>
>>>>> On 24.02.11 at 12:57, Olivier Hanesse <olivier.hanesse@xxxxxxxxx> 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
>> 
> 
> 



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