[arch-general] Fedora Speeds Up Python 3.
Ralph Corderoy
ralph at inputplus.co.uk
Tue Nov 26 10:07:36 UTC 2019
Hi,
I thought this might be of interest.
https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup
By building with -fno-semantic-interposition they remove the PLT that
provides a level of indirection when calling a libpython function.
libpython often calls itself and the PLT adds L1-cache pressure plus
prevents inlining. Gives gains of 25% on some workloads.
--
Cheers, Ralph.
More information about the arch-general
mailing list