All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Radim Krčmář" <rkrcmar@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Jean Baptiste Guerraz <jbguerraz@gmail.com>, kvm@vger.kernel.org
Subject: Re: QEMU KVM - Windows Server guest
Date: Thu, 13 Apr 2017 16:44:28 +0200	[thread overview]
Message-ID: <20170413144428.GB20221@potion> (raw)
In-Reply-To: <20170413140552.GA23605@stefanha-x1.localdomain>

2017-04-13 15:05+0100, Stefan Hajnoczi:
> On Wed, Apr 12, 2017 at 09:11:12PM +0200, Jean Baptiste Guerraz wrote:
> > Hello,
> > 
> > We're facing an issue with a Windows guest VM which runs quite well on
> > a laptop (Fedora 25 - Core I7 4720HQ -
> > https://www.asus.com/Notebooks/N551JX/specifications/ ) but not on 2
> > different servers (one Debian 8 on
> > https://documentation.online.net/en/dedicated-server/offers/2015/server-dedibox-pro-2015-gen2#server_dedibox_pro_2015_gen2
> > - and one Fedora 25 on
> > https://documentation.online.net/en/dedicated-server/offers/2016/server-dedibox-md-2016#server_dedibox_md_2016)

Interesting, is there some consistent difference between

  grep . /sys/module/kvm*/parameters/*

on those systems?

> > qemu-system-x86  7420 [000] 28829.151599: kvm:kvm_mmio: mmio read len
> > 4 gpa 0xfed000f0 val 0x5e3c5955
> 
> This is the physical address range of the HPET (timer).

Right, disabling HPET is worth a shot. :)

> > If one of you have an idea about how to dig further, that would be super :)
> 
> I looked at a few of the interrupts that were injected.  An interrupt is
> interrupt delivered every 15 milliseconds.  They were immediately
> acknowledged by the interrupt handler function inside the guest.
> 
> This just looks like a running guest that's doing no I/O to me.

It had two vector 47 interrupts earlier and those only got delivered
after TPR was lowered, so the problem could a bug in KVM's TPR handling,
which only allows vector 209 after some point?

> Can anyone else spot something suspicious that indicates 100% guest CPU
> consumption?

It seems to be reading HPET in a tight loop.  No idea why, though.

So far, I'd compare kvm parameters, disable HPET, and check TPR, to see
where that goes,

thanks.

  reply	other threads:[~2017-04-13 14:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-12 19:11 QEMU KVM - Windows Server guest Jean Baptiste Guerraz
2017-04-13 14:05 ` Stefan Hajnoczi
2017-04-13 14:44   ` Radim Krčmář [this message]
2017-04-14  8:45     ` Jean Baptiste Guerraz
2017-04-14  9:00       ` Paolo Bonzini
2017-04-14 15:36         ` Jean Baptiste Guerraz

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=20170413144428.GB20221@potion \
    --to=rkrcmar@redhat.com \
    --cc=jbguerraz@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=stefanha@gmail.com \
    /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.