Please enable PGO and LTO for arm64

Bug #1840510 reported by Ali Saidi
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3-defaults (Debian)
Fix Released
Unknown
python3-defaults (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Medium
Unassigned

Bug Description

The rules file conditionally enables PGO and LTO in the python3 build and while it's enabled for many platforms it's not enabled for arm64. This is worth about 30% performance. Please enable it.

A patch is available here with the original debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934812

Revision history for this message
Dan Streetman (ddstreet) wrote :

> This is worth about 30% performance.

can you share some performance tests used to measure this improvement?

Revision history for this message
Ali Saidi (alisaidi) wrote :

Some of the subcomponents of the pyperformance suite:
https://github.com/python/pyperformance/tree/master/pyperformance/benchmarks

Revision history for this message
Dan Streetman (ddstreet) wrote :

I've been told that this is planned for the 3.7.5 release of python3.7 in 18.04. The release schedule for that is here:
https://www.python.org/dev/peps/pep-0537/#id4

Revision history for this message
Dan Streetman (ddstreet) wrote :

To clarify, that's the release schedule for python 3.7.5.

The pgo/lto change for arm64 is already in the 19.10 Ubuntu release of python3 (3.7.4), so once the 3.7.5 version is released upstream, then Debian will update to it, then Ubuntu 19.10 (or 20.04) will update to it, then it will be backported to 18.04.

Changed in python3-defaults (Debian):
status: Unknown → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote :

python3-defaults (3.7.5-1) unstable; urgency=medium

  * Bump version to 3.7.5.
  * Bump standards version.

 -- Matthias Klose <email address hidden> Wed, 02 Oct 2019 14:31:29 +0200

Changed in python3-defaults (Ubuntu):
status: New → Fix Released
tags: added: id-5d926655f9e2a5107c03e668
tags: added: id-5d9f8a1e11e3927e713981ef
Revision history for this message
Brian Murray (brian-murray) wrote :

This is actually being tracked in bug 1835738.

Changed in python3-defaults (Ubuntu Bionic):
status: New → In Progress
status: In Progress → Fix Committed
importance: Undecided → Medium
Changed in python3-defaults (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.