linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Redelings I <bredelin@ucla.edu>
To: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: VM question: side effect of not scanning Active pages?
Date: Sun, 14 Oct 2001 16:30:29 -0700	[thread overview]
Message-ID: <3BCA2015.5080306@ucla.edu> (raw)

Hello,
	In both Andrea and Rik's VM, I have tried modifying try_to_swap_out so
that a page would be skipped if it is "active".  For example, I have
currently modified 2.4.13-pre2 by adding:

          if (PageActive(page))
                  return 0;

after testing the hardware referenced bit.  This was motivated by
sections of VM-improvement patches written by both Rik and Andrea.
	This SEEMS to increase performance, but it has another side effect.  The
RSS of unused daemons no longer EVER drops to 4k, which it does without
this modification.  The RSS does decrease (usually) to the value of
shared memory, but the amount of shared memory only gets down to about
200-300k instead of decreasing to 4k.
	Can anyone tell me why not scanning Active page for swapout would have
this effect?  Thanks!

-BenRI
-- 
"I will begin again" - U2, 'New Year's Day'
Benjamin Redelings I      <><     http://www.bol.ucla.edu/~bredelin/


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

             reply	other threads:[~2001-10-14 23:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-14 23:30 Benjamin Redelings I [this message]
2001-10-14 18:55 ` Joseph A Knapka
     [not found]   ` <3BCA6F25.2000807@ucla.edu>
2001-10-14 23:58     ` Joseph A Knapka
2001-10-15 12:38 ` Jonathan Morton

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=3BCA2015.5080306@ucla.edu \
    --to=bredelin@ucla.edu \
    --cc=linux-kernel@vger.kernel.org \
    --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