Re: WIP: Faster Expression Processing v4

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: WIP: Faster Expression Processing v4
Дата
Msg-id
15684.1490621623@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
WIP: Faster Expression Processing and Tuple Deforming (including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Andres Freund <andres@anarazel.de>
[HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Heikki Linnakangas <hlinnaka@iki.fi>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Heikki Linnakangas <hlinnaka@iki.fi>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Douglas Doole <dougdoole@gmail.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Douglas Doole <dougdoole@gmail.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Ants Aasma <ants.aasma@eesti.ee>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Robert Haas <robertmhaas@gmail.com>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) Bruce Momjian <bruce@momjian.us>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Nico Williams <nico@cryptonector.com>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Robert Haas <robertmhaas@gmail.com>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Craig Ringer <craig@2ndquadrant.com>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Craig Ringer <craig@2ndquadrant.com>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Nico Williams <nico@cryptonector.com>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Nico Williams <nico@cryptonector.com>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) Markus Nullmeier <dq124@uni-heidelberg.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Robert Haas <robertmhaas@gmail.com>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) Dilip Kumar <dilipbalaut@gmail.com>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Peter Geoghegan <pg@heroku.com>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) CK Tan <cktan@vitessedata.com>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) CK Tan <cktan@vitessedata.com>
Andres Freund  writes:
>> I personally find per-function annotation ala
>> __attribute__((optimize("no-crossjumping")))
>> cleaner anyway.  I tested that, and it seems to work.
>> 
>> Obviously we'd have to hide that behind a configure test.  Could also do
>> tests based on __GNUC__ / __GNUC_MINOR__, but that seems uglier.

Agreed.

> Checking for this isn't entirely pretty - see my attached attempt at
> doing so.  I considered hiding
> __attribute__((optimize("no-crossjumping"))) in execInterpExpr.c behind
> a macro (like PG_DISABLE_CROSSJUMPING), but I don't really think that
> makes things better.

I think it would, primarily because if we find out that some other compiler
spells this differently, we could handle it totally within configure.

Isn't our practice to put __attribute__ at the end of a function
declaration or definition, not in the middle someplace?
		regards, tom lane


В списке pgsql-hackers по дате отправления
От: Craig Ringer
Дата:
От: Ashutosh Sharma
Дата:
FAQ