Re: Page replacement algorithm in buffer cache

From: Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
To: "'Atri Sharma'" <atri(dot)jiit(at)gmail(dot)com>
Cc: "'Pg Hackers'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Page replacement algorithm in buffer cache
Date: 2013-03-22 11:23:41
Message-ID: 007d01ce26ef$b5705440$2050fcc0$@kapila@huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Friday, March 22, 2013 4:36 PM Atri Sharma wrote:
> >
> > What would you do if the only young page has usage count zero during
> second
> > sweep.
>
> Umm....The same approach we take when there is no page with usage
> count zero in a sweep in the current algorithm?

It would give more priority to young page as compare to more used page.
I don't know if that would be correct thing to do.

With Regards,
Amit Kapila.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Atri Sharma 2013-03-22 11:29:38 Re: Page replacement algorithm in buffer cache
Previous Message Atri Sharma 2013-03-22 11:06:13 Re: Page replacement algorithm in buffer cache