From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx139.postini.com [74.125.245.139]) by kanga.kvack.org (Postfix) with SMTP id 048176B004A for ; Mon, 12 Mar 2012 13:32:54 -0400 (EDT) Received: by yenm8 with SMTP id m8so3600724yen.14 for ; Mon, 12 Mar 2012 10:32:51 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 12 Mar 2012 13:32:51 -0400 Message-ID: Subject: Re: ClockPro in Linux MM From: Zheng Da Content-Type: multipart/alternative; boundary=20cf303f6a44bcdaf604bb0f217a Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: linux-mm@kvack.org --20cf303f6a44bcdaf604bb0f217a Content-Type: text/plain; charset=ISO-8859-1 I know the implementation is different. Linux implementation doesn't have the clock heads. But I get a feel that the essence is the same except that Linux version doesn't have non-resident pages. Da On Mon, Mar 12, 2012 at 12:04 PM, Christoph Lameter wrote: > On Mon, 12 Mar 2012, Zheng Da wrote: > > > I try to understand the Linux memory management. I was told Linux uses > > ClockPro to manage page cache > > and http://linux-mm.org/PageReplacementDesign also says so for file > pages. > > But when I read the ClockPro paper, > > it doesn't look the same. The Linux implementation doesn't have > > non-resident pages. Other than > > that, it doesn't have the same test period mentioned in the paper. I > wonder > > if the Linux implementation > > have the same effect as ClockPro. Could anyone confirm Linux is still > using > > ClockPro? > > That Linux is using Clockpro is news to me. Linux Memory management uses > some ideas from Clockpro to improve reclaim etc but it does not implement > ClockPro. > > --20cf303f6a44bcdaf604bb0f217a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I know the implementation is different. Linux implementation doesn't ha= ve the clock heads.
But I get a feel that the essence is the same excep= t that Linux version doesn't have non-resident pages.

Da

On Mon, Mar 12, 2012 at 12:= 04 PM, Christoph Lameter <cl@linux.com> wrote:
On Mon, 12 Mar 2012, Zheng Da wrote= :

> I try to understand the Linux memory management. I was told Linux uses=
> ClockPro to manage page cache
> and http://linux-mm.org/PageReplacementDesign also says so for file p= ages.
> But when I read the ClockPro paper,
> it doesn't look the same. The Linux implementation doesn't hav= e
> non-resident pages. Other than
> that, it doesn't have the same test period mentioned in the paper.= I wonder
> if the Linux implementation
> have the same effect as ClockPro. Could anyone confirm Linux is still = using
> ClockPro?

That Linux is using Clockpro is news to me. Linux Memory manage= ment uses
some ideas from Clockpro to improve reclaim etc but it does not implement C= lockPro.


--20cf303f6a44bcdaf604bb0f217a-- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org