<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CPU usage during executing Intel MKL Functions in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CPU-usage-during-executing-Intel-MKL-Functions/m-p/896483#M10907</link>
    <description>&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Hi&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;I am using MKL functions for various operations and calculating the time taken by each function.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;For matrix multiplication using dgemm() function, I have calculated time for different orders of matrix as mentioned below:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;1000x1000: 0 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;2000x2000: 4 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;3000x3000: 11 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;4000x4000: 26 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;5000x5000: 52 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;6000x6000: 91 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Till 6000x6000 order matrix, during operation I have noticed that the CPU usage of the system is almost 50 to 55%.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;But from 7000x7000 order matrices, the CPU usage is coming down to max of 20% only, and almost its going down to 10% also.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Because of that, more time is taken by the operation for higher order matrices.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Why its happening like this? Also I have set the priority of the processor and thread to the maximum available priority.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;For the matrices of order less than 6000x6000, why the CPU usage is only 50%? How we can make the CPU usage maximum (100%) for the MKL operations?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Why from 7000x7000 order, CPU usage is coming down to 10%?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;The time taken for executing from 7000x7000 matrices are also mentioned below. We can see that the time is rapidly got increased from here onwards.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;7000x7000: 1401 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;8000x8000: 3129 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;9000x9000: 5543 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;And for 10000x10000 order matrix I am getting application error and the application is getting stopped. I am not able to rum for 10000x10000 order matrix. Is it because of the memory problem.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; I am using a system of the below configuration:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Intel P4, 3GHz, 1GB RAM&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;10000x10000:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Please help me in this regard.&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Regards&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Joesam&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2006 14:01:22 GMT</pubDate>
    <dc:creator>joesam</dc:creator>
    <dc:date>2006-11-28T14:01:22Z</dc:date>
    <item>
      <title>CPU usage during executing Intel MKL Functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CPU-usage-during-executing-Intel-MKL-Functions/m-p/896483#M10907</link>
      <description>&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Hi&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;I am using MKL functions for various operations and calculating the time taken by each function.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;For matrix multiplication using dgemm() function, I have calculated time for different orders of matrix as mentioned below:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;1000x1000: 0 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;2000x2000: 4 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;3000x3000: 11 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;4000x4000: 26 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;5000x5000: 52 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;6000x6000: 91 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Till 6000x6000 order matrix, during operation I have noticed that the CPU usage of the system is almost 50 to 55%.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;But from 7000x7000 order matrices, the CPU usage is coming down to max of 20% only, and almost its going down to 10% also.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Because of that, more time is taken by the operation for higher order matrices.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Why its happening like this? Also I have set the priority of the processor and thread to the maximum available priority.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;For the matrices of order less than 6000x6000, why the CPU usage is only 50%? How we can make the CPU usage maximum (100%) for the MKL operations?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Why from 7000x7000 order, CPU usage is coming down to 10%?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;The time taken for executing from 7000x7000 matrices are also mentioned below. We can see that the time is rapidly got increased from here onwards.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;7000x7000: 1401 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;8000x8000: 3129 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;9000x9000: 5543 sec&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;And for 10000x10000 order matrix I am getting application error and the application is getting stopped. I am not able to rum for 10000x10000 order matrix. Is it because of the memory problem.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; I am using a system of the below configuration:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Intel P4, 3GHz, 1GB RAM&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;10000x10000:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Please help me in this regard.&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Regards&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" color="#0000ff" size="2"&gt;Joesam&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2006 14:01:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CPU-usage-during-executing-Intel-MKL-Functions/m-p/896483#M10907</guid>
      <dc:creator>joesam</dc:creator>
      <dc:date>2006-11-28T14:01:22Z</dc:date>
    </item>
  </channel>
</rss>

