Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-07 Thread Rik van Riel
On Wed, 7 Nov 2007 09:59:45 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Tue, 6 Nov 2007 21:51:27 -0500 Rik van Riel <[EMAIL PROTECTED]> wrote: > > Which is why we need to greatly reduce the number of pages > > scanned to free a page. In all workloads. > > It strikes me that splitting

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-07 Thread Andrew Morton
> On Tue, 6 Nov 2007 21:51:27 -0500 Rik van Riel <[EMAIL PROTECTED]> wrote: > On Tue, 6 Nov 2007 18:40:46 -0800 (PST) > Christoph Lameter <[EMAIL PROTECTED]> wrote: > > > On Tue, 6 Nov 2007, Rik van Riel wrote: > > > > > Also, a factor 16 increase in page size is not going to help > > > if

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-07 Thread Rik van Riel
On Wed, 7 Nov 2007 09:59:45 -0800 Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 6 Nov 2007 21:51:27 -0500 Rik van Riel [EMAIL PROTECTED] wrote: Which is why we need to greatly reduce the number of pages scanned to free a page. In all workloads. It strikes me that splitting one list

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-07 Thread Andrew Morton
On Tue, 6 Nov 2007 21:51:27 -0500 Rik van Riel [EMAIL PROTECTED] wrote: On Tue, 6 Nov 2007 18:40:46 -0800 (PST) Christoph Lameter [EMAIL PROTECTED] wrote: On Tue, 6 Nov 2007, Rik van Riel wrote: Also, a factor 16 increase in page size is not going to help if memory sizes also

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-06 Thread Rik van Riel
On Tue, 6 Nov 2007 18:40:46 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Tue, 6 Nov 2007, Rik van Riel wrote: > > > Also, a factor 16 increase in page size is not going to help > > if memory sizes also increase by a factor 16, since we already > > have trouble with today's

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-06 Thread Christoph Lameter
On Tue, 6 Nov 2007, Rik van Riel wrote: > Also, a factor 16 increase in page size is not going to help > if memory sizes also increase by a factor 16, since we already > have trouble with today's memory sizes. Note that a factor 16 increase usually goes hand in hand with more processors. The

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-06 Thread Rik van Riel
On Tue, 6 Nov 2007 18:11:39 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Sat, 3 Nov 2007, Rik van Riel wrote: > > > The current version only has the infrastructure. Large changes to > > the page replacement policy will follow later. > > H.. I'd rather see where we are

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-06 Thread Christoph Lameter
On Sat, 3 Nov 2007, Rik van Riel wrote: > The current version only has the infrastructure. Large changes to > the page replacement policy will follow later. H.. I'd rather see where we are going. One other way of addressing many of these issues is to allow large page sizes on the LRU which

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-06 Thread Christoph Lameter
On Sat, 3 Nov 2007, Rik van Riel wrote: The current version only has the infrastructure. Large changes to the page replacement policy will follow later. H.. I'd rather see where we are going. One other way of addressing many of these issues is to allow large page sizes on the LRU which

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-06 Thread Rik van Riel
On Tue, 6 Nov 2007 18:11:39 -0800 (PST) Christoph Lameter [EMAIL PROTECTED] wrote: On Sat, 3 Nov 2007, Rik van Riel wrote: The current version only has the infrastructure. Large changes to the page replacement policy will follow later. H.. I'd rather see where we are going.

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-06 Thread Christoph Lameter
On Tue, 6 Nov 2007, Rik van Riel wrote: Also, a factor 16 increase in page size is not going to help if memory sizes also increase by a factor 16, since we already have trouble with today's memory sizes. Note that a factor 16 increase usually goes hand in hand with more processors. The

Re: [RFC PATCH 0/10] split anon and file LRUs

2007-11-06 Thread Rik van Riel
On Tue, 6 Nov 2007 18:40:46 -0800 (PST) Christoph Lameter [EMAIL PROTECTED] wrote: On Tue, 6 Nov 2007, Rik van Riel wrote: Also, a factor 16 increase in page size is not going to help if memory sizes also increase by a factor 16, since we already have trouble with today's memory sizes.

[RFC PATCH 0/10] split anon and file LRUs

2007-11-03 Thread Rik van Riel
The current page replacement scheme in Linux has a number of problems, which can be boiled down to: - Sometimes the kernel evicts the wrong pages, which can result in bad performance. - The kernel scans over pages that should not be evicted. On systems with a few GB of RAM, this can result in

[RFC PATCH 0/10] split anon and file LRUs

2007-11-03 Thread Rik van Riel
The current page replacement scheme in Linux has a number of problems, which can be boiled down to: - Sometimes the kernel evicts the wrong pages, which can result in bad performance. - The kernel scans over pages that should not be evicted. On systems with a few GB of RAM, this can result in