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

Performance drop in dgetrf()

techwinder_
Beginner
284 Views

Hello,
I'm distributing an app which links to MKL - amazing library btw, thanks.
A user has recently reported a significant performance drop in dgetrf_() when switching to a new computer with an Intel® Core™ i9-13950HX Processor.
Matrix size is ~27000. Typically the factorization should only take 2 minutes or so in multithreaded mode, however it can take up to 40 minutes on the new platform. When disabling in-app multitheading the LU factorization takes roughly 6 minutes which seems normal.

Adjusting MKL setttings with 

MKL_Set_Num_Threads_Local();
MKL_Set_Dynamic();

doesn't make any significant difference.

After disabling efficient cores in the BIOS so that only the performance cores are enabled, the factorization time is back to a minute and a half.
Do you have any suggestions to address this issue without having to tweak the BIOS settings?
Thanks in advance,
André

0 Kudos
1 Solution
noffermans
Employee
223 Views

Hi André,

Thanks for reaching out. Are you aware of the below doc page?

https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-linux/2024-1/managing-performance-with-heterogeneous-cores.html

It gives some useful tips on how to manage performance with heterogenous CPUs, without having to play with the BIOS. I hope this helps.

Best,
Nicolas

View solution in original post

0 Kudos
3 Replies
noffermans
Employee
224 Views

Hi André,

Thanks for reaching out. Are you aware of the below doc page?

https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-linux/2024-1/managing-performance-with-heterogeneous-cores.html

It gives some useful tips on how to manage performance with heterogenous CPUs, without having to play with the BIOS. I hope this helps.

Best,
Nicolas

0 Kudos
Fengrui
Moderator
174 Views

Hi André,


Did you get a chance to try the environment variables shared by Nicolas?


Thanks,

Fengrui


0 Kudos
techwinder_
Beginner
164 Views

Yes, it fixed the problem for the user.

Thank you all for the quick support.

André

0 Kudos
Reply