<?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 Hi, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164356#M28138</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The issue has been fixed in the latest MKL release (2020)&amp;nbsp; :)&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Guillaume A.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2019 16:33:23 GMT</pubDate>
    <dc:creator>Guillaume_A_</dc:creator>
    <dc:date>2019-12-17T16:33:23Z</dc:date>
    <item>
      <title>SVD weird perfomance issues</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164350#M28132</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing performance issues with the function&amp;nbsp;&lt;STRONG&gt;dgesvd&lt;/STRONG&gt; when running in &lt;STRONG&gt;64bit&lt;/STRONG&gt; with &lt;STRONG&gt;AVX2&lt;/STRONG&gt; (MKL_CBWR=AVX2)&lt;/P&gt;&lt;P&gt;For some sizes of matrix the SVD duration is &lt;STRONG&gt;25 times longer&lt;/STRONG&gt; in 64bit than in 32bit !&lt;/P&gt;&lt;P&gt;You may reproduce with the test in attachment. On my side I get thoses&amp;nbsp;durations&amp;nbsp;for 1 svd on an mXn matrix:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;101x63 : 32bit = 2ms, 64bit = 1.4ms;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;10&lt;STRONG&gt;1&lt;/STRONG&gt;x64 :&amp;nbsp;32bit = 2ms, 64bit =&amp;nbsp;&lt;STRONG&gt;20&lt;/STRONG&gt;ms;&lt;/LI&gt;&lt;LI&gt;10&lt;STRONG&gt;2&lt;/STRONG&gt;x64&amp;nbsp;:&amp;nbsp;32bit = 2ms, 64bit = 1.4ms;&lt;/LI&gt;&lt;LI&gt;103x103 :&amp;nbsp;32bit = 4ms, 64bit =&amp;nbsp;&lt;STRONG&gt;100&lt;/STRONG&gt;ms;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There is no problem with MKL_CBWR=AVX.&lt;/P&gt;&lt;P&gt;Could you please have a look ?&lt;/P&gt;&lt;P&gt;My configuration:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Composer 2019 update 4 (same&amp;nbsp;behaviour with 2018 up4)&lt;/LI&gt;&lt;LI&gt;BasePlatformToolSet : vc12&lt;/LI&gt;&lt;LI&gt;Win 10 Enterprise 64bit&lt;/LI&gt;&lt;LI&gt;CPU: i7-6820HQ&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Guillaume A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 16:03:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164350#M28132</guid>
      <dc:creator>Guillaume_A_</dc:creator>
      <dc:date>2019-06-12T16:03:01Z</dc:date>
    </item>
    <item>
      <title>is that threaded mode? could</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164351#M28133</link>
      <description>&lt;P&gt;is that threaded mode? could you add verbose mode output for 103x103 case?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 16:19:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164351#M28133</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-06-12T16:19:33Z</dc:date>
    </item>
    <item>
      <title>Hello Gennady,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164352#M28134</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Gennady,&lt;/P&gt;&lt;P&gt;Indeed I forgot to precise : I am using the sequential mode.&lt;/P&gt;&lt;P&gt;Here are the ouputs with MKL_VERBOSE=1 for&amp;nbsp;one svd:&amp;nbsp;&lt;/P&gt;&lt;P&gt;64bit:&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;MKL_VERBOSE Intel(R) MKL 2019.0 Update 4 Product build 20190411 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors, Win 2.70GHz cdecl sequential
MKL_VERBOSE DGESVD(A,A,103,103,0000000000FE5E40,103,0000000000FFAA40,0000000000FFAE00,103,000000000100FA00,103,0000000000CFF520,-1,0) 147.89us CNR:AVX2 Dyn:1 FastMM:1 TID:0  NThr:1
MKL_VERBOSE DGESVD(A,A,103,103,0000000001055300,103,0000000000FFAA40,0000000001069F80,103,000000000107EB80,103,000000000104E200,3605,0) 112.26ms CNR:AVX2 Dyn:1 FastMM:1 TID:0  NThr:1&lt;/PRE&gt;

&lt;P&gt;32bit:&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;MKL_VERBOSE Intel(R) MKL 2019.0 Update 4 Product build 20190411 for 32-bit Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors, Win 2.70GHz sequential
MKL_VERBOSE DGESVD(A,A,103,103,01045D40,103,0105A900,0105ACC0,103,0106F8C0,103,004FF604,-1,0) 116.49us CNR:AVX2 Dyn:1 FastMM:1 TID:0  NThr:1
MKL_VERBOSE DGESVD(A,A,103,103,010B5180,103,0105A900,010C9D80,103,010DE980,103,010AE000,3605,0) 4.64ms CNR:AVX2 Dyn:1 FastMM:1 TID:0  NThr:1&lt;/PRE&gt;

&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Guillaume A.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 07:56:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164352#M28134</guid>
      <dc:creator>Guillaume_A_</dc:creator>
      <dc:date>2019-06-13T07:56:56Z</dc:date>
    </item>
    <item>
      <title>yes, I see ~ the same</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164353#M28135</link>
      <description>&lt;P&gt;yes, I see ~ the same performance problem when linking with&amp;nbsp;mkl_sequential lib.&amp;nbsp; The gap is about 15 times for this specific problem sizes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;32 bit :&amp;nbsp; [ PERF --&amp;gt; ] 0.004 clock for 1 iteration &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;64 bit :&amp;nbsp;[ PERF --&amp;gt; ] 0.062 clock for 1 iteration &amp;nbsp;&lt;/P&gt;&lt;P&gt;the Ratio is ~ 15 times&lt;/P&gt;&lt;P&gt;but there is no problem when linking with the threaded version of MKL ( 2019.4)&lt;/P&gt;&lt;P&gt;In the case, if the optimization for this specific problem sizes and ia32 version of MKL is important to you, could you please submit the request to the intel online service center to further communication internally.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 04:18:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164353#M28135</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-06-17T04:18:46Z</dc:date>
    </item>
    <item>
      <title>intel online service center -</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164354#M28136</link>
      <description>&lt;P&gt;intel online service center -&amp;nbsp;https://supporttickets.intel.com/?lang=en-US&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 04:20:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164354#M28136</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-06-17T04:20:12Z</dc:date>
    </item>
    <item>
      <title>Ok, thanks. Here is the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164355#M28137</link>
      <description>&lt;P&gt;Ok, thanks. Here is the ticket :&amp;nbsp;&lt;A href="https://supporttickets.intel.com/requestdetail?id=5000P00000nFzRxQAK&amp;amp;lang=en-US"&gt;04232883&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please note that this&amp;nbsp;behaviour may be observed for many other sizes of matrices: 160x160, 200x200, 302x302, ...&lt;/P&gt;&lt;P&gt;I add in attachment an Excel file containing the comparison 32 vs 64 bit of the svd duration for matrices extracted from real use-cases of my production.&lt;/P&gt;&lt;P&gt;My point of view:&amp;nbsp;There is a performance issue in &lt;STRONG&gt;64bit and AVX2&amp;nbsp;&lt;/STRONG&gt;for the svd. We do not need any problem sized specials optimizations. We just&amp;nbsp;need to have as good performances in 64bit as in 32bit,&amp;nbsp;never mind the size of the matrix ;)&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Guillaume A.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 12:29:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164355#M28137</guid>
      <dc:creator>Guillaume_A_</dc:creator>
      <dc:date>2019-06-17T12:29:57Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164356#M28138</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The issue has been fixed in the latest MKL release (2020)&amp;nbsp; :)&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Guillaume A.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 16:33:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164356#M28138</guid>
      <dc:creator>Guillaume_A_</dc:creator>
      <dc:date>2019-12-17T16:33:23Z</dc:date>
    </item>
    <item>
      <title>thanks Guillaume!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164357#M28139</link>
      <description>&lt;P&gt;thanks&amp;nbsp;Guillaume!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 03:01:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SVD-weird-perfomance-issues/m-p/1164357#M28139</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-12-18T03:01:11Z</dc:date>
    </item>
  </channel>
</rss>

