[arch-general] Fedora Speeds Up Python 3.

Geo Kozey geokozey at mailfence.com
Tue Nov 26 17:35:15 UTC 2019


> From: Ralph Corderoy <ralph at inputplus.co.uk>
> Sent: Tue Nov 26 11:07:36 CET 2019
> To: <arch-general at archlinux.org>
> Subject: [arch-general] Fedora Speeds Up Python 3.
> 
> 
> 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.

Does it work alongside "-fno-plt" flag that Arch uses?

Yours sincerely

G. K.


More information about the arch-general mailing list