linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Marc Singer <elf@buici.com>
Cc: linux-mm@kvack.org
Subject: Re: Might refill_inactive_zone () be too aggressive?
Date: Sat, 17 Apr 2004 10:16:28 -0700	[thread overview]
Message-ID: <20040417171628.GL743@holomorphy.com> (raw)
In-Reply-To: <20040417140811.GA554@flea>

On Fri, Apr 16, 2004 at 11:18:47PM -0700, William Lee Irwin III wrote:
>> A very interesting point there. The tendency to set reclaim_mapped = 1
>> is controlled by /proc/sys/vm/swappiness; setting that to 0 may improve
>> your performance or behave closer to how the case you cited where vmscan.c
>> never sets reclaim_mapped = 1 improved performance.
>> The default value is 60, which begins unmapping mapped memory about
>> when 40% of memory is mapped by userspace.

On Sat, Apr 17, 2004 at 07:08:12AM -0700, Marc Singer wrote:
> I did a little more looking at when reclaim_mapped is set to one.  In
> my case, I don't think that very much memory is mapped.  I've got one
> program running that has one or two code pages, there may be some
> libraries.  The system has 28MiB of free RAM.  I don't see how I could
> be getting more than 20% of RAM mapped.

Also, it would be helpful to log periodic snapshots of /proc/meminfo and
/proc/vmstat to see what's being fed to the various heuristics.


-- wli

--
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>

  parent reply	other threads:[~2004-04-17 17:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-17  6:09 Marc Singer
2004-04-17  6:18 ` William Lee Irwin III
2004-04-17 14:08   ` Marc Singer
2004-04-17 14:21     ` William Lee Irwin III
2004-04-17 17:16     ` William Lee Irwin III [this message]
2004-04-17 17:57   ` Marc Singer
2004-04-17 18:10     ` William Lee Irwin III
2004-04-17 18:28       ` Marc Singer
2004-04-17 18:33         ` William Lee Irwin III
2004-04-17 18:44           ` Marc Singer
2004-04-17 19:19             ` William Lee Irwin III
2004-04-17 19:25               ` Marc Singer
2004-04-17 19:45                 ` William Lee Irwin III

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=20040417171628.GL743@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=elf@buici.com \
    --cc=linux-mm@kvack.org \
    /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