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

MKL multithreading - why do I not see all threads in "top" command ?

miro_ilias
Beginner
388 Views

Dear experts,

my small project scales well with  MKL_NUM_THREADS, see https://github.com/miroi/mathlibs-tester/blob/master/performance/results.rst  .

However, when running multithreaded run, (MKL_NUM_THREADS > 1), I do not see all threads printed in the "top" command. I see there only one process, the example executable.

Please is it possible to observe all the mkl-threads ? The project is https://github.com/miroi/mathlibs-tester .

Operating system is Linux lxir073 3.2.0-4-amd64 #1 SMP Debian 3.2.81-1 x86_64 GNU/Linux.

 

Thanks.

 

 

 

 

 

 

0 Kudos
2 Replies
TimP
Honored Contributor III
388 Views
Versions of top which default to a single entry per multithreaded process have an option to expand by threads.
0 Kudos
miro_ilias
Beginner
388 Views

Aaah, I see. That's the "H" key, and I see threads in top . Thanks a lot.

0 Kudos
Reply