public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: thomas@fjellstrom.ca
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: kvm linux guest hanging for minutes at a time
Date: Tue, 09 Aug 2011 12:16:03 +0300	[thread overview]
Message-ID: <4E40FAD3.5040605@redhat.com> (raw)
In-Reply-To: <201108070806.59194.thomas@fjellstrom.ca>

On 08/07/2011 05:06 PM, Thomas Fjellstrom wrote:
> Occasionally when there's heavy cpu and/or io load, a kvm guest will lock up
> for minutes at a time, last occurrence was for about 12 minutes or so, and the
> guest itself reported:
>
> [1992982.639514] Clocksource tsc unstable (delta = -747307707123 ns)
>
> in dmesg after it came back. The only other hint as to what is going on is
> that the irq count for "local timer requests", virtio-input and virtio-
> requests spikes rather high. Also one of the cpu cores on the host was pegged
> the entire time.
>
> The last thing to cause a hang was an "aptitude upgrade" in the guest, which
> was a bit behind, so it had to update over 300 packages.
>
> The host is running 2.6.38-1-amd64 (2.6.38+32) from debian, qemu-kvm 0.14.0,
> and the guest was running 2.6.38-2-amd64 (not sure on the + number).
>
> Is this a known problem, thats hopefully fixed in newer kernels and qemu/kvm
> packages?
>

Your guest isn't using kvmclock for some reason.  Is it compiled in the 
guest kernel?  What are the contents of 
/sys/devices/system/clocksource/clocksource0/available_clocksource and 
/sys/devices/system/clocksource/clocksource0/current_clocksource (in the 
guest filesystem)?

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


  reply	other threads:[~2011-08-09  9:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-07 14:06 kvm linux guest hanging for minutes at a time Thomas Fjellstrom
2011-08-09  9:16 ` Avi Kivity [this message]
2011-08-09 12:03   ` Thomas Fjellstrom
2011-08-09 12:36     ` Avi Kivity
2011-08-09 14:31       ` Thomas Fjellstrom
2011-08-09 14:37         ` Avi Kivity
2011-08-09 14:46           ` Thomas Fjellstrom
2011-08-09 14:49             ` Avi Kivity
2011-08-09 14:54               ` Thomas Fjellstrom
2011-08-09 15:01               ` Thomas Fjellstrom
2011-08-10 15:03             ` Philipp Hahn
2011-08-09 15:33           ` Nick
2011-08-11  6:38             ` Avi Kivity
2011-08-11 16:37               ` Thomas Fjellstrom

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=4E40FAD3.5040605@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=thomas@fjellstrom.ca \
    /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