From: Johannes Weiner <hannes@saeurebad.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: npiggin@suse.de, riel@redhat.com, kosaki.motohiro@jp.fujitsu.com,
linux-mm@kvack.org
Subject: Re: [patch] mm: more likely reclaim MADV_SEQUENTIAL mappings II
Date: Wed, 22 Oct 2008 02:51:45 +0200 [thread overview]
Message-ID: <87ljwhfo4e.fsf@saeurebad.de> (raw)
In-Reply-To: <87r669fq2v.fsf@saeurebad.de> (Johannes Weiner's message of "Wed, 22 Oct 2008 02:09:28 +0200")
Johannes Weiner <hannes@saeurebad.de> writes:
> Andrew Morton <akpm@linux-foundation.org> writes:
>
>> On Tue, 21 Oct 2008 13:33:45 +0200
>> Johannes Weiner <hannes@saeurebad.de> wrote:
>>
>>> File pages mapped only in sequentially read mappings are perfect
>>> reclaim canditates.
>>>
>>> This makes MADV_SEQUENTIAL mappings behave like a weak references,
>>> their pages will be reclaimed unless they have a strong reference from
>>> a normal mapping as well.
>>>
>>> The patch changes the reclaim and the unmap path where they check if
>>> the page has been referenced. In both cases, accesses through
>>> sequentially read mappings will be ignored.
>>>
>>> Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
>>> ---
>>> II: add likely()s to mitigate the extra branches a bit as to Nick's
>>> suggestion
>>
>> Is http://hannes.saeurebad.de/madvseq/ still true with this version?
>
> No, sorry, still running benchmarks on this version. Coming up
> soon...
Ok, reran the tests I used for the data on this website and updated it.
Take a look. I am quite overwhelmed by the results, hehe.
Kosaki-san, could you perhaps run the tests you did for the previous
patch on this one, too? I am not getting any stable results for
throughput measuring...
> Hannes
--
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:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2008-10-22 0:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-21 10:32 [rfc] mm: more likely reclaim MADV_SEQUENTIAL mappings Johannes Weiner
2008-10-21 10:43 ` Nick Piggin
2008-10-21 11:33 ` [patch] mm: more likely reclaim MADV_SEQUENTIAL mappings II Johannes Weiner
2008-10-21 22:13 ` Andrew Morton
2008-10-22 0:09 ` Johannes Weiner
2008-10-22 0:51 ` Johannes Weiner [this message]
2008-10-22 6:39 ` KOSAKI Motohiro
2008-10-22 7:15 ` Johannes Weiner
2008-10-22 7:41 ` Andrew Morton
2008-10-24 0:21 ` Johannes Weiner
2008-10-24 12:55 ` KOSAKI Motohiro
2008-10-24 14:02 ` Johannes Weiner
2008-10-24 14:31 ` Rik van Riel
2008-10-24 16:15 ` Johannes Weiner
2008-10-24 23:48 ` Johannes Weiner
2008-10-24 18:59 ` KOSAKI Motohiro
2008-10-21 14:40 ` [rfc] mm: more likely reclaim MADV_SEQUENTIAL mappings Rik van Riel
2008-10-21 15:20 ` Johannes Weiner
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=87ljwhfo4e.fsf@saeurebad.de \
--to=hannes@saeurebad.de \
--cc=akpm@linux-foundation.org \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-mm@kvack.org \
--cc=npiggin@suse.de \
--cc=riel@redhat.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.