From: Malcolm Crossley <malcolm.crossley@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: ml-ak@posteo.de, xen-devel@lists.xen.org
Subject: Re: serious performance regression in Xen 4.2.4 and 4.2.5
Date: Thu, 19 Feb 2015 14:26:33 +0000 [thread overview]
Message-ID: <54E5F299.2040008@citrix.com> (raw)
In-Reply-To: <54E5FF650200007800061AD7@mail.emea.novell.com>
On 19/02/15 14:21, Jan Beulich wrote:
>>>> On 19.02.15 at 14:08, <malcolm.crossley@citrix.com> wrote:
>> On 19/02/15 11:08, Andreas Kinzler wrote:
>>> Hello Xen developers,
>>>
>>> since we use Xen for our production systems, I run many tests on Xen
>>> (stability/performance). One test now uncovered a serious performance
>>> regression when updating from Xen 4.2.3 to 4.2.x (with x>=4). To
>>> reproduce run a domU (HVM) and compile a kernel for example ("time make
>>> -j3"). Below are my results - compilation times more than double!
>>>
>>> Is it my mistake or otherwise how could such a bug be unnoticed? Really
>>> wondering.
>>> If it is really a regression, will it be fixed since the 4.2 branch is
>>> declared unsupported?
>>>
>>
>> I believe you are being hit with an issue with uncached mappings being
>> setup when RAM is relocated out of the guest MMIO hole:
>>
>> http://lists.xen.org/archives/html/xen-devel/2015-02/msg02306.html
>>
>> Only Intel system which do not support IOMMU snoop control are affected
>> which are typically desktop/workstation class processors.
>>
>> You have the following workarounds:
>>
>> You can configure the guest to have less than 3GB of RAM to workaround
>> the issue
>>
>> or
>>
>> Disable IOMMU support
>>
>> or
>>
>> Apply the patch I have linked to above.
>
> I'm not really following: By default there shouldn't be any RAM
> relocation - this ought to be needed only when there are passed
> through devices with some pretty large BAR(s).
>
That's a good point, I had forgotten about that extra condition (we've
been testing GPU passthrough and so have always had large BAR's in the
guest).
Hopefully Andreas can give us more information on the host and guest
configuration.
> Jan
>
prev parent reply other threads:[~2015-02-19 14:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 11:08 serious performance regression in Xen 4.2.4 and 4.2.5 Andreas Kinzler
2015-02-19 11:20 ` Andrew Cooper
2015-02-19 16:24 ` Andreas Kinzler
2015-02-19 13:08 ` Malcolm Crossley
2015-02-19 14:21 ` Jan Beulich
2015-02-19 14:26 ` Malcolm Crossley [this message]
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=54E5F299.2040008@citrix.com \
--to=malcolm.crossley@citrix.com \
--cc=JBeulich@suse.com \
--cc=ml-ak@posteo.de \
--cc=xen-devel@lists.xen.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.