From: Marc Singer <elf@buici.com>
To: William Lee Irwin III <wli@holomorphy.com>,
Marc Singer <elf@buici.com>,
linux-mm@kvack.org
Subject: Re: Might refill_inactive_zone () be too aggressive?
Date: Sat, 17 Apr 2004 12:25:47 -0700 [thread overview]
Message-ID: <20040417192547.GA11065@flea> (raw)
In-Reply-To: <20040417191955.GO743@holomorphy.com>
On Sat, Apr 17, 2004 at 12:19:55PM -0700, William Lee Irwin III wrote:
> On Sat, Apr 17, 2004 at 11:44:24AM -0700, Marc Singer wrote:
> > That's a difficult thing to do. My test setup uses an NFS root and
> > the IO is over NFS. Due to some oddities in the NFS code, performance
> > is variable to a degree that does not make for good timing
> > comparisons. I'm looking for a way to enable TCP nfsroot mounts.
> > Once this is working, I may be able to get some reliable numbers.
> > It's your call about waiting for performance numbers. As soon as I
> > have better data, I'll post it. Setting the swappiness flag does
> > work, so I can give my users something for now. It is possible that
> > this will work for all cases that I'm ever going to see. Setting
> > swappiness to zero and the user mapping 50% of RAM will once again
> > cause reclaim_mapped to go into action. The difference is that with
> > swappiness of 60, I'm not allowed to keep any mapped pages in RAM. At
> > swappiness of 0, I'm allows to keep half of total RAM mapped.
>
> That's something of a normative question about the heuristics, and I
> try to steer clear of those, though I'm not entirely sure that's how I
> would interpret it the tunings for your descriptive parts.
The more I think about it, the more I think that there is something
awry. Once distress reaches 50, swappiness is going to rule the
ability of the system to keep pages mapped. If swappiness is then 50
or more, vmscan is going age and then purge every mapped page.
> In the absence of "hard" numbers, you might still be able to use things
> like wall clock timings. Another thing that would help is to expose the
> thing to a variety of workloads/etc. For that, I guess I post to lkml.
Are you suggesting that I post to LKML to get some ideas about other
workloads?
--
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:[~2004-04-17 19:25 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
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 [this message]
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=20040417192547.GA11065@flea \
--to=elf@buici.com \
--cc=linux-mm@kvack.org \
--cc=wli@holomorphy.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