From: Mel Gorman <mel@csn.ul.ie>
To: Adam Litke <agl@us.ibm.com>
Cc: linux-mm@kvack.org, "Martin J. Bligh" <mbligh@aracnet.com>
Subject: Re: [RFC] prefault optimization
Date: Mon, 18 Aug 2003 14:19:16 +0100 (IST) [thread overview]
Message-ID: <Pine.LNX.4.53.0308181411380.26766@skynet> (raw)
In-Reply-To: <3F32ECE0.1000102@us.ibm.com>
On Thu, 7 Aug 2003, Adam Litke wrote:
> This patch attempts to reduce page fault overhead for mmap'd files. All
> pages in the page cache that will be managed by the current vma are
> instantiated in the page table.
I believe this could punish applications which use large numbers of shared
libraries, especially if only a small portion of library code is used.
Take something like konqueror which maps over 30 shared libraries. With
prefaulting, all the libraries will be fully faulted even if only a tiny
portion of some library code is used. This, potentially, could put a lot
of unwanted pages into the page cache which will be a kick in the pants
for low-memory systems.
For example, I don't have audio enabled at all in konqueror, but with this
patch, it will fault in 77K of data for libaudio that won't be used.
Just my 2c
--
Mel Gorman
http://www.csn.ul.ie/~mel
--
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>
next prev parent reply other threads:[~2003-08-18 13:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-08 0:20 Adam Litke
2003-08-08 1:37 ` Andrew Morton
2003-08-14 21:45 ` Adam Litke
2003-08-14 21:47 ` Adam Litke
2003-08-18 13:19 ` Mel Gorman [this message]
2003-08-18 17:15 ` Martin J. Bligh
2003-08-15 16:08 Adam Litke
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=Pine.LNX.4.53.0308181411380.26766@skynet \
--to=mel@csn.ul.ie \
--cc=agl@us.ibm.com \
--cc=linux-mm@kvack.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