Re: Reduce ProcArrayLock contention

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: Reduce ProcArrayLock contention
Дата
Msg-id
CA+TgmoaLL7R50Fc-J8Ez301anCyOtLO56GN2cqnoSnZ2wMYAxQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Pavan Deolasee <pavan.deolasee@gmail.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Jesper Pedersen <jesper.pedersen@redhat.com>
Re: Reduce ProcArrayLock contention Pavan Deolasee <pavan.deolasee@gmail.com>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Pavan Deolasee <pavan.deolasee@gmail.com>
Re: Reduce ProcArrayLock contention Simon Riggs <simon@2ndQuadrant.com>
Re: Reduce ProcArrayLock contention Andres Freund <andres@anarazel.de>
Re: Reduce ProcArrayLock contention Simon Riggs <simon@2ndQuadrant.com>
Re: Reduce ProcArrayLock contention Robert Haas <robertmhaas@gmail.com>
Re: Reduce ProcArrayLock contention Simon Riggs <simon@2ndQuadrant.com>
Re: Reduce ProcArrayLock contention Peter Geoghegan <pg@heroku.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Simon Riggs <simon@2ndQuadrant.com>
Re: Reduce ProcArrayLock contention Amit Kapila <amit.kapila16@gmail.com>
Re: Reduce ProcArrayLock contention Simon Riggs <simon@2ndQuadrant.com>
On Tue, Aug 4, 2015 at 11:50 AM, Amit Kapila  wrote:
> I have kept barriers based on comments on top of atomic read, refer
> below code:
>
>  * No barrier semantics.
>  */
> STATIC_IF_INLINE uint32
> pg_atomic_read_u32(volatile pg_atomic_uint32 *ptr)
>
> Note - The function header comments on pg_atomic_read_u32 and
> corresponding write call seems to be reversed, but that is something
> separate.

That doesn't matter, because the compare-and-exchange *is* a barrier.
Putting a barrier between a store and an operation that is already a
barrier doesn't do anything useful.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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