xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* xen tsc problems?
@ 2010-07-13 14:37 Stefano Stabellini
  2010-07-13 14:43 ` Keir Fraser
  0 siblings, 1 reply; 10+ messages in thread
From: Stefano Stabellini @ 2010-07-13 14:37 UTC (permalink / raw)
  To: xen-devel; +Cc: Dan Magenheimer

Hi all,
I get this warning from the HVM DomU kernel (both PV on HVM or normal
HVM):

checking TSC synchronization [CPU#0 -> CPU#1]:
Measured 116836520 cycles TSC warp between CPUs, turning off TSC clock.
Marking TSC unstable due to check_tsc_sync_source failed

the host cpu is the following:

processor       : 0                                                                                                           
vendor_id       : GenuineIntel                                                                                                
cpu family      : 15
model           : 6
model name      : Genuine Intel(R) CPU 3.00GHz
stepping        : 2
cpu MHz         : 3000.050
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 6
wp              : yes
flags           : fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc pni est cid hypervisor arat
bogomips        : 6000.10
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

it happens on both xen 4.0 (pre 21236) and 4.1.

if I specify tsc_mode=2, first I get:

checking TSC synchronization [CPU#0 -> CPU#1]: passed.

but a little bit afterwards:

Clocksource tsc unstable (delta = 116372610 ns)

If I use a PV on HVM kernel (pv timer enabled) and tsc_mode=1,
besides these messages I get about 20-30 messages like the following:

CE: xen increased min_delta_ns to 506250 nsec

tracing them back to xen I found out that they happen when the guest
kernel tries to set the next timer event in the past.

Does this mean that the host has some serious tsc issues?
Can this be a symptom of a bug in xen?
Suggestion are welcome.

Cheers,

Stefano

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-07-13 19:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-13 14:37 xen tsc problems? Stefano Stabellini
2010-07-13 14:43 ` Keir Fraser
2010-07-13 15:37   ` Dan Magenheimer
2010-07-13 17:39     ` Stefano Stabellini
2010-07-13 17:48       ` Keir Fraser
2010-07-13 18:06         ` Dan Magenheimer
2010-07-13 18:14           ` Stefano Stabellini
2010-07-13 18:59             ` Keir Fraser
2010-07-13 19:32               ` Dan Magenheimer
2010-07-13 18:12         ` Keir Fraser

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).