<?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 ippiResizeSqrPixel_8u_C1R performance issues in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770792#M679</link>
    <description>By "real time" here I mean, app operates on data what coming as time goes. So even if app make 2x faster crunching data, it will have 2x more empty cycles, but will not finished 2x faster (actually it is great if it will never stops :)&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;I manually force priority a little bit up (pr 15 against 20 normal, but it is not real time priority anyway).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 12 Aug 2012 18:30:59 GMT</pubDate>
    <dc:creator>Roman_Golomidov</dc:creator>
    <dc:date>2012-08-12T18:30:59Z</dc:date>
    <item>
      <title>ippiResizeSqrPixel_8u_C1R performance issues</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770786#M673</link>
      <description>Hi,&lt;DIV&gt;have some strange performance problems withippiResizeSqrPixel_8u_C1R.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;This code:&lt;/DIV&gt;&lt;DIV&gt;[cpp]  s = ippiResize_8u_C1R(
    &amp;amp;source[start], sd, sd.width, srcRoi, 
    destination, dd.width, dd, 
    ddimension-&amp;gt;scaleX, ddimension-&amp;gt;scaleY, interpolation);
[/cpp] &lt;/DIV&gt;&lt;DIV&gt;interpolation isIPPI_INTER_CUBIC&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;app running on intel atom D525 use around 15-20% cpu according to top.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;butippiResize_8u_C1R is deprecated in favor toippiResizeSqrPixel_8u_C1R.&lt;/DIV&gt;&lt;DIV&gt;It have pretty same params, so code changed to&lt;/DIV&gt;&lt;DIV&gt;[cpp]  IppiRect dstRoi;
  dstRoi.x = 0;
  dstRoi.y = 0;
  dstRoi.width = dd.width;
  dstRoi.height = dd.height;
  s = ippiResizeSqrPixel_8u_C1R(&amp;amp;source[start], sd, sd.width, srcRoi, 
    destination, dd.width, dstRoi, 
    ddimension-&amp;gt;scaleX, ddimension-&amp;gt;scaleY, 0.0, 0.0, interpolation, video_private-&amp;gt;ipp_buffer);
[/cpp] app starts using around 250-300% CPU :(&lt;/DIV&gt;&lt;DIV&gt;Have tryed all methods in interpolation - result the same - very high cpu usage.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;What I doing wrong?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I need to resize YUV422 picture. Prior, i needippiDeinterlaceMedianThreshold_8u_C1R.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So source YUV422 i convert to planes byippiYCbCr422ToYCbCr420_8u_C2P3R&lt;/DIV&gt;&lt;DIV&gt;and the operating by each plane separately.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Linux Debian, GCC 4.7.1, ipp 7.0/7 (latest), 64bit&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Roman.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Aug 2012 16:57:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770786#M673</guid>
      <dc:creator>Roman_Golomidov</dc:creator>
      <dc:date>2012-08-08T16:57:43Z</dc:date>
    </item>
    <item>
      <title>ippiResizeSqrPixel_8u_C1R performance issues</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770787#M674</link>
      <description>I believe the ResizeSqrPixel function is listed as one of the threaded routines in the IPP library. You should be able to disable the threading by linking againstthe un-threaded static libraries, or by calling (I think) ippSetNumThreads(1). Out of curiosity, in addition to the higher CPU utilization, do you also see faster resize performance?&lt;BR /&gt;&lt;BR /&gt;Peter&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Aug 2012 17:50:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770787#M674</guid>
      <dc:creator>pvonkaenel</dc:creator>
      <dc:date>2012-08-08T17:50:25Z</dc:date>
    </item>
    <item>
      <title>ippiResizeSqrPixel_8u_C1R performance issues</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770788#M675</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Hi Roman,&lt;BR /&gt;&lt;BR /&gt;Quoting &lt;A jquery1344476286281="60" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=570620" href="https://community.intel.com/en-us/profile/570620/" class="basic"&gt;Roman Golomidov&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;...app starts using around 250-300% CPU :(...&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;Do you mean your application is working 2.5x - 3x slower?&lt;BR /&gt;&lt;BR /&gt;On the &lt;STRONG&gt;Performance&lt;/STRONG&gt; page of the &lt;STRONG&gt;Windows Task Manager&lt;/STRONG&gt; a &lt;STRONG&gt;CPU Usage&lt;/STRONG&gt; can not be greater than 100%. How did you get'250-300%' numbers?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Aug 2012 01:42:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770788#M675</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-08-09T01:42:47Z</dc:date>
    </item>
    <item>
      <title>ippiResizeSqrPixel_8u_C1R performance issues</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770789#M676</link>
      <description>You absolutely right!&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;It must beeclipse of my mind those 300% cpu not pointed me into threads direction.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;When I set ippSetNumThreads(1) app start using ordinar 20-25% CPU as with deprecated function.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;App is doing real time process. So even if function itself works faster, app dont run faster - cause no more data arrived.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you!&lt;/DIV&gt;&lt;DIV&gt;Roman&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Aug 2012 04:10:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770789#M676</guid>
      <dc:creator>Roman_Golomidov</dc:creator>
      <dc:date>2012-08-09T04:10:27Z</dc:date>
    </item>
    <item>
      <title>ippiResizeSqrPixel_8u_C1R performance issues</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770790#M677</link>
      <description>App is real time and its not noticable to see it work faster.&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I run 6 those apps at the same time and it was very confusing to see in top list 6 processes with 250% CPU usage :)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;In linux when you use threads it could be easy when app reports 100% x number of threads CPU usage.&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Aug 2012 04:17:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770790#M677</guid>
      <dc:creator>Roman_Golomidov</dc:creator>
      <dc:date>2012-08-09T04:17:00Z</dc:date>
    </item>
    <item>
      <title>ippiResizeSqrPixel_8u_C1R performance issues</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770791#M678</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Hi Roman,&lt;BR /&gt;&lt;BR /&gt;Quoting &lt;A jquery1344727451687="60" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=570620" href="https://community.intel.com/en-us/profile/570620/" class="basic"&gt;Roman Golomidov&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;EM&gt;You absolutely right! &lt;/EM&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;It must beeclipse of my mind those 300% cpu not pointed me into threads direction.&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;When I set ippSetNumThreads(1) app start using ordinar 20-25% CPU as with deprecated function.&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;App is doing real time process&lt;/STRONG&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Thanks for the note. Please take into account that Intel IPP library is not designed for Real-Time applications.&lt;BR /&gt;It is 'OpenMP-Threaded' and all OpenMP threads work with 'Normal' priorities and they could be preemted from&lt;BR /&gt;executioncompletely by some 'Real-Time' process or thread. Even if I have a couple of test-cases with IPP functions&lt;BR /&gt;that could work when a process priority is set toReal-Time I don't use it in real applications. I didn't see significant&lt;BR /&gt;performance improvements in my test-cases I've mentioned.&lt;BR /&gt;&lt;BR /&gt;Did you try 'Above Normal' or 'High' process priorities?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Aug 2012 00:39:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770791#M678</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-08-12T00:39:18Z</dc:date>
    </item>
    <item>
      <title>ippiResizeSqrPixel_8u_C1R performance issues</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770792#M679</link>
      <description>By "real time" here I mean, app operates on data what coming as time goes. So even if app make 2x faster crunching data, it will have 2x more empty cycles, but will not finished 2x faster (actually it is great if it will never stops :)&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;I manually force priority a little bit up (pr 15 against 20 normal, but it is not real time priority anyway).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 12 Aug 2012 18:30:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770792#M679</guid>
      <dc:creator>Roman_Golomidov</dc:creator>
      <dc:date>2012-08-12T18:30:59Z</dc:date>
    </item>
    <item>
      <title>ippiResizeSqrPixel_8u_C1R performance issues</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770793#M680</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1344862236656="60" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=570620" href="https://community.intel.com/en-us/profile/570620/" class="basic"&gt;Roman Golomidov&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;STRONG&gt;By "real time" here I mean&lt;/STRONG&gt;&lt;EM&gt;, app operates on data what coming as time goes...&lt;/EM&gt;&lt;/DIV&gt;&lt;BR /&gt;I see. You wanted to tell "run-time". Thanks for clarifying it.&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Aug 2012 12:55:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeSqrPixel-8u-C1R-performance-issues/m-p/770793#M680</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-08-13T12:55:33Z</dc:date>
    </item>
  </channel>
</rss>

