All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Brian Rak <brak@gameservers.com>, kvm@vger.kernel.org
Subject: Re: Windows Server 2008R2 KVM guest performance issues
Date: Tue, 27 Aug 2013 10:38:33 +0300	[thread overview]
Message-ID: <20130827073833.GD22899@redhat.com> (raw)
In-Reply-To: <521C52A8.40801@redhat.com>

On Tue, Aug 27, 2013 at 09:18:00AM +0200, Paolo Bonzini wrote:
> > I've captured 20,000 lines of kvm trace output.  This can be found
> > https://gist.github.com/devicenull/fa8f49d4366060029ee4/raw/fb89720d34b43920be22e3e9a1d88962bf305da8/trace
> 
> The guest is doing quite a lot of exits per second, mostly to (a) access
> the ACPI timer
I see a lot of PM timer access not ACPI timer. The solution for that is
the patchset Brian linked.

>                 (b) service NMIs.  In fact, every NMI is reading the
> timer too and causing an exit to QEMU.
> 
Do you mean "kvm_exit: reason EXCEPTION_NMI rip 0xfffff800016dcf84 info
0 80000307"? Those are not NMIs, single NMI will kill Windows, they are #NM
exceptions. Brian, is your workload uses floating point calculation?

> So it is also possible that you have to debug this inside the guest, to
> see if these exits are expected or not.
> 
> Paolo
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
			Gleb.

  reply	other threads:[~2013-08-27  7:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26 19:15 Windows Server 2008R2 KVM guest performance issues Brian Rak
2013-08-26 22:01 ` Brian Rak
2013-08-27  7:18 ` Paolo Bonzini
2013-08-27  7:38   ` Gleb Natapov [this message]
2013-08-27  8:38     ` Paolo Bonzini
2013-08-27  8:44       ` Gleb Natapov
2013-08-27 14:09     ` Brian Rak
2013-08-27 14:44   ` Brian Rak
2013-08-27 15:09     ` Paolo Bonzini
2013-08-27 16:45       ` Brian Rak

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=20130827073833.GD22899@redhat.com \
    --to=gleb@redhat.com \
    --cc=brak@gameservers.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.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.