All of lore.kernel.org
 help / color / mirror / Atom feed
From: liyu <liyu@ccoss.com.cn>
To: Song Jiang <sjiang@lanl.gov>
Cc: LKML <linux-kernel@vger.kernel.org>, Linux-MM <linux-mm@kvack.org>
Subject: Re: [Question] How to understand Clock-Pro algorithm?
Date: Tue, 20 Sep 2005 13:02:25 +0800	[thread overview]
Message-ID: <432F97E1.4080805@ccoss.com.cn> (raw)
In-Reply-To: <1127188898.3130.52.camel@moon.c3.lanl.gov>


Hi:

    OOh, the original author here! Thanks a lot.

    Let's assume Mn is the total number of non-resident pages in follow 
words.

    Nod, 'M=Mh+Mc' and 'Mc+Mn' < 2M are always true.

    Have this implied that Mn is alway less than M? I think so.

    but if "Once the number exceeds M the memory size in number of pages,
we terminted the test period of the cold page pointed to by HAND-test."

    If Mn is alway less than M, when we move to HAND-test?

    Or, my view have error.

    I doublt on this, in fact.

    Good luck.

                                                                    Liyu


Song Jiang Wrote:

>On Mon, 2005-09-19 at 21:11, liyu wrote:
>
>  
>
>>    My question is out:As this paper words, the number of cold page is 
>>total of resident cold pages
>>and non-resident pages. It's the seem number of non-resident cold pages 
>>can not beyond M at all!
>>    
>>
>
>You are right. So the total number of pages (non-resident + resident)
>around the clock is no more than 2m 
>(m is the memory size in pages).
>
>  
>
>>   
>>    I also have more questions on CLOCK-Pro. but this question is most 
>>doublt for me.
>>
>>    
>>
>  I am happy to help. I also have the clock-pro simulator that
>almost exactly simulates what's described in the paper. Let me
>know if you want it.
>
>   Song Jiang
>
>  
>
>>liyu
>>
>>   
>>
>>
>>
>>   
>>   
>>
>>--
>>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/ .
>>Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
>>    
>>
>
>--
>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/ .
>Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
>
>
>  
>


WARNING: multiple messages have this Message-ID (diff)
From: liyu <liyu@ccoss.com.cn>
To: Song Jiang <sjiang@lanl.gov>
Cc: LKML <linux-kernel@vger.kernel.org>, Linux-MM <linux-mm@kvack.org>
Subject: Re: [Question] How to understand Clock-Pro algorithm?
Date: Tue, 20 Sep 2005 13:02:25 +0800	[thread overview]
Message-ID: <432F97E1.4080805@ccoss.com.cn> (raw)
In-Reply-To: <1127188898.3130.52.camel@moon.c3.lanl.gov>

Hi:

    OOh, the original author here! Thanks a lot.

    Let's assume Mn is the total number of non-resident pages in follow 
words.

    Nod, 'M=Mh+Mc' and 'Mc+Mn' < 2M are always true.

    Have this implied that Mn is alway less than M? I think so.

    but if "Once the number exceeds M the memory size in number of pages,
we terminted the test period of the cold page pointed to by HAND-test."

    If Mn is alway less than M, when we move to HAND-test?

    Or, my view have error.

    I doublt on this, in fact.

    Good luck.

                                                                    Liyu


Song Jiang Wrote:

>On Mon, 2005-09-19 at 21:11, liyu wrote:
>
>  
>
>>    My question is out:As this paper words, the number of cold page is 
>>total of resident cold pages
>>and non-resident pages. It's the seem number of non-resident cold pages 
>>can not beyond M at all!
>>    
>>
>
>You are right. So the total number of pages (non-resident + resident)
>around the clock is no more than 2m 
>(m is the memory size in pages).
>
>  
>
>>   
>>    I also have more questions on CLOCK-Pro. but this question is most 
>>doublt for me.
>>
>>    
>>
>  I am happy to help. I also have the clock-pro simulator that
>almost exactly simulates what's described in the paper. Let me
>know if you want it.
>
>   Song Jiang
>
>  
>
>>liyu
>>
>>   
>>
>>
>>
>>   
>>   
>>
>>--
>>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/ .
>>Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
>>    
>>
>
>--
>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/ .
>Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
>
>
>  
>

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2005-09-20  5:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-20  3:11 [Question] How to understand Clock-Pro algorithm? liyu
2005-09-20  3:11 ` liyu
2005-09-20  4:01 ` Song Jiang
2005-09-20  4:01   ` Song Jiang
2005-09-20  5:02   ` liyu [this message]
2005-09-20  5:02     ` liyu
2005-09-20  5:16     ` Song Jiang
2005-09-20  5:16       ` Song Jiang
2005-09-20  5:28       ` liyu
2005-09-20  5:28         ` liyu
2005-09-20  6:01       ` liyu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=432F97E1.4080805@ccoss.com.cn \
    --to=liyu@ccoss.com.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=sjiang@lanl.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.