Re: [HACKERS] Clock with Adaptive Replacement

Поиск
Список
Период
Сортировка
Искать
От
Merlin Moncure
Тема
Re: [HACKERS] Clock with Adaptive Replacement
Дата
в 20:37:48
Msg-id
CAHyXU0xTYFxLeBzS6cfAHEkd_pancJg_u9GCZVDtXuCp0JrvFg@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Clock with Adaptive Replacement Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: Clock with Adaptive Replacement Robert Haas <robertmhaas@gmail.com>
Re: Clock with Adaptive Replacement Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: Clock with Adaptive Replacement Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: Clock with Adaptive Replacement Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Clock with Adaptive Replacement Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Clock with Adaptive Replacement Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] Clock with Adaptive Replacement Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Clock with Adaptive Replacement Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Clock with Adaptive Replacement Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Clock with Adaptive Replacement Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Clock with Adaptive Replacement Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Clock with Adaptive Replacement Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Clock with Adaptive Replacement Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Clock with Adaptive Replacement Yura Sokolov <funny.falcon@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] Clock with Adaptive Replacement Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Clock with Adaptive Replacement Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Clock with Adaptive Replacement Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] Clock with Adaptive Replacement Юрий Соколов <funny.falcon@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] Clock with Adaptive Replacement Yura Sokolov <funny.falcon@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] Clock with Adaptive Replacement Yura Sokolov <funny.falcon@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] Clock with Adaptive Replacement Yura Sokolov <funny.falcon@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Юрий Соколов <funny.falcon@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Юрий Соколов <funny.falcon@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Merlin Moncure <mmoncure@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] Clock with Adaptive Replacement Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Jesper Pedersen <jesper.pedersen@redhat.com>
Re: [HACKERS] Clock with Adaptive Replacement Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Clock with Adaptive Replacement Юрий Соколов <funny.falcon@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Clock with Adaptive Replacement Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Clock with Adaptive Replacement Andres Freund <andres@anarazel.de>
Re: [HACKERS] Clock with Adaptive Replacement Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] Clock with Adaptive Replacement Юрий Соколов <funny.falcon@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] Clock with Adaptive Replacement Andres Freund <andres@anarazel.de>
Re: [HACKERS] Clock with Adaptive Replacement Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] Clock with Adaptive Replacement Andres Freund <andres@anarazel.de>
Re: [HACKERS] Clock with Adaptive Replacement Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] Clock with Adaptive Replacement Andres Freund <andres@anarazel.de>
Re: [HACKERS] Clock with Adaptive Replacement Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] Clock with Adaptive Replacement Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Clock with Adaptive Replacement Юрий Соколов <funny.falcon@gmail.com>
Re: [HACKERS] Clock with Adaptive Replacement Thomas Munro <thomas.munro@enterprisedb.com>
Re: Clock with Adaptive Replacement "ben.manes" <ben.manes@gmail.com>
Re: Clock with Adaptive Replacement Andrey Borodin <x4mmm@yandex-team.ru>
Re: [HACKERS] Clock with Adaptive Replacement Юрий Соколов <funny.falcon@gmail.com>
On Wed, May 9, 2018 at 11:00 AM Robert Haas  wrote:

> Independently of that, it would be probably also useful to avoid
> bumping the reference count multiple times when a buffer is accessed
> by the same backend several times in quick succession.  Perhaps this
> could even be as simple as maintaining a list of the last two buffer
> IDs for which we bumped the usage count; if we see one of them again,
> don't bump the usage count again.

Hm.  Is the objective here to optimize access patterns or to reduce atomic
operations (or both)?   All else being equal, an algorithm that delivers
the similar eviction results with less cache synchronization ought to be
preferred...are the various algorithms scored in that way?

merlin

В списке pgsql-hackers по дате отправления
От: Alvaro Herrera
Дата:
От: Robert Haas
Дата:
FAQ