Add GCC atomic support (-moutline-atomics) for arm64 on Focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nginx (Ubuntu) |
New
|
Undecided
|
Fabio Augusto Miranda Martins |
Bug Description
Hi,
we recorded more than 30% performance regression on Ubuntu Focal for AWS Graviton instances since Nginx package is not compiled with "-moutline-atomics" cflag for arm64 architecture (337548 rps with default package and 484453 rps using the proposed flag).
As far as I know, only Ubuntu 20.04 is affected by it and we are proposing a fix for it (https:/
Set up to reproduce the issue:
- AWS instance: m6g.metal
- AWS ami: ami-0aa916c7b0b
- lsb_release -rd:
Description: Ubuntu 20.04.6 LTS
Release: 20.04
- apt-cache policy nginx:
nginx:
Installed: (none)
Candidate: 1.18.0-0ubuntu1.4
Version table:
1.
500 http://
500 http://
1.
500 http://
Related branches
- Łukasz Zemczak (community): Needs Information
- git-ubuntu import: Pending requested
-
Diff: 13 lines (+2/-0)1 file modifieddebian/rules (+2/-0)
tags: | added: server-todo |
I talked with Fabio (now subscribed), he will track and ensure this is done together with all the other "enable -moutline-atomics" cases.