From: Benjamin Redelings I <bredelin@ucla.edu>
To: linux-mm@kvack.org
Subject: use-once & 'rescuing' pages from inactive-dirty
Date: Thu, 23 Aug 2001 10:55:50 -0700 [thread overview]
Message-ID: <3B8543A6.1000904@ucla.edu> (raw)
Hello Daniel and others,
Firstly, I'd like to report that, with 2.4.9+SetPagReferenced+vma-merge,
I can actually run mozilla on a 64Mb box while 'find' is running, which
hasn't been true for a long time. Previously, I could run netscape,
somewhat, but mozilla wants an RSS of 25-35Mb as opposed to 10-15Mb so
mozilla would just barely run. I would get delays of minutes repainting
pages and stuff while find was running, though mozilla worked fine when
'find' wasn't running.
So, maybe the use-once patch is actually working now.
Now, this did NOT work with 2.4.9, but it requited the SetPageReferenced
fix to work. Daniel, you said that a SetPageReferenced, or something,
needed to be added to a few other paths, to 'rescue' other types of
pages before they got the end of the inactive-dirty list.
a) if you make a patch, for these other places, I'd be glad to test it :)
b) shouldn't the swap pages get referenced if they are used twice? What
makes swap pages, mmap pages, etc. different from normal file pages, so
that they have to get 'rescued' with a SetPageReferenced? Does the
fact that swap pages need to be rescued imply that the inactive-dirty
list really isn't long enough for use-once, in practice? Does the
performance increase perhaps come from having swapped-in pages have a
higher PAGE_AGE_START (in a sense) than file pages? Because that would
give preference to 'mozilla' pages over 'find' pages, and explain why I
can run mozilla...
Anyway, just wondering. 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/
next reply other threads:[~2001-08-23 17:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-23 17:55 Benjamin Redelings I [this message]
2001-08-24 0:03 ` use-once & 'rescuing' pages from inactive-dirty Daniel Phillips
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=3B8543A6.1000904@ucla.edu \
--to=bredelin@ucla.edu \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.