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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Rientjes
Date: Wednesday, February 27, 2008 - 12:19 am

On Wed, 27 Feb 2008, KOSAKI Motohiro wrote:


My suggestion is merely to make the number of concurrent page reclaim 
threads be a function of how many online cpus there are.  Threads can 
easily be added or removed for cpu hotplug events by callback functions.

That's different than allowing users to change the number of threads with 
yet another sysctl.  Unless there are situations that can be presented 
where tuning the number of threads is advantageous to reduce lock 
contention, for example, and not simply working around other VM problems, 
then I see no point for an additional sysctl.

So my suggestion is to implement this in terms of 
CONFIG_NUM_RECLAIM_THREADS_PER_CPU and add callback functions for cpu 
hotplug events that add or remove this number of threads.

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

Messages in current thread:
[RFC][PATCH] page reclaim throttle take2 , KOSAKI Motohiro, (Mon Feb 25, 7:32 pm)
Re: [RFC][PATCH] page reclaim throttle take2, Peter Zijlstra, (Tue Feb 26, 2:18 pm)
Re: [RFC][PATCH] page reclaim throttle take2, KAMEZAWA Hiroyuki, (Tue Feb 26, 5:50 pm)
Re: [RFC][PATCH] page reclaim throttle take2, KOSAKI Motohiro, (Tue Feb 26, 9:26 pm)
Re: [RFC][PATCH] page reclaim throttle take2, Balbir Singh, (Tue Feb 26, 9:27 pm)
Re: [RFC][PATCH] page reclaim throttle take2, KOSAKI Motohiro, (Tue Feb 26, 9:45 pm)
Re: [RFC][PATCH] page reclaim throttle take2, KAMEZAWA Hiroyuki, (Tue Feb 26, 10:00 pm)
Re: [RFC][PATCH] page reclaim throttle take2, Balbir Singh, (Tue Feb 26, 10:03 pm)
Re: [RFC][PATCH] page reclaim throttle take2, KOSAKI Motohiro, (Tue Feb 26, 10:04 pm)
Re: [RFC][PATCH] page reclaim throttle take2, KOSAKI Motohiro, (Tue Feb 26, 10:13 pm)
Re: [RFC][PATCH] page reclaim throttle take2, David Rientjes, (Tue Feb 26, 10:19 pm)
Re: [RFC][PATCH] page reclaim throttle take2, KOSAKI Motohiro, (Tue Feb 26, 10:33 pm)
Re: [RFC][PATCH] page reclaim throttle take2, David Rientjes, (Tue Feb 26, 10:47 pm)
Re: [RFC][PATCH] page reclaim throttle take2, Balbir Singh, (Tue Feb 26, 10:48 pm)
Re: [RFC][PATCH] page reclaim throttle take2, David Rientjes, (Tue Feb 26, 11:09 pm)
Re: [RFC][PATCH] page reclaim throttle take2, KOSAKI Motohiro, (Tue Feb 26, 11:52 pm)
Re: [RFC][PATCH] page reclaim throttle take2, KOSAKI Motohiro, (Wed Feb 27, 12:10 am)
Re: [RFC][PATCH] page reclaim throttle take2, David Rientjes, (Wed Feb 27, 12:19 am)
Re: [RFC][PATCH] page reclaim throttle take2, KAMEZAWA Hiroyuki, (Wed Feb 27, 12:51 am)
Re: [RFC][PATCH] page reclaim throttle take2, David Rientjes, (Wed Feb 27, 12:56 am)
Re: [RFC][PATCH] page reclaim throttle take2, Balbir Singh, (Wed Feb 27, 12:59 am)
Re: [RFC][PATCH] page reclaim throttle take2, KAMEZAWA Hiroyuki, (Wed Feb 27, 1:09 am)
Re: [RFC][PATCH] page reclaim throttle take2, David Rientjes, (Wed Feb 27, 1:47 am)
Re: [RFC][PATCH] page reclaim throttle take2, Balbir Singh, (Wed Feb 27, 2:01 am)
Re: [RFC][PATCH] page reclaim throttle take2, Peter Zijlstra, (Wed Feb 27, 2:44 am)
Re: [RFC][PATCH] page reclaim throttle take2, Rik van Riel, (Wed Feb 27, 8:30 am)