From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: the arch/x86 maintainers <x86@kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Xen-devel <xen-devel@lists.xensource.com>,
Greg KH <gregkh@suse.de>, Olaf Kirch <okir@suse.de>
Subject: Re: Where do we stand with the Xen patches?
Date: Fri, 15 May 2009 12:59:03 -0700 [thread overview]
Message-ID: <4A0DC987.2050306@goop.org> (raw)
In-Reply-To: <20090515183550.GA20833@elte.hu>
Ingo Molnar wrote:
> These look fine but i still need to go over them one last time
> before pulling them.
>
>
> Yes. Here too i still need to go over them once more before pulling
> them.
>
I've been posting these patches in fundamentally the same form for about
6 months now. I don't think you'll find anything surprising.
>> for-ingo/xen/dom0/mtrr
>>
>> You queried the value of "extending" this interface, given that its
>> considered to be deprecated. These changes in no way extend the
>> interface, but just make the existing interface functional under
>> Xen. And while we don't have PAT support, there's no other way of
>> setting cachability attributes on memory, so not supporting it has a
>> fairly severe performance impact on things like X.
>>
>
> Latest Xorg doesnt need /proc/mtrr. By the time this kernel (.31 or
> later) hits any distribution, /proc/mtrr using Xorg will be a
> distant memory. So i see no reason why to apply those bits at all,
> and i see a lot of reasons to not apply them.
>
In general we don't break usermode ABIs, even when using new kernels
with old distros, so I don't see why this case is any different.
Besides, these changes are not only for /proc/mtrr, but also to
implement the internal mtrr_add() APIs that DRM uses to set the MTRR
inside the kernel, so failing to implement them will cause performance
regressions on new X servers.
Given that we're talking about 120 lines of code with no runtime impact
and tiny kernel size impact (when configured), I'm at a loss for what
your "lot of reasons" might be. Perhaps you could be more specific.
> As in the past, my main worry is performance overhead of paravirt in
> general.
>
> The patches that dont affect any native kernel fast path are
> probably OK (but still pending final review).
>
These changes don't have anything much to do with paravirt_ops, per se,
and are all specifically about Xen dom0 support. Aside from that, none
of the changes are on performance-critical paths.
> Regarding patches that do change the fastpath i'll do a round of
> measurements of CONFIG_PARAVIRT against !CONFIG_PARAVIRT kernels,
> and make up my mind based on that.
>
> You could accelerate this by sending some "perf stat" hard numbers
> to give us an idea about where we stand today.
I posted them the other day; those perf stat measurements pointing out
the pv-spinlock problem also showed that paravirt_ops in general has a
sub-1% performance hit (and possible performance benefit) when running
mmap-perf. You added them into the commit log for the patch, so I
presume you read it.
J
next prev parent reply other threads:[~2009-05-15 19:59 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 19:54 Jeremy Fitzhardinge
2009-05-15 18:35 ` Ingo Molnar
2009-05-15 19:59 ` Jeremy Fitzhardinge [this message]
2009-05-18 1:36 ` FUJITA Tomonori
2009-05-18 1:42 ` Jeremy Fitzhardinge
2009-05-18 8:40 ` Ingo Molnar
2009-05-19 5:27 ` FUJITA Tomonori
2009-05-19 13:03 ` Ingo Molnar
2009-05-19 15:30 ` FUJITA Tomonori
2009-05-19 15:56 ` Ian Campbell
2009-05-20 17:06 ` Jeremy Fitzhardinge
2009-05-21 8:54 ` FUJITA Tomonori
2009-05-21 10:27 ` Ian Campbell
2009-05-21 10:28 ` Ian Campbell
2009-05-21 10:39 ` FUJITA Tomonori
2009-05-21 11:03 ` [Xen-devel] " Ian Campbell
2009-05-21 11:08 ` Ian Campbell
2009-05-21 11:19 ` FUJITA Tomonori
2009-05-21 11:45 ` Ian Campbell
2009-05-21 16:15 ` swiotlb: remove __weak hooks in favour of architecture-specific functions Ian Campbell
2009-05-21 16:19 ` Ian Campbell
2009-05-21 16:47 ` Randy Dunlap
2009-05-22 8:55 ` Ian Campbell
2009-05-22 11:13 ` FUJITA Tomonori
2009-05-22 11:43 ` Ian Campbell
2009-05-22 11:55 ` FUJITA Tomonori
2009-05-22 14:02 ` Ian Campbell
2009-05-22 14:24 ` FUJITA Tomonori
2009-05-21 16:15 ` [PATCH] swiotlb: make is_buffer_dma_capable architecture-specific Ian Campbell
2009-05-21 16:15 ` [PATCH] swiotlb: make range_needs_mapping architecture-specific Ian Campbell
2009-05-22 11:13 ` FUJITA Tomonori
2009-05-22 11:45 ` Ian Campbell
2009-05-21 16:15 ` [PATCH] swiotlb/xen: update xen for swiotlb_arch_force_mapping changes Ian Campbell
2009-05-21 16:15 ` [PATCH] swiotlb: make swiotlb allocation functions architecture-specific Ian Campbell
2009-05-22 11:13 ` FUJITA Tomonori
2009-05-22 11:46 ` Ian Campbell
2009-05-21 16:15 ` [PATCH] swiotlb/xen: update xen for changes to swiotlb allocation interface Ian Campbell
2009-05-21 16:15 ` [PATCH] swiotlb: make swiotlb phys<->bus translations architecture-specific Ian Campbell
2009-05-22 11:13 ` FUJITA Tomonori
2009-05-22 11:46 ` Ian Campbell
2009-05-21 16:15 ` [PATCH] swiotlb/xen: update xen swiotlb for phys<->bus API changes Ian Campbell
2009-05-21 17:21 ` [Xen-devel] Re: Where do we stand with the Xen patches? FUJITA Tomonori
2009-05-21 10:48 ` Ian Campbell
2009-05-17 18:37 devzero
2009-05-17 19:25 ` david
2009-05-17 19:33 ` Arjan van de Ven
2009-05-17 19:46 devzero
2009-05-18 1:54 ` Jeremy Fitzhardinge
2009-05-19 13:10 ` Chris Mason
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=4A0DC987.2050306@goop.org \
--to=jeremy@goop.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=okir@suse.de \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xensource.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome