Re: Improve eviction algorithm in ReorderBuffer
От
Jeff Davis
Тема
Re: Improve eviction algorithm in ReorderBuffer
Дата
Msg-id
791d98f474e518387d09eb390b8a12f265d130cc.camel@j-davis.com
Ответ на
Re: Improve eviction algorithm in ReorderBuffer (Masahiko Sawada)
Список
Дерево обсуждения
Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer "Euler Taveira" <euler@eulerto.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Dilip Kumar <dilipbalaut@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer vignesh C <vignesh21@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
RE: Improve eviction algorithm in ReorderBuffer "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
RE: Improve eviction algorithm in ReorderBuffer "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Improve eviction algorithm in ReorderBuffer Shubham Khanna <khannashubham1197@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Ajin Cherian <itsajin@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Ajin Cherian <itsajin@gmail.com>
RE: Improve eviction algorithm in ReorderBuffer "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer vignesh C <vignesh21@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Tomas Vondra <tomas.vondra@enterprisedb.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Tomas Vondra <tomas.vondra@enterprisedb.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer vignesh C <vignesh21@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer vignesh C <vignesh21@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Heikki Linnakangas <hlinnaka@iki.fi>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Michael Paquier <michael@paquier.xyz>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Michael Paquier <michael@paquier.xyz>
Re: Improve eviction algorithm in ReorderBuffer Heikki Linnakangas <hlinnaka@iki.fi>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Heikki Linnakangas <hlinnaka@iki.fi>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Heikki Linnakangas <hlinnaka@iki.fi>
RE: Improve eviction algorithm in ReorderBuffer "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Michael Paquier <michael@paquier.xyz>
Re: Improve eviction algorithm in ReorderBuffer Heikki Linnakangas <hlinnaka@iki.fi>
RE: Improve eviction algorithm in ReorderBuffer "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Shubham Khanna <khannashubham1197@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer vignesh C <vignesh21@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Dilip Kumar <dilipbalaut@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
On Fri, 2024-04-05 at 16:58 +0900, Masahiko Sawada wrote: > > I have some further comments and I believe changes are required for > > v17. I also noticed that the simplehash is declared in binaryheap.h with "SH_SCOPE extern", which seems wrong. Attached is a rough patch to bring the declarations into binaryheap.c. Note that the attached patch uses "SH_SCOPE static", which makes sense to me in this case, but causes a bunch of warnings in gcc. I will post separately about silencing that warning, but for now you can either use: SH_SCOPE static inline which is probably fine, but will encourage the compiler to inline more code, when not all callers even use the hash table. Alternatively, you can do: SH_SCOPE static pg_attribute_unused() which looks a bit wrong to me, but seems to silence the warnings, and lets the compiler decide whether or not to inline. Also probably needs comment updates, etc. Regards, Jeff Davis
В списке pgsql-hackers по дате отправления