<?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: IPCF cost too much cpuload in S32G</title>
    <link>https://community.nxp.com/t5/S32G/IPCF-cost-too-much-cpuload/m-p/1692546#M4212</link>
    <description>&lt;P&gt;&lt;SPAN&gt;yeah, only seeing under BSP37.0，we use s32g254a soc.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2023 01:24:10 GMT</pubDate>
    <dc:creator>jun13_chen</dc:creator>
    <dc:date>2023-07-26T01:24:10Z</dc:date>
    <item>
      <title>IPCF cost too much cpuload</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-cost-too-much-cpuload/m-p/1691740#M4189</link>
      <description>&lt;P&gt;I have test IPCF transfer data from A core to M core, and M core send back the same data.&lt;/P&gt;&lt;P&gt;After finished all the transmission, I saw too much cpuload with ksoftirqd, the stacktrace is in function of ipc_queue_pop.&lt;/P&gt;&lt;P&gt;Following is top result and perf result:&lt;/P&gt;&lt;P&gt;top - 14:30:15 up 2 min, 1 user, load average: 0.95, 0.32, 0.11&lt;BR /&gt;Tasks: 107 total, 2 running, 105 sleeping, 0 stopped, 0 zombie&lt;BR /&gt;%Cpu(s): 0.2 us, 0.5 sy, 0.0 ni, 49.4 id, 0.3 wa, 0.0 hi, 49.6 si, 0.0 st&lt;BR /&gt;MiB Mem : 991.6 total, 888.7 free, 62.9 used, 40.0 buff/cache&lt;BR /&gt;MiB Swap: 0.0 total, 0.0 free, 0.0 used. 916.1 avail Mem&lt;/P&gt;&lt;P&gt;PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND&lt;BR /&gt;10 root 20 0 0 0 0 R 99.3 0.0 1:05.50 ksoftirqd+&lt;/P&gt;&lt;P&gt;Samples: 15K of event 'cycles', 4000 Hz, Event count (approx.): 3603202572 lost:&lt;BR /&gt;Overhead Shared Object Symbol&lt;BR /&gt;79.10% [ipc_shm_dev] [k] ipc_queue_pop&lt;BR /&gt;5.78% [ipc_shm_dev] [k] ipc_hw_irq_enable&lt;BR /&gt;2.02% [kernel] [k] tasklet_action_common.constprop.0&lt;BR /&gt;1.65% [ipc_shm_dev] [k] $x&lt;BR /&gt;1.57% [kernel] [k] __softirqentry_text_start&lt;BR /&gt;1.43% [kernel] [k] wake_up_var&lt;BR /&gt;1.10% [kernel] [k] __tasklet_schedule&lt;BR /&gt;0.63% [ipc_shm_dev] [k] 0x00000000000000d4&lt;BR /&gt;0.56% [kernel] [k] rcu_softirq_qs&lt;/P&gt;&lt;P&gt;I am sure the problem is caused by following patch in release of IPCF bsp37.0&lt;/P&gt;&lt;P&gt;commit 3df0b2e261b0c6be50e70bf6e54c1b3eb0e9dd6b&lt;BR /&gt;Author: Hoang Nguyen Le &amp;lt;hoang.nguyenle@nxp.com&amp;gt;&lt;BR /&gt;Date: Fri Mar 3 17:56:35 2023 +0700&lt;/P&gt;&lt;P&gt;Add do while statement to process&lt;BR /&gt;all BDs until no data left&lt;/P&gt;&lt;P&gt;Issue: IPCF-2948&lt;/P&gt;&lt;P&gt;Signed-off-by: Hoang Nguyen Le &amp;lt;hoang.nguyenle@nxp.com&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to solve the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 02:29:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-cost-too-much-cpuload/m-p/1691740#M4189</guid>
      <dc:creator>jun13_chen</dc:creator>
      <dc:date>2023-07-25T02:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: IPCF cost too much cpuload</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-cost-too-much-cpuload/m-p/1692411#M4206</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Are you seeing this behavior only under BSP37.0? Or under other BSP's?&lt;/P&gt;
&lt;P&gt;Also, which S32G series are you using? Are you using any NXP platform?&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 17:25:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-cost-too-much-cpuload/m-p/1692411#M4206</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-07-25T17:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: IPCF cost too much cpuload</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-cost-too-much-cpuload/m-p/1692546#M4212</link>
      <description>&lt;P&gt;&lt;SPAN&gt;yeah, only seeing under BSP37.0，we use s32g254a soc.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 01:24:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-cost-too-much-cpuload/m-p/1692546#M4212</guid>
      <dc:creator>jun13_chen</dc:creator>
      <dc:date>2023-07-26T01:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: IPCF cost too much cpuload</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-cost-too-much-cpuload/m-p/1693262#M4224</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. In that case, we will send this situation to the internal team for them to verify the behavior you are experiencing.&lt;/P&gt;
&lt;P&gt;Since this may require a patch, this may take more than the expected time and could even be pushed to further BSP releases. We do apologize.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 17:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-cost-too-much-cpuload/m-p/1693262#M4224</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-07-26T17:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: IPCF cost too much cpuload</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-cost-too-much-cpuload/m-p/1695233#M4256</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have received the following update from the internal team:&lt;/P&gt;
&lt;P&gt;"I checked the customer's comments, it seems customer didn't change the ipc-shm.bb file to get the correct IPCF version. Could you please asked customer to follow the IPCF's user manual to get the correct IPCF package.&lt;/P&gt;
&lt;P&gt;And to reproduce this issue on my side, could you please help to clarify which test tool&amp;nbsp; is used to test the CPU loading? And which version of IPCF is using on the M7 side?"&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 21:03:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-cost-too-much-cpuload/m-p/1695233#M4256</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-07-28T21:03:13Z</dc:date>
    </item>
  </channel>
</rss>

