Matthias, I have made a series of pyperformance benchmarks [1] to
compare the influence of the factors listed by Elvis on Xenial and
Artful. All runs were done on the same machine (metal) with a fresh
Ubuntu cloud image.

My observations confirm that both: changing fpectl and fPIC for _math.c
module bring significant improvement over corresponding versions without
the changes. I have replaced -fstack-protector-strong with -fstack-
protector to observe even better results in the benchmark. Although in
the examined scope it's impact is not as significant as the former 2
factors.

The combination of all three factors make the results close to what we
can observe on Trusty.

I believe backporting the fpectl and _math.c changes also to Xenial is worth 
considering.
The -fstack-protector setting brings performance improvement, but it also 
creates some security doubts.

[1] http://pyperformance.readthedocs.io
[2] 
https://docs.google.com/spreadsheets/d/1R83NQ7xzIfzFMVdbrh-zqK_iBuPcuhWa6KdTYPibFmE/edit?usp=sharing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1638695

Title:
  Python 2.7.12 performance regression

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1638695/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to