<?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 Quote:Chuck De Sylva (Intel) in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsDecodeLZO-8u-performance-issue/m-p/931626#M16705</link>
    <description>&lt;BLOCKQUOTE&gt;Chuck De Sylva (Intel) wrote:&lt;BR /&gt;&lt;P&gt;Are you linking with the single threaded or multithreaded libraries? Which version are you using?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
Hi, sylva

My applications linked with the single threaded libraries, and the IPP version is 7.1.0.

Regards,
Haixiao</description>
    <pubDate>Thu, 25 Oct 2012 02:11:46 GMT</pubDate>
    <dc:creator>haixiao_j_</dc:creator>
    <dc:date>2012-10-25T02:11:46Z</dc:date>
    <item>
      <title>ippsDecodeLZO_8u performance issue</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsDecodeLZO-8u-performance-issue/m-p/931624#M16703</link>
      <description>&lt;P&gt;I found the API&amp;nbsp;&amp;nbsp; ippsDecodeLZO_8u definition in Ippdc.h:&lt;/P&gt;
&lt;P&gt;/* /////////////////////////////////////////////////////////////////////////////&lt;BR /&gt;// Name: ippsDecodeLZO_8u&lt;BR /&gt;// Purpose: decompresses specified input buffer to output buffer, returns decompressed data length&lt;BR /&gt;//&lt;BR /&gt;// Arguments:&lt;BR /&gt;// pSrc pointer to input buffer&lt;BR /&gt;// srcLen input data length&lt;BR /&gt;// pDst pointer to output buffer&lt;BR /&gt;// &lt;STRONG&gt;pDstLen&lt;/STRONG&gt; pointer to output data length variable. Initially contains output buffer length&lt;BR /&gt;//&lt;BR /&gt;// Return:&lt;BR /&gt;// ippStsNullPtrErr one of the pointers is NULL&lt;BR /&gt;// ippStsDstSizeLessExpected output buffer is too short for compressed data&lt;BR /&gt;// ippStsSrcSizeLessExpected input buffer data is not complete, i.e. no EOF found&lt;BR /&gt;// ippStsBrokenLzoStream ippsDecodeLZOSafe_8u detected output buffer boundary violation&lt;BR /&gt;// ippStsNoErr no error detected&lt;BR /&gt;//&lt;BR /&gt;*/&lt;/P&gt;
&lt;P&gt;If I passed the argument&amp;nbsp;&lt;STRONG&gt;pDstlen&lt;/STRONG&gt; (value = 0), the performance of&amp;nbsp;ippsDecodeLZO_8u is very low. But If I passed the&amp;nbsp;&lt;STRONG&gt;pDstlen&lt;/STRONG&gt;&amp;nbsp;(value = real output buffer length&amp;nbsp;), the performance is improved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;some misunderstanding:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I don't kown why the return code is always 'ippStsNoErr' when I passed the argument &amp;nbsp;&lt;STRONG&gt;pDstlen&lt;/STRONG&gt; (value = 0), is right?&lt;/LI&gt;
&lt;LI&gt;If IPP allows user call the API&amp;nbsp;&amp;nbsp;ippsDecodeLZO_8u by passing the &amp;nbsp;argument &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;pDstlen&lt;/STRONG&gt;&amp;nbsp;(value = 0), why the performance is lower than I passed the real output buffer length&amp;nbsp;. I think IPP will malloc&amp;nbsp;additional buffer to support the situation&amp;nbsp;that given argument&amp;nbsp;&lt;STRONG&gt;pDstlen&lt;/STRONG&gt;&amp;nbsp;&amp;lt; decompressed_len. So this action willmake performance decline. Is right?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Haixiao&lt;/P&gt;</description>
      <pubDate>Sun, 21 Oct 2012 15:26:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsDecodeLZO-8u-performance-issue/m-p/931624#M16703</guid>
      <dc:creator>haixiao_j_</dc:creator>
      <dc:date>2012-10-21T15:26:26Z</dc:date>
    </item>
    <item>
      <title>Are you linking with the</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsDecodeLZO-8u-performance-issue/m-p/931625#M16704</link>
      <description>Are you linking with the single threaded or multithreaded libraries? Which version are you using?</description>
      <pubDate>Wed, 24 Oct 2012 20:45:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsDecodeLZO-8u-performance-issue/m-p/931625#M16704</guid>
      <dc:creator>Chuck_De_Sylva</dc:creator>
      <dc:date>2012-10-24T20:45:13Z</dc:date>
    </item>
    <item>
      <title>Quote:Chuck De Sylva (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsDecodeLZO-8u-performance-issue/m-p/931626#M16705</link>
      <description>&lt;BLOCKQUOTE&gt;Chuck De Sylva (Intel) wrote:&lt;BR /&gt;&lt;P&gt;Are you linking with the single threaded or multithreaded libraries? Which version are you using?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
Hi, sylva

My applications linked with the single threaded libraries, and the IPP version is 7.1.0.

Regards,
Haixiao</description>
      <pubDate>Thu, 25 Oct 2012 02:11:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsDecodeLZO-8u-performance-issue/m-p/931626#M16705</guid>
      <dc:creator>haixiao_j_</dc:creator>
      <dc:date>2012-10-25T02:11:46Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...why the return code is</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsDecodeLZO-8u-performance-issue/m-p/931627#M16706</link>
      <description>&amp;gt;&amp;gt;...why the return code is always 'ippStsNoErr' when I passed the argument  pDstlen (value = 0)...

It looks like inconsistency with input parameters validation in the function. Ideally, it should look like:

// Note: I skip all the rest verifications to simplify case
...
if( pDst != NULL &amp;amp;&amp;amp; pDstLen != 0 )
{
// Some processing and exit from the function with ippStsNoErr
}
else
{
// pDst == NULL &amp;amp;&amp;amp; pDstLen == 0
// or
// pDst != NULL &amp;amp;&amp;amp; pDstLen == 0
// or
// pDst == NULL &amp;amp;&amp;amp; pDstLen != 0
// Error in a value of input parameter and exit from the function with some error
}
...</description>
      <pubDate>Fri, 26 Oct 2012 14:09:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsDecodeLZO-8u-performance-issue/m-p/931627#M16706</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-10-26T14:09:15Z</dc:date>
    </item>
  </channel>
</rss>

