All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: habanero@linux.vnet.ibm.com
Cc: kvm@vger.kernel.org, Yan Vugenfirer <yvugenfi@redhat.com>
Subject: Re: Performace data when running Windows VMs
Date: Wed, 26 Aug 2009 19:26:45 +0300	[thread overview]
Message-ID: <4A956245.90102@redhat.com> (raw)
In-Reply-To: <1251303297.9683.82.camel@twinturbo.austin.ibm.com>

On 08/26/2009 07:14 PM, Andrew Theurer wrote:
> On Wed, 2009-08-26 at 18:44 +0300, Avi Kivity wrote:
>    
>> On 08/26/2009 05:57 PM, Andrew Theurer wrote:
>>      
>>> I recently gathered some performance data when running Windows Server
>>> 2008 VMs, and I wanted to share it here.  There are 12 Windows
>>> Server2008 64-bit VMs (1 vcpu, 2 GB) running which handle the concurrent
>>> execution of 6 J2EE type benchmarks.  Each benchmark needs a App VM and
>>> a Database VM.  The benchmark clients inject a fixed rate of requests
>>> which yields X% CPU utilization on the host.  A different hypervisor was
>>> compared; KVM used about 60% more CPU cycles to complete the same amount
>>> of work.  Both had their hypervisor specific paravirt IO drivers in the
>>> VMs.
>>>
>>> Server is a 2 socket Core/i7, SMT off, with 72 GB memory
>>>
>>>        
>> Did you use large pages?
>>      
> Yes.
>    

The stats show 'largepage = 12'.  Something's wrong.  There's a commit 
(7736d680) that's supposed to fix largepage support for kvm-87, maybe 
it's incomplete.

>>> I/O on the host was not what I would call very high:  outbound network
>>> averaged at 163 Mbit/s inbound was 8 Mbit/s, while disk read ops was
>>> 243/sec and write ops was 561/sec
>>>
>>>        
>> What was the disk bandwidth used?  Presumably, direct access to the
>> volume with cache=off?
>>      
> 2.4 MB/sec write, 0.6MB/sec read, cache=none
> The VMs' boot disks are IDE, but apps use their second disk which is
> virtio.
>    

Chickenfeed.

Do the network stats include interguest traffic?  I presume *all* of the 
traffic was interguest.

>> linux-aio should help reduce cpu usage.
>>      
> I assume this is in a newer version of Qemu?
>    

No, posted and awaiting merge.

>> Could it be that Windows uses the debug registers?  Maybe we're
>> incorrectly deciding to switch them.
>>      
> I was wondering about that.  I was thinking of just backing out the
> support for debugregs and see what happens.
>
> Did the up/down_read seem kind of high?  Are we doing a lock of locking?
>    

It is.  We do.  Marcelo made some threats to remove this lock.

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


  reply	other threads:[~2009-08-26 16:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-26 14:57 Performace data when running Windows VMs Andrew Theurer
2009-08-26 15:44 ` Avi Kivity
2009-08-26 16:14   ` Andrew Theurer
2009-08-26 16:26     ` Avi Kivity [this message]
2009-08-26 17:51       ` Andrew Theurer
2009-08-26 19:20         ` Avi Kivity
2009-08-26 16:27     ` Brian Jackson
2009-08-26 17:52       ` Andrew Theurer

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=4A956245.90102@redhat.com \
    --to=avi@redhat.com \
    --cc=habanero@linux.vnet.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=yvugenfi@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.