<?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>i.MX Processors中的主题 Re: Why would i.MX53 context switch be slow?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441292#M67798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any recommendations on where would be the best place?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm considering adding it to the decompressing loader, but I'm not sure if there's a better place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert Daniels&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2015 19:10:53 GMT</pubDate>
    <dc:creator>RobertDaniels</dc:creator>
    <dc:date>2015-06-19T19:10:53Z</dc:date>
    <item>
      <title>Why would i.MX53 context switch be slow?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441286#M67792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've recently noticed that there is a large difference between the context switch times on the i.MX53 QSB and our own device based on the i.MX53.&amp;nbsp; Our device is 4-5 times slower as measured with lat_ctx described in this post: &lt;A href="http://www.pengutronix.de/development/kernel/arm-benchmarks-20100729_en.html"&gt;http://www.pengutronix.de/development/kernel/arm-benchmarks-20100729_en.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I see better performance on the QSB, I am wondering if I have something misconfigured somewhere on my board but I do not really know where to look.&amp;nbsp; What kernel configuration options could affect context switch performance?&amp;nbsp; Where should I look to track this issue down?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert Daniels&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 15:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441286#M67792</guid>
      <dc:creator>RobertDaniels</dc:creator>
      <dc:date>2015-05-18T15:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why would i.MX53 context switch be slow?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441287#M67793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I heard that there is a bad thread wake up performance issue in recent kernels.&lt;/P&gt;&lt;P&gt;Please try to add idle=poll into boot options as a workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 09:38:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441287#M67793</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2015-06-18T09:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why would i.MX53 context switch be slow?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441288#M67794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've finally tracked down the cause of our slowdown. We used a mainline version of Das U-Boot which did not have the L2 cache enable patch. Once I included this patch our context switch times dropped by a factor of 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a follow-up question, does anyone know if the L2 cache can be enabled in the linux kernel or must it be enabled in u-boot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert Daniels&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 17:27:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441288#M67794</guid>
      <dc:creator>RobertDaniels</dc:creator>
      <dc:date>2015-06-19T17:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why would i.MX53 context switch be slow?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441289#M67795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I enabled L2 cache for mx5 in U-boot in this commit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;commit 4867b634b7c0e5ede258b4998fa4b2710e7daacf&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Author: Fabio Estevam &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:fabio.estevam@freescale.com"&gt;fabio.estevam@freescale.com&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Date:&amp;nbsp;&amp;nbsp; Mon Sep 30 13:16:52 2013 -0300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARM: mx5: Enable L2 cache&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enable L2 cache for improving the system performance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Signed-off-by: Fabio Estevam &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:fabio.estevam@freescale.com"&gt;fabio.estevam@freescale.com&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 17:40:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441289#M67795</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-06-19T17:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why would i.MX53 context switch be slow?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441290#M67796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I was just wondering if it's OK to enable the L2 cache in the kernel instead of u-boot. Is there any reason why I can't do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 18:51:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441290#M67796</guid>
      <dc:creator>RobertDaniels</dc:creator>
      <dc:date>2015-06-19T18:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why would i.MX53 context switch be slow?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441291#M67797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see no reason for not doing that in the kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you get it working, please send a patch to linux-arm-kernel list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One advantage of doing it from the bootloader is that bootloader will run faster as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 18:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441291#M67797</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-06-19T18:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why would i.MX53 context switch be slow?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441292#M67798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any recommendations on where would be the best place?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm considering adding it to the decompressing loader, but I'm not sure if there's a better place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert Daniels&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 19:10:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441292#M67798</guid>
      <dc:creator>RobertDaniels</dc:creator>
      <dc:date>2015-06-19T19:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why would i.MX53 context switch be slow?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441293#M67799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what would be the suitable place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which kernel version do you use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you ask for a recommendation at linux-arm-kernel list?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 19:18:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-would-i-MX53-context-switch-be-slow/m-p/441293#M67799</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2015-06-19T19:18:44Z</dc:date>
    </item>
  </channel>
</rss>

