pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <amit.kapila@huawei.com>
To: 'Atri Sharma' <atri.jiit@gmail.com>
Cc: 'Pg Hackers' <pgsql-hackers@postgresql.org>
Subject: Re: Page replacement algorithm in buffer cache
Date: Fri, 22 Mar 2013 16:53:41 +0530
Message-ID: <007d01ce26ef$b5705440$2050fcc0$@kapila@huawei.com> (raw)
In-Reply-To: <CAOeZVic+0Kqfyek8Dwwu0bGskLGjCp2b5xVyjGL5O=bhBBw2Cg@mail.gmail.com>
References: <CAOeZVic4HikhmzVD=ZP4JY9g8PgpyiQQOXOELWP=kR+=H1Frgg@mail.gmail.com>
	<514bf302.84d5440a.43f2.ffffe411SMTPIN_ADDED_BROKEN@mx.google.com>
	<08BBC126-D375-4743-B9A6-D1320D05D5C7@gmail.com>
	<514c3395.487a420a.28d1.764eSMTPIN_ADDED_BROKEN@mx.google.com>
	<CAOeZVifZ89tOtcKeC6C2917sVfSyR3xiMenorg8sNR2+y2W=Wg@mail.gmail.com>
	<514c39b2.c46f0e0a.7ee8.6b68SMTPIN_ADDED_BROKEN@mx.google.com>
	<CAOeZVic+0Kqfyek8Dwwu0bGskLGjCp2b5xVyjGL5O=bhBBw2Cg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.
 



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (82+ messages)  latest in thread

Message-ID: <007d01ce26ef$b5705440$2050fcc0$@kapila@huawei.com>
Permalink:  ../007d01ce26ef$b5705440$2050fcc0$@kapila@huawei.com/
Also on:    postgresql.org/message-id/007d01ce26ef$b5705440$2050fcc0$@kapila@huawei.com

 · 

reply

Reply instructions:

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

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: amit.kapila@huawei.com, atri.jiit@gmail.com
  Subject: Re: Page replacement algorithm in buffer cache
  In-Reply-To: <007d01ce26ef$b5705440$2050fcc0$@kapila@huawei.com>

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

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox