Re: [RFC][PATCH] split file and anonymous page queues #2

2007-03-20 Thread Rik van Riel
Bob Picco wrote: + /* +* anon recent_rotated_anon +* %anon = 100 * - / --- * IO cost +* anon+file recent_scanned_anon +*/ + anon_l = (anon_prio + 1) * (zone->recent_scanned_anon + 1); +

Re: [RFC][PATCH] split file and anonymous page queues #2

2007-03-20 Thread Bob Picco
Rik van Riel wrote: [Mon Mar 19 2007, 07:52:34PM EST] > Split the anonymous and file backed pages out onto their own pageout > queues. This we do not unnecessarily churn through lots of anonymous > pages when we do not want to swap them out anyway. > > This should (with additional tuning) be

Re: [RFC][PATCH] split file and anonymous page queues #2

2007-03-20 Thread Rik van Riel
Lee Schermerhorn wrote: On Mon, 2007-03-19 at 20:52 -0400, Rik van Riel wrote: Split the anonymous and file backed pages out onto their own pageout queues. This we do not unnecessarily churn through lots of anonymous pages when we do not want to swap them out anyway. This should (with addition

Re: [RFC][PATCH] split file and anonymous page queues #2

2007-03-20 Thread Lee Schermerhorn
On Mon, 2007-03-19 at 20:52 -0400, Rik van Riel wrote: > Split the anonymous and file backed pages out onto their own pageout > queues. This we do not unnecessarily churn through lots of anonymous > pages when we do not want to swap them out anyway. > > This should (with additional tuning) be a g

Re: [RFC][PATCH] split file and anonymous page queues #2

2007-03-20 Thread Rik van Riel
Nick Piggin wrote: Rik van Riel wrote: We apply pressure to each of sets of the pageout queues based on: - the size of each queue - the fraction of recently referenced pages in each queue, not counting used-once file pages - swappiness (file IO is more efficient than swap IO) This ignore

Re: [RFC][PATCH] split file and anonymous page queues #2

2007-03-19 Thread Nick Piggin
Rik van Riel wrote: Split the anonymous and file backed pages out onto their own pageout queues. This we do not unnecessarily churn through lots of anonymous pages when we do not want to swap them out anyway. This should (with additional tuning) be a great step forward in scalability, allowing

Re: [RFC][PATCH] split file and anonymous page queues #2

2007-03-19 Thread Rik van Riel
Rik van Riel wrote: Split the anonymous and file backed pages out onto their own pageout queues. This we do not unnecessarily churn through lots of anonymous pages when we do not want to swap them out anyway. Please take this patch for a spin and let me know what goes well and what goes wrong

[RFC][PATCH] split file and anonymous page queues #2

2007-03-19 Thread Rik van Riel
Split the anonymous and file backed pages out onto their own pageout queues. This we do not unnecessarily churn through lots of anonymous pages when we do not want to swap them out anyway. This should (with additional tuning) be a great step forward in scalability, allowing Linux to run well on