linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* use-once & 'rescuing' pages from inactive-dirty
@ 2001-08-23 17:55 Benjamin Redelings I
  2001-08-24  0:03 ` Daniel Phillips
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Redelings I @ 2001-08-23 17:55 UTC (permalink / raw)
  To: linux-mm

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-24  0:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-23 17:55 use-once & 'rescuing' pages from inactive-dirty Benjamin Redelings I
2001-08-24  0:03 ` Daniel Phillips

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox