public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Kenigsberg <danken@qumranet.com>
To: Koen Vermeer <koen@vermeer.tv>
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: Clock off in guest
Date: Wed, 13 Feb 2008 13:25:38 +0200	[thread overview]
Message-ID: <20080213112536.GA6132@karma.qumranet.com> (raw)
In-Reply-To: <1202895704.5251.23.camel@localhost>

On Wed, Feb 13, 2008 at 10:41:44AM +0100, Koen Vermeer wrote:
> Hi,
> 
> I'm running an Linux AMD64 guest on an AMD64 host. The host is running a
> 2.6.23 kernel (self compiled), the guest is running a stock
> linux-image-2.6.22-3-amd64 Debian kernel.
> 
> My problem is that the clock on the guest is off (slow), while the clock
> on the host seems to be OK. When doing 'time sleep 10' on the guest, it
> takes about 16 'real' seconds for it to finish.

What is the clock source of your guest? If it is the traditional PIT,
you describe a known problem in busy hosts. You may try to set
clocksource=tsc in the guest kerenl parameters.

Regards,

Dan.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

  reply	other threads:[~2008-02-13 11:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13  9:41 Clock off in guest Koen Vermeer
2008-02-13 11:25 ` Dan Kenigsberg [this message]
2008-02-13 12:00   ` Uri Lublin
  -- strict thread matches above, loose matches on Subject: below --
2008-02-13 12:52 koen
2008-02-13 17:58 ` Uri Lublin
2008-02-14  9:10   ` Koen Vermeer
2008-02-13 13:00 koen
2008-02-13 15:55 ` Dan Kenigsberg
2008-02-13 17:07   ` Koen Vermeer
2008-02-13 18:04     ` Dan Kenigsberg
2008-02-14 12:51       ` Koen Vermeer
2008-02-22 14:38         ` Steven Mooij
2008-02-13 16:13 koen

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=20080213112536.GA6132@karma.qumranet.com \
    --to=danken@qumranet.com \
    --cc=koen@vermeer.tv \
    --cc=kvm-devel@lists.sourceforge.net \
    /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