From: Andrea Arcangeli <andrea@suse.de>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: Hugh Dickins <hugh@veritas.com>, Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] anobjrmap 1/6 objrmap
Date: Mon, 22 Mar 2004 00:52:07 +0100 [thread overview]
Message-ID: <20040321235207.GC3649@dualathlon.random> (raw)
In-Reply-To: <2924080000.1079886632@[10.10.2.4]>
On Sun, Mar 21, 2004 at 08:30:34AM -0800, Martin J. Bligh wrote:
> >> Mmmm, if you have a broken out patch, it'd be preferable. If I were to
> >> apply the whole of -mjb, I'll get a damned sight better results than
> >> any of them, but that's not really a fair comparison ;-) I'll can at
> >> least check it's stable for me that way though.
> >>
> >> I did find your broken-out anon-vma patch, but it's against something
> >> else, maybe half-way up your tree or something, and I didn't bother
> >> trying to fix it ;-)
> >
> > this one is against mainline, but you must use my objrmap patch too
> > which is fixed so it doesn't crash in 2.6.5-rc1.
> >
> > http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.6/2.6.5-rc1-aa2/00100_objrmap-core-1.gz
> > http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.6/2.6.5-rc1-aa2/00101_anon_vma-2.gz
> >
> > just backout your objrmap and apply the above two, it should apply
> > pretty well.
>
> I tried the aa3 equiv of the above, just on top of virgin 2.6.5-rc1, but
> it doesn't work cleanly. Your whole aa3 tree runs nicely, but I'd prefer
> to have the broken out patch before publishing comparisons, as otherwise
> it's a bit unfair ;-) I'm not sure if the results come from your anon_vma
> approach, or other patches in your tree ...
>
> I'm presuming you shifted the cost of find_get_page into find_trylock_page
> and pgd_ctor into pgd_alloc from the profiles below ...
I cannot see how can find_trylock_page be affected by my anon_vma
changes. The only difference I can see is taht Andrew's -mm writeback
code is adding the _irq to the spinlocks there and I don't see other
obvious changes in that function. I included all -mm writeback changes
primarly to avoid me to maintain two slightly different versions of
anon_vma and secondly to nuke the page->list. Other trees I'm dealing
with daily have those applied already. At the very least that
additional cost that you measured cannot be associated in any way with
the allocation and maintainace of the anon_vma, since that
find_trylock_page cost is a per-page pagecache thing absolutely
unrelated to the anon_vmas costs.
It's probably best that I port my version of objrmap (basically the same
as yours but with the shm swapout fixes) + anon_vma to your tree, it's
not a big effort to do the porting once, I applied Andrew's patches
primarly to avoid porting back and forth all the time.
Just tell me which is exactly the codebase I should port against and
I'll send you a patch shortly.
Thanks!
next prev parent reply other threads:[~2004-03-21 23:51 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-18 23:21 Hugh Dickins
2004-03-18 23:22 ` [PATCH] anobjrmap 2/6 linux/rmap.h Hugh Dickins
2004-03-18 23:23 ` [PATCH] anobjrmap 3/6 page->mapping Hugh Dickins
2004-03-18 23:25 ` [PATCH] anobjrmap 4/6 no pte_chains Hugh Dickins
2004-03-18 23:26 ` [PATCH] anobjrmap 5/6 anonmm Hugh Dickins
2004-03-19 16:15 ` Rik van Riel
2004-03-18 23:27 ` [PATCH] anobjrmap 6/6 cleanup Hugh Dickins
2004-03-19 2:42 ` [PATCH] anobjrmap 1/6 objrmap Andrea Arcangeli
2004-03-19 7:08 ` Hugh Dickins
2004-03-19 17:11 ` Martin J. Bligh
2004-03-20 12:30 ` Andrea Arcangeli
2004-03-20 14:03 ` William Lee Irwin III
2004-03-20 14:29 ` Andrea Arcangeli
2004-03-20 15:56 ` Martin J. Bligh
2004-03-20 16:19 ` Andrea Arcangeli
2004-03-20 16:40 ` Martin J. Bligh
2004-03-20 16:55 ` Andrea Arcangeli
2004-03-20 17:33 ` Martin J. Bligh
2004-03-20 18:50 ` Andrea Arcangeli
2004-03-21 16:30 ` Martin J. Bligh
2004-03-21 23:52 ` Andrea Arcangeli [this message]
2004-03-22 15:53 ` Martin J. Bligh
2004-03-24 6:19 ` Andrea Arcangeli
2004-03-24 15:56 ` Martin J. Bligh
2004-03-24 16:21 ` Andrea Arcangeli
2004-03-24 16:35 ` Martin J. Bligh
2004-03-24 17:08 ` Andrea Arcangeli
2004-03-24 20:00 ` William Lee Irwin III
2004-03-24 20:01 ` William Lee Irwin III
2004-03-24 20:17 ` William Lee Irwin III
2004-03-20 12:46 ` Andrea Arcangeli
2004-03-19 14:38 ` William Lee Irwin III
2004-03-22 20:37 ` [PATCH] anobjrmap 7/6 mremap moves Hugh Dickins
2004-03-22 21:52 ` Rajesh Venkatasubramanian
2004-03-26 14:29 ` [PATCH] anobjrmap 8/6 unmap nonlinear Hugh Dickins
2004-03-26 14:54 ` Realtek 8139too drivers Linux Kernel
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=20040321235207.GC3649@dualathlon.random \
--to=andrea@suse.de \
--cc=akpm@osdl.org \
--cc=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@aracnet.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
all inboxes | Powered by JetHome®