Re: [RFC][PATCH] page reclaim throttle take2

From: David Rientjes
Date: Wed Feb 27 2008 - 00:20:35 EST


On Wed, 27 Feb 2008, Balbir Singh wrote:

> >> CONFIG_SIMULTANEOUS_PAGE_RECLAIMERS
> >> int
> >> default 3
> >> depends on DEBUG
> >> help
> >> This value determines the number of threads which can do page reclaim
> >> in a zone simultaneously. If this is too big, performance under heavy memory
> >> pressure will decrease.
> >> If unsure, use default.
> >> ==
> >>
> >> Then, you can get performance reports from people interested in this
> >> feature in test cycle.
> >
> > hm, intersting.
> > but sysctl parameter is more better, i think.
> >
> > OK, I'll add it at next post.
>
> I think sysctl should be interesting. The config option provides good
> documentation, but it is static in nature (requires reboot to change). I wish we
> could have the best of both worlds.
>

I disagree, the config option is indeed static but so is the NUMA topology
of the machine. It represents the maximum number of page reclaim threads
that should be allowed for that specific topology; a maximum should not
need to be redefined with yet another sysctl and should remain independent
of various workloads.

However, I would recommend adding the word "MAX" to the config option.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/