Re: Page replacement algorithm in buffer cache - Mailing list pgsql-hackers

From Atri Sharma
Subject Re: Page replacement algorithm in buffer cache
Date
Msg-id CAOeZVic+0Kqfyek8Dwwu0bGskLGjCp2b5xVyjGL5O=bhBBw2Cg@mail.gmail.com
Whole thread Raw
In response to Page replacement algorithm in buffer cache  (Atri Sharma <atri.jiit@gmail.com>)
Responses Re: Page replacement algorithm in buffer cache  (Amit Kapila <amit.kapila@huawei.com>)
Re: Page replacement algorithm in buffer cache  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
>
> 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?


> I don't think introducing another factor along with usage count would do any
> much help.

Which else approach can we take here?


> Have you encountered any such workload very relatively young pages are
> getting victimized
> and the same is causing performance issues?

Not yet, I figured this might be a problem and am designing test cases
for the same. I would be glad for some help there please.

Regards,

Atri




--
Regards,

Atri
l'apprenant



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Page replacement algorithm in buffer cache
Next
From: Amit Kapila
Date:
Subject: Re: Page replacement algorithm in buffer cache