How Clear Linux Optimizes Python For Greater Performance

Written by Michael Larabel in Clear Linux on 13 February 2019 at 05:34 AM EST. 13 Comments
Clear Linux's leading performance isn't limited to just C/C++ applications but also scripting languages like PHP, R, and Python have seen great speed-ups too. In a new blog post, one of Intel's developers outlines some of their performance tweaks to Python for delivering greater performance.

Last April, Victor Rodriguez Bahena of the Intel Open-Source Technology Center and longtime Clear Linux developer began shedding more light on their "magic" performance work for the distribution's out-of-the-box performance. Finally this week the second post in that series is out as he details the optimizations made to their Python implementation.

For boosting the Python performance, they use patches for Intel AVX (including an AVX-512 version for capable CPUs) to the distutils and math libraries, optimized compiler flags for CPython, support for dynamic loading of extension modules based on the CPU platform in use, and also profile guided optimizations.

Those wanting to learn more can do read all about it on the blog.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week