From: "Martin J. Bligh" <Martin.Bligh@us.ibm.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Hubertus Franke <frankeh@watson.ibm.com>,
wli@holomorpy.com, gh@us.ibm.com, akpm@zip.com.au,
swj@cse.unsw.edu.au, linux-mm mailing list <linux-mm@kvack.org>
Subject: Re: large page patch (fwd) (fwd)
Date: Fri, 02 Aug 2002 16:54:53 -0700 [thread overview]
Message-ID: <92200000.1028332493@flay> (raw)
In-Reply-To: <Pine.LNX.4.33.0208021252090.2466-100000@penguin.transmeta.com>
>> Let me than turn around the table. Have you looked at our patch for 2.4.18.
>> It doesn't add anything to the hot path either, if the (vma->pg_order == 0).
>> Period.
>
> Nobody has forwarded the patch, and I've seen no discussion of it on the
> kernel mailing lists.
>
> Guess what the answer is?
>
> Is it 10 lines of code in the VM subsystem?
No, and you're not going to like the patch in it's current incarnation by
the sound of it. So, having listened to your objections, we're going to
take a slightly different course - we will prepare a minimal version of
the patch with very low impact on the core VM code, but using more
standard interfaces to access it (eg the shmem method you outlined
earlier). It'll have a little less functionality, but so be it.
There are other apps apart from Oracle that want the ability to use large
pages (eg DB2 and Java), and it seems that most of those want them for
anonymous mmap or shmem. If we can provide an interface that's more
standard, it'll make people's porting much easier. IBM Research has done
some significant benchmarking of large page support in a variety of
applications, and has seen 20-40% performance boost for Java, and
6-22% improvment for the SPEC CPU2000 set of tests. For the full
details, see the OLS paper at:
http://www.linux.org.uk/~ajh/ols2002_proceedings.pdf.gz
Moreover, we need large pages to reduce PTE consumption in a variety
of applications using shared memory, especially given the additional
overhead of rmap.
We should have this available in a few days - if you could hold off
until then, we should be able to do an objective comparison? I believe
we can make something that's acceptable to you.
Thanks,
Martin.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
next parent reply other threads:[~2002-08-02 23:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.33.0208021252090.2466-100000@penguin.transmeta.com>
2002-08-02 23:54 ` Martin J. Bligh [this message]
2002-08-03 0:35 ` Andrew Morton
2002-08-03 1:26 ` Linus Torvalds
2002-08-03 4:26 ` Gerrit Huizenga
2002-08-03 4:39 ` Linus Torvalds
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=92200000.1028332493@flay \
--to=martin.bligh@us.ibm.com \
--cc=akpm@zip.com.au \
--cc=frankeh@watson.ibm.com \
--cc=gh@us.ibm.com \
--cc=linux-mm@kvack.org \
--cc=swj@cse.unsw.edu.au \
--cc=torvalds@transmeta.com \
--cc=wli@holomorpy.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