Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64

From: "Saidi, Ali" <alisaidi(at)amazon(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>, "Pop, Sebastian" <spop(at)amazon(dot)com>
Cc: PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org>, "Csoma, Csaba" <csabac(at)amazon(dot)com>
Subject: Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64
Date: 2021-11-11 17:22:19
Message-ID: 8201F0D7-3804-42B1-B51A-E11D54615577@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

On 11/11/21, 11:14 AM, "Christoph Berg" <myon(at)debian(dot)org> wrote:

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.

Re: Pop, Sebastian
> > The benchmarks in
> > https://www.postgresql.org/message-id/1C8D0E58-FB33-4105-AC00-8FA07621F5DD%40amazon.com
> > don't look like the option is a game-changer.
>
> Since then we have seen benchmarks that are several orders of magnitude faster with LSE instructions.
> I will get the new data and share.
>
> > Even if we are convinced, we don't have the infrastructure in the
> > package yet to do architecture- and distribution-specific
> > optimizations. Would you (Amazon?) be willing to sponsor the required
> > package engineering?
>
> Yes, I am willing to do whatever is necessary to enable the flag on PostgreSQL builds for Ubuntu 20.04.
> Please point me to the (git?) repo and the files that need to be changed.

The binary compiled with -moutline-atomics works for all arm64 architecture versions. I don't believe there would be new package engineering required unless I'm missing something, but if there is, yes, we're absolutely happy to help.

Thanks,
Ali

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Pop, Sebastian 2021-11-11 17:38:03 Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64
Previous Message Christoph Berg 2021-11-11 17:13:35 Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64