linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* write drop behind effect on active scanning
@ 2001-05-23  7:33 Marcelo Tosatti
  2001-05-23 14:33 ` Daniel Phillips
  2001-05-23 15:39 ` Rik van Riel
  0 siblings, 2 replies; 6+ messages in thread
From: Marcelo Tosatti @ 2001-05-23  7:33 UTC (permalink / raw)
  To: Rik van Riel, Stephen C. Tweedie; +Cc: lkml, linux-mm


Hi, 

I just noticed a "bad" effect of write drop behind yesterday during some
tests.

The problem is that we deactivate written pages, thus making the inactive
list become pretty big (full of unfreeable pages) under write intensive IO
workloads.

So what happens is that we don't do _any_ aging on the active list, and in
the meantime the inactive list (which should have "easily" freeable
pages) is full of locked pages. 

I'm going to fix this one by replacing "deactivate_page(page)" to
"ClearPageReferenced(page)" in generic_file_write(). This way the written
pages are aged faster but we avoid the bad effect just described.

Any comments on the fix ?  

--
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.eu.org/Linux-MM/

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

end of thread, other threads:[~2001-05-23 15:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-23  7:33 write drop behind effect on active scanning Marcelo Tosatti
2001-05-23 14:33 ` Daniel Phillips
2001-05-23 13:25   ` Marcelo Tosatti
2001-05-23 15:30     ` Mark Hahn
2001-05-23 14:59       ` Marcelo Tosatti
2001-05-23 15:39 ` Rik van Riel

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