Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7121 Discussions

Performance Slowdown Updating to Latest MKL

jm1234
Beginner
329 Views

I help maintain a Linux software project that uses MKL. For years, the MKL packages have been locked to a version from 2017, and keeping them up-to-date hasn't been high on the priority list. Hoping to realize significant performance improvements by jumping across the seven year technology gap, I set up the Intel One API repo, installed the most recent version of MKL, and measured CPU usage linking against the old vs. new MKL libraries. To my surprise, linking against the new libraries causes the MKL-using process to consume ~19% more overall CPU time, and ~3-5% higher core consumption. This is coming from a controlled test with identical settings and input data. Similar results can be reproduced on both newer (from 2024) and older (from 2017) computers with Intel CPUs. Does anyone have any clues on what might be causing this?

MKL VersionTIME+ measured by htop
2017.314.63
2024.217.35
Labels (1)
0 Kudos
1 Reply
Gajanan_Choudhary
312 Views

Hi @jm1234,

 

Thanks for reaching out to us about this. Do you have standalone reproducers showing the performance regression? Would you be able to provide a list of APIs that you are using in your tests?

 

Regards,

Gajanan

oneAPI Math Kernel Library team

0 Kudos
Reply