Re: Fix performance of generic atomics

From: Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)ru>
To: Sokolov Yura <funny(dot)falcon(at)postgrespro(dot)ru>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fix performance of generic atomics
Date: 2017-05-25 14:52:14
Message-ID: 20170525145213.GA8892@e733.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Yura,

> Attached patch contains patch for all generic atomic
> functions, and also __sync_fetch_and_(or|and) for gcc, cause
> I believe GCC optimize code around intrinsic better than
> around inline assembler.
> (final performance is around 86000tps, but difference between
> 83000tps and 86000tps is not so obvious in NUMA system).

I don't see any patch in my email client or pgsql-hackers@ archive. I
would also recommend to add your patch to the nearest commitfest [1].

[1] https://commitfest.postgresql.org/

--
Best regards,
Aleksander Alekseev

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-05-25 14:52:23 Re: Server ignores contents of SASLInitialResponse
Previous Message Tom Lane 2017-05-25 14:39:13 Re: Fix performance of generic atomics