<?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 Re: CPU usage high while using gstreamer in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503595#M81631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt; &lt;SPAN class="tm7"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt;&amp;nbsp; Please try different screen parameters (resolution, frame rate) -&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt;perhaps in Your case really extreme one are applied.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt;&amp;nbsp; Also, You may try to add gstreamer “queue” element for optimization.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt; Perhaps it makes sense to use “mfw_isink” instead of “mfw_v4lsink”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt;&amp;nbsp; As for Oprofile, please refer to Chapter 34 (OProfile) in “mx53_linux.pdf”&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt;how to treat with it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm9"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 May 2016 08:13:52 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2016-05-06T08:13:52Z</dc:date>
    <item>
      <title>CPU usage high while using gstreamer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503594#M81630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using following gstreamer for camera streaming on a IMX53 based custom board(kernel 2.6.35). When we start gstreamer it is taking 40% CPU. gstreamer version is 0.10.36.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;#gst-launch&amp;nbsp; mfw_v4lsrc device=/dev/video0 ! mfw_v4lsink&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought of debugging the issue using oprofile, I have copied vmlinux to filesystem and started oprofile but it is giving following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;The specified file /home/vmlinux does not seem to be valid Make sure you are using the non-compressed image file (e.g. vmlinux not vmlinuz)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied vmlinux file only to filesystem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help to debug the gstreamer CPU utilization further.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 11:07:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503594#M81630</guid>
      <dc:creator>kravik</dc:creator>
      <dc:date>2016-05-05T11:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: CPU usage high while using gstreamer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503595#M81631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt; &lt;SPAN class="tm7"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt;&amp;nbsp; Please try different screen parameters (resolution, frame rate) -&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt;perhaps in Your case really extreme one are applied.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt;&amp;nbsp; Also, You may try to add gstreamer “queue” element for optimization.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt; Perhaps it makes sense to use “mfw_isink” instead of “mfw_v4lsink”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt;&amp;nbsp; As for Oprofile, please refer to Chapter 34 (OProfile) in “mx53_linux.pdf”&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm7"&gt;how to treat with it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tm9"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 08:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503595#M81631</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-05-06T08:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: CPU usage high while using gstreamer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503596#M81632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. Can you please provide link to download "&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;mx53_linux.pdf”.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 08:27:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503596#M81632</guid>
      <dc:creator>kravik</dc:creator>
      <dc:date>2016-05-06T08:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: CPU usage high while using gstreamer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503597#M81633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried using queue element,&amp;nbsp; then frame drop is happening. It is giving following warning. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: from element /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: A lot of buffers are being dropped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When tried with mfw_isink then nothing is coming on the display and it is giving following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vss/mfw_gst_vss_common.c:1015 ioctl error, return -1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 08:40:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503597#M81633</guid>
      <dc:creator>kravik</dc:creator>
      <dc:date>2016-05-06T08:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: CPU usage high while using gstreamer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503598#M81634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; please find the enclosed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summary page :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx53-processors/i.mx53-software-and-development-tool-resources:IMX53_SW" title="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx53-processors/i.mx53-software-and-development-tool-resources:IMX53_SW"&gt;i.MX53 Software and Development Tool Resources|NXP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 02:59:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503598#M81634</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-05-10T02:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: CPU usage high while using gstreamer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503599#M81635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may try the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Preserving contiguous memory region&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; echo 1 &amp;gt; /proc/sys/vm/lowmem_reserve_ratio&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Setting the parameter in this way, the Kernel will prevent application and file caching to fragment “too much” memory. However it will limit the amount of memory that applications can allocate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Dropping Caches&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;This will free ALL system caches BUT this can impact other applications running in the system, requiring them to load the files they use each time the caches are dropped&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;SPAN&gt; There are tools for avoiding file caching of a specific application like the pagecache-management (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcode.google.com%2Fp%2Fpagecache-mangagement%2F" rel="nofollow" target="_blank"&gt;https://code.google.com/p/pagecache-mangagement/&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 08:26:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU-usage-high-while-using-gstreamer/m-p/503599#M81635</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-09-16T08:26:52Z</dc:date>
    </item>
  </channel>
</rss>

