All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Tomasz Chmielewski <mangoo@wpkg.org>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: why guests show "Clocksource tsc unstable" on bootup?
Date: Sun, 15 Mar 2009 14:56:45 +0200	[thread overview]
Message-ID: <49BCFB0D.2000901@redhat.com> (raw)
In-Reply-To: <49B5050B.9050204@wpkg.org>

Tomasz Chmielewski wrote:
> Why do my guests show "Clocksource tsc unstable" on bootup?
>

Linux expects the tsc to be monotonic and to have a 1:1 correspondence 
with real time, which isn't easy to achieve with virtualization.

> dmesg shows that kvm-clock was set as the primary cpu clock.
> Yet a bit later kernel says "Clocksource tsc unstable".
>
> Is it something to worry about, or perhaps calculating tsc is hardcoded?
> And as such, will be always checked?
> Or, is it host CPU related?
>
> [    0.000000] kvm-clock: cpu 0, msr 0:3baf81, boot clock
> [    0.000000] kvm-clock: cpu 0, msr 0:1208f81, primary cpu clock
> [    0.000000] Kernel command line: root=/dev/vda1 ro quiet 
> clocksource=kvm-clock
> [    1.253602] rtc_cmos 00:01: setting system clock to 2009-03-09 
> 11:41:30 UTC (1236598890)
> [   41.500623] Clocksource tsc unstable (delta = -153498948 ns)
>
>

What host cpu and kvm version are you using?


-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2009-03-15 12:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-09 12:01 why guests show "Clocksource tsc unstable" on bootup? Tomasz Chmielewski
2009-03-15 12:56 ` Avi Kivity [this message]
2009-03-15 13:06   ` Tomasz Chmielewski
2009-03-15 13:14     ` Michael Tokarev
2009-03-15 13:20     ` Avi Kivity
2009-03-15 13:31       ` Avi Kivity

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=49BCFB0D.2000901@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mangoo@wpkg.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.