<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>What causes the CPU processing speed to slow down after OpenThread is enabled?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88375/what-causes-the-cpu-processing-speed-to-slow-down-after-openthread-is-enabled</link><description>Hi, 
 I found that runing a piece of code costs 490.21 us when OpenThread is disabled. 
 However, after OpenThread is enabled, the time changed to 746.3 us as shown in the figure below: 
 
 Is this caused by the CPU usage of OpenThread? If so what is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 May 2022 07:55:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88375/what-causes-the-cpu-processing-speed-to-slow-down-after-openthread-is-enabled" /><item><title>RE: What causes the CPU processing speed to slow down after OpenThread is enabled?</title><link>https://devzone.nordicsemi.com/thread/370125?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 07:55:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f28e118-8195-4fa8-b134-108b4ebbdd36</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Here is the invitation link for Zephyr/OpenThread channel:&amp;nbsp;&lt;a href="https://discord.gg/WmVncu9n"&gt;https://discord.gg/WmVncu9n&lt;/a&gt;, it will expire after 7 days.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What causes the CPU processing speed to slow down after OpenThread is enabled?</title><link>https://devzone.nordicsemi.com/thread/370062?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 01:29:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:584ace06-9cfb-4588-8f07-e39ea3b048ee</guid><dc:creator>Joyop</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;Thanks for your reply, I&amp;#39;m going to use CPU load measurement later to track CPU load.&lt;/p&gt;
&lt;p&gt;Besides, please invite me into that channel and I&amp;#39;ll see if it helps.&lt;/p&gt;
&lt;p&gt;Best wishes,&lt;/p&gt;
&lt;p&gt;Joyop&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What causes the CPU processing speed to slow down after OpenThread is enabled?</title><link>https://devzone.nordicsemi.com/thread/369944?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 10:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:633fb6bb-bc64-4572-b634-0c4477693674</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Yao,&lt;/p&gt;
&lt;p&gt;Thanks for your inquiry with us. Here are my opinions:&lt;/p&gt;
[quote user=""]Is this caused by the CPU usage of OpenThread?&amp;nbsp;[/quote]
&lt;p&gt;I believe this is the cause. Just like a PC OS, your application logic&amp;nbsp;will&amp;nbsp;slow down when the CPU load is high. Zephyr Project provides&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/libraries/debug/cpu_load.html"&gt;CPU load measurement — nRF Connect SDK 1.9.1 documentation (nordicsemi.com)&lt;/a&gt;&amp;nbsp;to track CPU load.&lt;/p&gt;
[quote user=""]If so what is the OpenThread protocol stack doing(triggering an IRQ?)?&amp;nbsp; Is there a way to reduce this impact?[/quote]
&lt;p&gt;Hard to explain in a few words, you can find OT source codes from &lt;a href="https://github.com/openthread/openthread"&gt;openthread/openthread: OpenThread released by Google is an open-source implementation of the Thread networking protocol (github.com)&lt;/a&gt;.. You can also enable the OT log system to see what happens on its stack in real-time. but this will&amp;nbsp;cost more CPU resources. I suggest you disable the log system to see if there is any improvement.&lt;/p&gt;
&lt;p&gt;I am not a Zephyr OS expert.&amp;nbsp;&lt;a href="https://zephyrproject.org/contact-us/"&gt;Zephyr Project | Contact Us&lt;/a&gt;&amp;nbsp;Discord channel(&lt;a href="https://discord.com/channels/720317445772017664/884102400149966930)"&gt;discord.com/.../884102400149966930)&lt;/a&gt; may be a good place for a deeper discussion. I can invite you if you need more help.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What causes the CPU processing speed to slow down after OpenThread is enabled?</title><link>https://devzone.nordicsemi.com/thread/369842?ContentTypeID=1</link><pubDate>Sat, 28 May 2022 08:14:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d81d228-b53f-481f-aece-02750a8bde9a</guid><dc:creator>Joyop</dc:creator><description>&lt;p&gt;The figure above is a little blurry, repost it:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/_FE564772_23.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>