1. https://appdevelopermagazine.com/programming
  2. https://appdevelopermagazine.com/intel-offers-additional-performance-for-multithreaded-python-programs/
4/12/2016 5:04:31 PM
Intel Offers Additional Performance for MultiThreaded Python Programs
Python,Intel,ThreadPool
/Intel-Performance-for-Multi-Threaded-Python-App-Developer-Magazine_if6lf7ip.jpg
App Developer Magazine

Programming

Intel Offers Additional Performance for MultiThreaded Python Programs


Tuesday, April 12, 2016

Stuart Parkerson Stuart Parkerson


In its beta release of Intel Distribution for Python, Intel is introducing what they call “something new and unusual for the Python world.” The new functionality is an experimental module which unlocks additional performance for multi-threaded Python programs by enabling threading composability between two or more thread-enabled libraries.

The Intel Distribution for Python platform promises to offer faster performance from Python packages powered by Intel Math Kernel Library (Intel MKL). The beta product adds new Python packages like scikit-learn, mpi4py, numba, conda, tbb (Python interfaces to Intel Threading Building Blocks) and pyDAAL (Python interfaces to Intel Data Analytics Acceleration Library). The platform also delivers performance improvements for NumPy/SciPy through linking with performance libraries like Intel MKL, Intel Message Passing Interface (Intel MPI), Intel TBB and Intel DAAL.

With the new ability of threading composability, developers can accelerate programs by avoiding inefficient threads allocation (oversubscription) when there are more software threads than available hardware resources.

Intel says the biggest improvement is achieved when a task pool like the ThreadPool from standard library or libraries like Dask or Joblib (used in multi-threading mode) execute tasks calling compute-intensive functions of Numpy/Scipy/PyDAAL which in turn are parallelized using Intel MKL or/and Intel Threading Building Blocks (Intel TBB).

The module implements Pool class with the standard interface using Intel TBB which can be used to replace Python’s ThreadPool. With the monkey-patching technique implemented in class Monkey, no source code change is needed in order to unlock additional speedups.
Intel Offers Additional Performance for MultiThreaded Python Programs




Read more: https://software.intel.com/en-us/blogs/2016/04/04/...




Subscribe to App Developer Magazine

Become a subscriber of App Developer Magazine for just $5.99 a month and take advantage of all these perks.

MEMBERS GET ACCESS TO

  • - Exclusive content from leaders in the industry
  • - Q&A articles from industry leaders
  • - Tips and tricks from the most successful developers weekly
  • - Monthly issues, including all 90+ back-issues since 2012
  • - Event discounts and early-bird signups
  • - Gain insight from top achievers in the app store
  • - Learn what tools to use, what SDK's to use, and more

    Subscribe here



Stay Updated

Sign up for our newsletter for the headlines delivered to you

SuccessFull SignUp

Featured Stories


Intersignal Releases Braid Pathfinder Developer Preview
Intersignal Releases Braid Pathfinder Developer Preview Monday, August 17, 2026


Agentic AI transforming how families access and bolster legal help
Agentic AI transforming how families access and bolster legal help Thursday, August 13, 2026




Creator-led growth fails subscription apps without attribution
Creator-led growth fails subscription apps without attribution Wednesday, August 12, 2026


TypeMock Launches Test Review for Smarter Unit Testing
TypeMock Launches Test Review for Smarter Unit Testing Monday, August 3, 2026


FTC AI accuracy policy puts chatbot trust under review
FTC AI accuracy policy puts chatbot trust under review Tuesday, July 21, 2026


Human-Made Video Ads Outperform AI-Generated Creativity
Human-Made Video Ads Outperform AI-Generated Creativity Monday, July 20, 2026


SpaceX accelerates AI push with new hires
SpaceX accelerates AI push with new hires Monday, July 20, 2026


NearLens: Smart Glasses Privacy Taken Seriously
NearLens: Smart Glasses Privacy Taken Seriously Wednesday, July 15, 2026


Agentic Commerce Grows Cequence Unveils AI-Era Bot Defense
Agentic Commerce Grows Cequence Unveils AI-Era Bot Defense Wednesday, July 15, 2026


Nearly all developers use AI but few secure the code it generates
Nearly all developers use AI but few secure the code it generates Monday, July 13, 2026


Get More App News