All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "W. Michael Petullo" <mike@flyn.org>,
	wei.wang2@amd.com, xen-devel@lists.xensource.com
Cc: xen@lists.fedoraproject.org
Subject: Re: [Fedora-xen] Xen/Linux 3.4.2 performance
Date: Thu, 2 Aug 2012 12:51:16 -0400	[thread overview]
Message-ID: <20120802165116.GA26474@phenom.dumpdata.com> (raw)
In-Reply-To: <20120703125934.GA25644@phenom.dumpdata.com>

On Tue, Jul 03, 2012 at 08:59:34AM -0400, Konrad Rzeszutek Wilk wrote:
> On Tue, Jul 03, 2012 at 07:16:04AM -0500, W. Michael Petullo wrote:
> > >> We have seen a significant reduction in performance in our research DomU
> > >> OS kernel when running on Fedora 16 with Linux 3.4.2 vs. 3.3.7. We run
> > > a series of benchmarks which are DomU-kernel-space-CPU-heavy; many of
> > >> these run 10x slower when using the 3.4.2 Linux kernel as Dom0.
> > >> 
> > >> This is a little surprising---we've been tracking the Fedora kernels for
> > >> a long time with no problem like this. Did anyone else notice any changes?
> > >> 
> > > 
> > > Just to verify.. both the 3.3.7 and 3.4.2 Linux kernel are 'release' builds? 
> > > and not debug-versions from rawhide? 
> > 
> > Yes, they are the Fedora 16 release builds.
> 
> The commits that went in (3.4) were:
...
> So one thing that you might be hitting is that now the CPU freq driver is
> uploading the data to the hypervisor - the hypervisor might be doing
> power-save stuff instead of concentrating on giving your raw performance.
> 
> So can you start with 'cpufreq=verbose,performance' on your hypervisor line.

Michael openned a bug and on it we found that the xen-acpi-processor.off=1
would solve the performance problem. What that does is to not upload C-states
and P-states information to the hypervisor. So I pulled up an AMD box
and found that the problem is only if hypervisor enters C-2 states. If
I do 'xenpm set-max-cstate 1' it gets back to working nicely.

Wei, any ideas? This is with Xen 4.1


--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

       reply	other threads:[~2012-08-02 16:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20120702215042.GA15140@imp.flyn.org>
     [not found] ` <20120703100223.GB2058@reaktio.net>
     [not found]   ` <20120703121604.GA3987@imp.flyn.org>
     [not found]     ` <20120703125934.GA25644@phenom.dumpdata.com>
2012-08-02 16:51       ` Konrad Rzeszutek Wilk [this message]
2012-08-03  9:30         ` [Fedora-xen] Xen/Linux 3.4.2 performance Jan Beulich

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=20120802165116.GA26474@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=mike@flyn.org \
    --cc=wei.wang2@amd.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen@lists.fedoraproject.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 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.