Re: [PATCH 5/6] vmscan: Write out ranges of pages contiguous to the inode where possible

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Friday, June 11, 2010 - 2:33 pm

On Fri, 11 Jun 2010 21:44:11 +0100
Mel Gorman <mel@csn.ul.ie> wrote:


Enough to slow things down ;)

This problem used to hurt a lot.  Since those times we've decreased the
default value of /proc/sys/vm/dirty*ratio by a lot, which surely
papered over this problem a lot.  We shouldn't forget that those ratios
_are_ tunable, after all.  If we make a change which explodes the
kernel when someone's tuned to 40% then that's a problem and we'll need
to scratch our heads over the magnitude of that problem.

As for a workload which triggers the problem on a large machine which
is tuned to 20%/10%: dunno.  If we're reliably activating pages when
dirtying them then perhaps it's no longer a problem with the default
tuning.  I'd do some testing with mem=256M though - that has a habit of
triggering weirdnesses.

btw, I'm trying to work out if zap_pte_range() really needs to run
set_page_dirty().  Didn't (pte_dirty() && !PageDirty()) pages get
themselves stamped out?


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 6/6] vmscan: Do not writeback pages in direct r ..., Christoph Hellwig, (Fri Jun 11, 9:25 am)
Re: [PATCH 5/6] vmscan: Write out ranges of pages contiguo ..., Christoph Hellwig, (Fri Jun 11, 9:27 am)
Re: [PATCH 6/6] vmscan: Do not writeback pages in direct r ..., Christoph Hellwig, (Fri Jun 11, 10:49 am)
Re: [PATCH 5/6] vmscan: Write out ranges of pages contiguo ..., Andrew Morton, (Fri Jun 11, 2:33 pm)