From: George Dunlap <george.dunlap@eu.citrix.com>
To: Tim Deegan <tim@xen.org>
Cc: Andres Lagar-Cavilla <andres.lagarcavilla@gmail.com>,
Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
Jan Beulich <JBeulich@suse.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Xen 4.3 development update
Date: Thu, 25 Apr 2013 16:50:19 +0100 [thread overview]
Message-ID: <517950BB.8040108@eu.citrix.com> (raw)
In-Reply-To: <20130425154625.GF37678@ocelot.phlegethon.org>
On 04/25/2013 04:46 PM, Tim Deegan wrote:
> At 16:20 +0100 on 25 Apr (1366906804), George Dunlap wrote:
>> On Thu, Apr 4, 2013 at 4:23 PM, Tim Deegan <tim@xen.org> wrote:
>>> At 11:34 -0400 on 03 Apr (1364988853), Andres Lagar-Cavilla wrote:
>>>> On Apr 3, 2013, at 6:53 AM, George Dunlap <george.dunlap@eu.citrix.com> wrote:
>>>>
>>>>> On 03/04/13 08:27, Jan Beulich wrote:
>>>>>>>>> On 02.04.13 at 18:34, Tim Deegan <tim@xen.org> wrote:
>>>>>>> This is a separate problem. IIRC the AMD XP perf issue is caused by the
>>>>>>> emulation of LAPIC TPR accesses slowing down with Andres's p2m locking
>>>>>>> patches. XP doesn't have 'lazy IRQL' or support for CR8, so it takes a
>>>>>>> _lot_ of vmexits for IRQL reads and writes.
>>>>>> Ah, okay, sorry for mixing this up. But how is this a regression
>>>>>> then?
>>>>>
>>>>> My sense, when I looked at this back whenever that there was much more to this. The XP IRQL updating is a problem, but it's made terribly worse by the changset in question. It seemed to me like the kind of thing that would be caused by TLB or caches suddenly becoming much less effective.
>>>>
>>>> The commit in question does not add p2m mutations, so it doesn't nuke the NPT/EPT TLBs. It introduces a spin lock in the hot path and that is the problem. Later in the 4.2 cycle we changed the common case to use an rwlock. Does the same perf degradation occur with tip of 4.2?
>>>>
>>>
>>> Yes, 4.2 is definitely slower. A compile test on a 4-vcpu VM that takes
>>> about 12 minutes before this locking change takes more than 20 minutes
>>> on the current tip of xen-unstable (I gave up at 22 minutes and rebooted
>>> to test something else).
>>
>> Tim,
>>
>> Can you go into a bit more detail about what you complied on what kind of OS?
>
> I was compiling on Win XP sp3, 32-bit, 1vcpu, 4G ram. The compile was
> the Windows DDK sample code.
>
> As I think I mentioned later, all my measurements are extremely suspect
> as I was relying on guest wallclock time, and the 'before' case was
> before the XP wallclock time was fixed. :(
>
>> The VM was a Debian Wheezy VM, stock kernel (3.2), PVHVM mode, 1G of
>> RAM, 4 vcpus, LVM-backed 8G disk.
>
> I suspect the TPR access patterns of XP are not seen on linux; it's been
> known for long enough now that it's super-slow on emulated platforms and
> AFAIK it was only ever Windows that used the TPR so aggressively anyway.
Right. IIRC w2k3 sp2 has the "lazy tpr" feature, so if I can get
consistent results with that one then we can say... well, we can at
least say it's not easy to reproduce. :-)
-George
next prev parent reply other threads:[~2013-04-25 15:50 UTC|newest]
Thread overview: 193+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-02 14:07 Xen 4.3 development update George Dunlap
2013-04-02 15:42 ` Jan Beulich
2013-04-02 15:45 ` Suravee Suthikulanit
2013-04-02 15:51 ` George Dunlap
2013-04-02 16:34 ` Tim Deegan
2013-04-02 16:47 ` Suravee Suthikulpanit
2013-04-04 10:57 ` Tim Deegan
2013-04-02 17:06 ` Suravee Suthikulpanit
2013-04-02 23:48 ` Suravee Suthikulanit
2013-04-03 10:51 ` George Dunlap
2013-04-04 15:29 ` Suravee Suthikulanit
2013-04-04 17:14 ` Suravee Suthikulanit
2013-04-05 13:43 ` George Dunlap
2013-04-03 8:37 ` Christoph Egger
2013-04-03 10:49 ` George Dunlap
2013-04-04 12:19 ` xenalyze (was: Re: Xen 4.3 development update) Christoph Egger
2013-04-04 12:51 ` xenalyze George Dunlap
2013-04-03 7:27 ` Xen 4.3 development update Jan Beulich
2013-04-03 10:53 ` George Dunlap
2013-04-03 15:34 ` Andres Lagar-Cavilla
2013-04-04 15:23 ` Tim Deegan
2013-04-04 17:05 ` Tim Deegan
2013-04-29 13:21 ` Peter Maloney
2013-05-02 15:48 ` Tim Deegan
2013-05-03 16:41 ` George Dunlap
2013-05-03 16:59 ` Tim Deegan
2013-05-04 10:47 ` Pasi Kärkkäinen
2013-05-07 14:55 ` George Dunlap
2013-05-07 22:23 ` James Harper
2013-05-08 9:00 ` George Dunlap
[not found] ` <6035A0D088A63A46850C3988ED045A4B57B45CBE@BITCOM1.int.sbss.com.au>
[not found] ` <518A5143.5090308@eu.citrix.com>
[not found] ` <518B6B36.3050404@eu.citrix.com>
2013-05-12 7:22 ` Suspicious URL:Re: " James Harper
2013-05-07 13:15 ` George Dunlap
2013-05-07 15:35 ` George Dunlap
2013-05-07 13:56 ` Pasi Kärkkäinen
2013-05-07 14:57 ` George Dunlap
2013-04-25 15:20 ` George Dunlap
2013-04-25 15:26 ` George Dunlap
2013-04-25 15:46 ` Tim Deegan
2013-04-25 15:50 ` George Dunlap [this message]
2013-05-03 9:35 ` George Dunlap
2013-04-25 13:51 ` Xen 4.3 development update / winxp AMD performance regression Pasi Kärkkäinen
2013-04-25 14:00 ` George Dunlap
2013-04-25 14:24 ` Andres Lagar-Cavilla
2013-04-28 10:18 ` Peter Maloney
2013-04-29 9:01 ` George Dunlap
2013-04-09 2:03 ` Xen 4.3 development update Dario Faggioli
2013-04-10 12:12 ` Ian Campbell
2013-04-10 12:15 ` Ian Campbell
2013-04-10 16:41 ` Konrad Rzeszutek Wilk
2013-04-11 9:28 ` George Dunlap
2013-04-11 9:33 ` Ian Campbell
2013-04-11 9:43 ` George Dunlap
2013-04-11 9:49 ` Ian Campbell
-- strict thread matches above, loose matches on Subject: below --
2013-06-27 13:54 George Dunlap
2013-06-27 14:05 ` Jan Beulich
2013-06-27 14:06 ` George Dunlap
2013-06-28 15:20 ` Suravee Suthikulanit
2013-06-28 15:30 ` Jan Beulich
2013-06-28 15:36 ` jacek burghardt
2013-06-28 15:38 ` George Dunlap
2013-06-17 10:58 George Dunlap
2013-06-17 11:12 ` George Dunlap
2013-06-17 11:13 ` Jan Beulich
2013-06-20 15:50 ` Jan Beulich
2013-06-21 8:08 ` Zhang, Yang Z
2013-06-21 8:29 ` Jan Beulich
2013-06-17 11:16 ` George Dunlap
2013-06-17 11:25 ` Ian Campbell
2013-06-17 11:17 ` Gordan Bobic
2013-06-17 11:21 ` George Dunlap
2013-06-17 12:35 ` Fabio Fantoni
2013-06-17 12:38 ` George Dunlap
2013-06-17 13:24 ` Konrad Rzeszutek Wilk
2013-06-17 13:29 ` George Dunlap
2013-06-17 16:16 ` Alex Bligh
2013-06-17 20:39 ` Konrad Rzeszutek Wilk
2013-06-10 16:04 George Dunlap
2013-06-10 16:10 ` George Dunlap
2013-06-10 16:16 ` Ian Jackson
2013-06-10 16:20 ` Andrew Cooper
2013-06-11 7:12 ` Jan Beulich
2013-06-11 12:11 ` George Dunlap
2013-06-11 13:53 ` Stefano Stabellini
2013-06-11 14:00 ` Ian Campbell
2013-06-11 13:54 ` Ian Campbell
2013-06-17 7:37 ` Jan Beulich
2013-05-10 10:26 George Dunlap
2013-05-10 10:39 ` Jan Beulich
2013-05-10 10:55 ` George Dunlap
2013-05-10 10:54 ` George Dunlap
2013-05-10 11:33 ` Jan Beulich
2013-05-10 10:57 ` George Dunlap
2013-05-10 10:59 ` George Dunlap
2013-05-10 11:00 ` George Dunlap
2013-05-10 11:08 ` Anthony PERARD
2013-05-10 11:24 ` Anthony PERARD
2013-05-10 14:30 ` Fabio Fantoni
2013-05-13 10:26 ` Ian Campbell
2013-05-13 14:53 ` Fabio Fantoni
2013-05-13 15:08 ` George Dunlap
2013-05-13 15:15 ` Ian Campbell
2013-05-13 15:39 ` Anthony PERARD
2013-05-13 15:47 ` Ian Campbell
2013-05-14 9:58 ` Fabio Fantoni
2013-05-14 14:13 ` Pasi Kärkkäinen
2013-05-14 9:39 ` Fabio Fantoni
2013-05-10 11:10 ` Ian Campbell
2013-04-30 11:26 George Dunlap
2013-04-30 11:27 ` George Dunlap
2013-04-30 11:34 ` Jan Beulich
2013-03-05 12:44 George Dunlap
2013-03-05 14:32 ` Jan Beulich
2013-03-05 21:27 ` Suravee Suthikulpanit
2013-03-06 12:05 ` George Dunlap
2013-03-05 14:36 ` Jan Beulich
2013-03-05 14:45 ` David Vrabel
2013-03-05 14:57 ` David Vrabel
2013-03-05 16:33 ` Tim Deegan
2013-03-05 16:36 ` Ian Campbell
2013-03-05 16:43 ` Tim Deegan
2013-03-06 11:46 ` George Dunlap
2013-03-06 17:01 ` Dominic Curran
2013-03-06 17:15 ` George Dunlap
2013-03-06 17:15 ` George Dunlap
2013-03-06 18:54 ` Dominic Curran
2013-03-07 10:18 ` George Dunlap
2013-03-05 18:22 ` Keir Fraser
2013-03-06 3:00 ` Ian Campbell
2013-03-05 14:40 ` Jan Beulich
2013-03-05 15:51 ` Konrad Rzeszutek Wilk
2013-03-05 16:07 ` Jan Beulich
2013-03-06 11:44 ` George Dunlap
2013-03-05 16:12 ` Konrad Rzeszutek Wilk
2013-03-06 8:44 ` Daniel Kiper
2013-03-06 11:52 ` George Dunlap
2013-03-06 19:50 ` Konrad Rzeszutek Wilk
2013-03-07 1:40 ` Mukesh Rathor
2013-03-05 19:13 ` Roger Pau Monné
2013-03-06 12:03 ` George Dunlap
2013-03-06 11:14 ` Wei Liu
2013-03-06 14:47 ` George Dunlap
2013-03-08 10:51 ` Paolo Bonzini
2013-03-08 17:17 ` Roger Pau Monné
2012-10-01 16:25 George Dunlap
2012-10-01 16:42 ` Pasi Kärkkäinen
2012-10-01 17:01 ` Igor Kozhukhov
2012-10-02 9:26 ` George Dunlap
2012-10-02 10:07 ` Pasi Kärkkäinen
2012-10-02 14:26 ` Ian Jackson
2012-10-02 14:32 ` Ian Campbell
2012-10-02 14:50 ` Pasi Kärkkäinen
2012-10-02 14:56 ` Ian Campbell
2012-10-02 15:16 ` Pasi Kärkkäinen
2012-10-02 14:41 ` Pasi Kärkkäinen
2012-10-02 9:29 ` George Dunlap
2012-10-02 17:34 ` Mukesh Rathor
2012-10-02 9:35 ` Jan Beulich
2012-09-19 16:58 George Dunlap
2012-09-19 17:18 ` Philipp Hahn
2012-09-20 10:24 ` George Dunlap
2012-09-20 11:40 ` Philipp Hahn
2012-09-20 21:20 ` Jim Fehlig
2012-09-21 8:48 ` Ian Campbell
2012-09-21 10:40 ` George Dunlap
2012-09-21 11:07 ` George Dunlap
2012-09-26 2:07 ` Jim Fehlig
2012-10-04 8:34 ` Ian Campbell
2012-10-04 22:29 ` Jim Fehlig
2012-10-05 9:28 ` Ian Campbell
2012-09-19 17:22 ` Konrad Rzeszutek Wilk
2012-09-20 7:03 ` Jan Beulich
2012-09-20 11:17 ` George Dunlap
2012-09-20 11:26 ` Jan Beulich
2012-09-20 11:33 ` George Dunlap
2012-09-20 11:44 ` Jan Beulich
2012-09-20 14:37 ` George Dunlap
2012-09-21 3:18 ` Matt Wilson
2012-09-26 9:36 ` George Dunlap
2012-09-26 10:25 ` Thanos Makatos
2012-09-26 17:15 ` Matt Wilson
2012-09-26 18:59 ` Ian Campbell
2012-09-27 6:47 ` Matt Wilson
2012-09-20 9:38 ` Oliver Chick
2012-09-20 9:53 ` Jean Guyader
2012-09-20 10:51 ` Stefano Panella
2012-09-20 11:19 ` George Dunlap
2012-09-20 15:38 ` Attilio Rao
2012-09-20 15:46 ` Thanos Makatos
2012-09-21 10:38 ` Anthony PERARD
2012-09-21 10:52 ` George Dunlap
2012-09-21 11:13 ` Anthony PERARD
2012-10-04 9:56 ` Roger Pau Monné
2012-10-05 14:33 ` Dario Faggioli
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=517950BB.8040108@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=andres.lagarcavilla@gmail.com \
--cc=suravee.suthikulpanit@amd.com \
--cc=tim@xen.org \
--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.