public inbox for [email protected]
help / color / mirror / Atom feedFrom: Pop, Sebastian <[email protected]>
To: Christoph Berg <[email protected]>
To: PostgreSQL in Debian <[email protected]>
Cc: Saidi, Ali <[email protected]>
Subject: Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64
Date: Tue, 26 Oct 2021 04:04:03 +0000
Message-ID: <[email protected]> (raw)
?Hi Christoph,
This is a follow-up email based on recommendations from Heikki Linnakangas:
https://www.postgresql.org/message-id/5f048a5a-c471-50ae-30ad-385dcafc616b%40iki.fi
and Tom Lane:
https://www.postgresql.org/message-id/888692.1601489331%40sss.pgh.pa.us
> Maybe you should speak to the distribution vendors or the folk packaging PostgreSQL for those distributions, instead.
Following the initial post by Tsahi Zidenberg:
https://www.postgresql.org/message-id/099F69EE-51D3-4214-934A-1F28C0A1A7A7%40amazon.com
> The patch was tested to improve pgbench simple-update by 10% and sysbench write-only by 3% on a 64-core armv8.2 machine (AWS m6g.16xlarge).
?
?The change is to compile PostgreSQL for arm64 with an extra flag -moutline-atomics when the compiler is gcc-8.5 or gcc-9.4.
-moutline-atomics is enabled by default in all newer compilers gcc-{10, 11, trunk}, and on clang-{12, 13, trunk}.
The change is needed only for a limited number of Debian and Ubuntu releases compiled by gcc versions with the outline-atomics flag disabled by default.
Would it be possible to update the PostgreSQL arm64 apt packages for Debian and Ubuntu with the -moutline-atomics flag?
Thanks,
Sebastian
view thread (26+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox