public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Erblichs <erblichs@earthlink.net>
To: linux-kernel@vger.kernel.org
Subject: Kernel: question/bug: mm/vmscan.c : refill_inactive_zone() : 2.4.18-3
Date: Thu, 05 Dec 2002 14:36:44 -0800	[thread overview]
Message-ID: <3DEFD4FC.7D2ED539@earthlink.net> (raw)

Statement:

	In a "while" loop we are looking for a target number of
	pages to deactivate.

Question?
	If there are a large number of processes that have not
	exceeded their Resident Set Size (rss) and they are
	keeping their pages hot, then we won't reach our target
	value. This would keep our inactive page list small.

Suggestion and solution:
	In this environment, I would think it would make sense
	to effectively walk this list again (without aging)
	and effectively half the rss so we are able to reach
	our target value.

	I would think that this approach would then penalize
	all tasks equally. If halving the rss is too extreme,
	then an increased percentage (< 100%) would walk more
	pages to reach the target value.

	Mitchell Erblich : erblichs@earthlink.net
	Note: I am not currently on this mail alias.

                 reply	other threads:[~2002-12-05 22:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3DEFD4FC.7D2ED539@earthlink.net \
    --to=erblichs@earthlink.net \
    --cc=linux-kernel@vger.kernel.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