[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45B582CF.1050408@in.ibm.com>
Date: Tue, 23 Jan 2007 09:06:47 +0530
From: Balbir Singh <balbir@...ibm.com>
To: Rik van Riel <riel@...hat.com>
CC: Christoph Lameter <clameter@....com>,
Andrea Arcangeli <andrea@...e.de>,
Niki Hammler <mailinglists@...aq.net>,
linux-kernel@...r.kernel.org,
Vaidyanathan Srinivasan <svaidy@...ux.vnet.ibm.com>
Subject: Re: Why active list and inactive list?
Rik van Riel wrote:
> Christoph Lameter wrote:
>
>> With the proposed schemd you would have to move pages between lists if
>> they are mapped and unmapped by a process. Terminating a process could
>> lead to lots of pages moving to the unnmapped list.
>
> That could be a problem.
>
> Another problem is that any such heuristic in the VM is
> bound to have corner cases that some workloads will hit.
>
> It would be really nice if we came up with a page replacement
> algorithm that did not need many extra heuristics to make it
> work...
>
Yes, it's damn hard at times. I was reading through an article
(Architectural support for translation table management in large address
space machines - Huck and Hayes), it talks about how Object Oriented
Systems encourage more sharing and decrease the locality of resulting
virtual address memory stream. Even multi threading tends to impact
locality of references.
Unfortunately, we have only heuristics to go by and of-course their
mathematical model.
I have always wondered if it would be useful to have a kernel debug
feature that can extract page references per task, it would be good
to see the page references (last 'n') of a workload that is not
doing too well on a particular system.
--
Balbir Singh
Linux Technology Center
IBM, ISTL
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists