From: Jonathan Morton <chromi@cyberspace.org>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-mm@kvack.org
Subject: Re: VM tuning patch, take 2
Date: Thu, 7 Jun 2001 19:47:26 +0100 [thread overview]
Message-ID: <l0313031bb7457c3ad660@[192.168.239.105]> (raw)
In-Reply-To: <Pine.LNX.4.21.0106071357460.1156-100000@freak.distro.conectiva>
>> - new pages are still given an age of PAGE_AGE_START, which is 2.
>> PAGE_AGE_ADV has been increased to 4, and PAGE_AGE_MAX to 128. Pages which
>> are demand-paged in from swap are given an initial age of PAGE_AGE_MAX/2,
>> or 64 - this should help to keep these (expensive) pages around for as long
>> as possible. Ageing down is now done using a decrement instead of a
>> division by 2, preserving the age information for longer.
>
>Just one comment about this specific change. I would not like to tweak the
>PAGE_AGE_* values until we have centralized page aging. (ie only kswapd
>doing the aging)
I forgot to mention, I also have applied the patch which causes allocations
to wait on kswapd. As far as I can tell, the actual numbers attached to
the ageing matter far less than how they are applied.
--------------------------------------------------------------
from: Jonathan "Chromatix" Morton
mail: chromi@cyberspace.org (not for attachments)
The key to knowledge is not to rely on people to teach you it.
GCS$/E/S dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS
PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*)
--
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/
next prev parent reply other threads:[~2001-06-07 18:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-07 17:48 Jonathan Morton
2001-06-07 16:59 ` Marcelo Tosatti
2001-06-07 18:47 ` Jonathan Morton [this message]
2001-06-09 3:17 ` Rik van Riel
2001-06-09 1:52 ` Marcelo Tosatti
2001-06-09 3:55 ` Rik van Riel
2001-06-07 18:23 ` Jonathan Morton
2001-06-07 18:26 ` Jeff Garzik
2001-06-09 3:15 ` Rik van Riel
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='l0313031bb7457c3ad660@[192.168.239.105]' \
--to=chromi@cyberspace.org \
--cc=linux-mm@kvack.org \
--cc=marcelo@conectiva.com.br \
/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