public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Chegu Vinod <chegu_vinod@hp.com>
To: kvm@vger.kernel.org
Subject: Re: Performance of  40-way guest running  2.6.32-220 (RHEL6.2)  vs.  3.3.1 OS
Date: Mon, 16 Apr 2012 03:04:47 +0000 (UTC)	[thread overview]
Message-ID: <loom.20120416T040402-361@post.gmane.org> (raw)
In-Reply-To: 4F871D12.3060006@redhat.com

Rik van Riel <riel <at> redhat.com> writes:

> 
> On 04/11/2012 01:21 PM, Chegu Vinod wrote:
> >
> > Hello,
> >
> > While running an AIM7 (workfile.high_systime) in a single 40-way (or a 
single
> > 60-way KVM guest) I noticed pretty bad performance when the guest was booted
> > with 3.3.1 kernel when compared to the same guest booted with 2.6.32-220
> > (RHEL6.2) kernel.
> 
> > For the 40-way Guest-RunA (2.6.32-220 kernel) performed nearly 9x better 
than
> > the Guest-RunB (3.3.1 kernel). In the case of 60-way guest run the older 
guest
> > kernel was nearly 12x better !
> 
> > Turned on function tracing and found that there appears to be more time 
being
> > spent around the lock code in the 3.3.1 guest when compared to the 2.6.32-
220
> > guest.
> 
> Looks like you may be running into the ticket spinlock
> code. During the early RHEL 6 days, Gleb came up with a
> patch to automatically disable ticket spinlocks when
> running inside a KVM guest.
> 

Thanks for the pointer. 
Perhaps that is the issue.  
I did look up that old discussion thread.


> IIRC that patch got rejected upstream at the time,
> with upstream developers preferring to wait for a
> "better solution".
> 
> If such a better solution is not on its way upstream
> now (two years later), maybe we should just merge
> Gleb's patch upstream for the time being?



Also noticed a recent discussion thread (that originated from the Xen context)

http://article.gmane.org/gmane.linux.kernel.virtualization/15078

Not yet sure if this recent discussion is also in some way related to
the older one initiated by Gleb.

Thanks
Vinod




  reply	other threads:[~2012-04-16  3:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-11 17:21 Performance of 40-way guest running 2.6.32-220 (RHEL6.2) vs. 3.3.1 OS Chegu Vinod
2012-04-12 18:21 ` Rik van Riel
2012-04-16  3:04   ` Chegu Vinod [this message]
2012-04-16 12:18   ` Gleb Natapov
2012-04-16 14:44     ` Chegu Vinod
2012-04-17  9:49       ` Gleb Natapov
2012-04-17 13:25         ` Chegu Vinod
2012-04-19  4:44           ` Chegu Vinod
2012-04-19  6:01             ` Gleb Natapov

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=loom.20120416T040402-361@post.gmane.org \
    --to=chegu_vinod@hp.com \
    --cc=kvm@vger.kernel.org \
    /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