From: | "Pop, Sebastian" <spop(at)amazon(dot)com> |
---|---|
To: | Christoph Berg <myon(at)debian(dot)org>, PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org> |
Cc: | "Saidi, Ali" <alisaidi(at)amazon(dot)com> |
Subject: | Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64 |
Date: | 2021-10-26 04:04:03 |
Message-ID: | 1635221042457.21654@amazon.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-debian |
?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
From | Date | Subject | |
---|---|---|---|
Next Message | Christoph Berg | 2021-10-26 15:09:26 | Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64 |
Previous Message | apt.postgresql.org Repository Update | 2021-10-25 11:53:34 | pg-fact-loader updated to version 1.6.0-5.pgdg+1 |