From: Andrew Morton <akpm@osdl.org>
To: Nikita Danilov <nikita@clusterfs.com>
Cc: linux-mm@kvack.org
Subject: Re: [PATCH]: VM 4/8 dont-rotate-active-list
Date: Tue, 26 Apr 2005 01:18:17 -0700 [thread overview]
Message-ID: <20050426011817.4fa16313.akpm@osdl.org> (raw)
In-Reply-To: <17005.63388.871003.456599@gargle.gargle.HOWL>
Nikita Danilov <nikita@clusterfs.com> wrote:
>
> Andrew Morton writes:
>
> [...]
>
> >
> > I'll plop this into -mm to see what happens. That should give us decent
> > stability testing, but someone is going to have to do a ton of performance
> > testing to justify an upstream merge, please.
>
> I decided to drop this patch locally, actually. The version you merged
> doesn't behave as advertised: due to merge error l_active is not used in
> refill_inactive_zone() at all. As a result all mapped pages are simply
> parked behind scan page.
>
> In my micro-benchmark workload (cyclical dirtying of mmaped file larger
> than physical memory) this obviously helps, because reclaim_mapped state
> is quickly reached and after that, mapped pages fall through to inactive
> list independently of their referenced bits. But such behavior is hard
> to justify in a general case.
Ah.
> Once I fixed the patch to take page_referenced() into account it stopped
> making any improvement in mmap micro-benchmark. But hey, if it is
> already in -mm let's test it, nobody understands how VM should work
> anyway. :-)
Sorry, I think I'll drop it in that case - making multiple changes at the
same time produces confusing results sometimes so let's minimise the number
of variables if there's an opportunity to do so.
--
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/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
prev parent reply other threads:[~2005-04-26 8:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-17 17:36 [PATCH]: VM 4/8 dont-rotate-active-list Nikita Danilov
2005-04-18 12:49 ` Rik van Riel
2005-04-19 13:54 ` Nikita Danilov
2005-04-26 3:51 ` Andrew Morton
2005-04-26 6:51 ` Nick Piggin
2005-04-26 8:11 ` Nikita Danilov
2005-04-26 8:18 ` Andrew Morton [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=20050426011817.4fa16313.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-mm@kvack.org \
--cc=nikita@clusterfs.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 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.