<?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: iMX8QM 10G ethernet performance issues in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1263526#M172731</link>
    <description>&lt;P&gt;But the Gen3 PCIe x2 should be able to reach 8Gbits/sec bandwidth, Am I correct? Unless there is limitation on iMX8QM side I'm not aware of.&lt;/P&gt;&lt;P&gt;During the UDP test, the kernel thread "ksoftirqd/0" had high CPU usage of core 0 as well. I noticed increased UDP packet loss when I tried to run CPU intensive application during the UDP test.&lt;/P&gt;&lt;P&gt;Could the CPU be bottleneck for the PCIe performance? If it is, how can we solve this?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Apr 2021 11:37:45 GMT</pubDate>
    <dc:creator>martin_lovric</dc:creator>
    <dc:date>2021-04-16T11:37:45Z</dc:date>
    <item>
      <title>iMX8QM 10G ethernet performance issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1260519#M172443</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm having issue with 10G ethernet performance on Toradex Apalis iMX8QM SoM.&lt;/P&gt;&lt;P&gt;We have SoM and AQVC107 10G ethernet controller on our custom carrier board. The SoM interfaces with controller via PCIe x2 link and is running a custom Yocto distribution of Linux, based on Boot2Qt with kernel version 4.14.&lt;/P&gt;&lt;P&gt;The device is connected to Nvidia Pegasus system over 10G ethernet. I've used &lt;EM&gt;iperf3 &lt;/EM&gt;to test the bandwidth. On the device I was running &lt;EM&gt;iperf3&lt;/EM&gt; server and on the Nvidia system was &lt;EM&gt;iperf3 &lt;/EM&gt;client in UDP mode. With this setup I've achieved about ~1.6 Gbits/sec with ~38% receiver packet loss.&lt;/P&gt;&lt;P&gt;If I reversed the roles so that Nvidia is running server and the device is client I have better results, about ~2 Gbits/sec with ~0.028% receiver packet loss.&lt;/P&gt;&lt;P&gt;I've tried to run &lt;EM&gt;iperf3&lt;/EM&gt; client on Nvidia with &lt;STRONG&gt;-w 32k &lt;/STRONG&gt;parameter and I've succeeded to get ~1.2Gbits/sec with packet loss less than 0,5%&amp;nbsp; on the device.&lt;BR /&gt;&lt;BR /&gt;Could you help me figure out what is causing these huge packet losses when the device (iMX8QM) is running &lt;EM&gt;iperf3&lt;/EM&gt; server? We've checked HW design and ruled it out as possible cause, you can find the schematics of the PCIe connection to the controller in the attachment.&lt;BR /&gt;&lt;BR /&gt;Could the problem be in the PCIe driver? Is there perhaps some configuration I'm not aware of?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 11:08:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1260519#M172443</guid>
      <dc:creator>martin_lovric</dc:creator>
      <dc:date>2021-04-12T11:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM 10G ethernet performance issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1260950#M172483</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94365"&gt;@martin_lovric&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; please try to use iperf2 instead of iperf3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;A href="https://community.nxp.com/t5/i-MX-Processors/TCP-Network-performace-issues/m-p/876395#M133024" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/TCP-Network-performace-issues/m-p/876395&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 04:35:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1260950#M172483</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-04-13T04:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM 10G ethernet performance issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1261390#M172534</link>
      <description>&lt;P&gt;Hello Yuri,&lt;/P&gt;&lt;P&gt;Thanks for this advice, with iperf 2.0.10 I've succeeded to make test using TCP protocol but the maximum speed I've achieved was ~1.8Gbits/sec:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot from 2021-04-13 13-59-46.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142143i4C2B253F53FD25F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2021-04-13 13-59-46.png" alt="Screenshot from 2021-04-13 13-59-46.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've noticed when iperf server is handling incoming connection the ksoftirqd/0 has high CPU usage:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ksoftirqd.png" style="width: 971px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142144i85E77C07C6829FD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ksoftirqd.png" alt="ksoftirqd.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this normal behavior and could this cause issues with 10G ethernet interface?&lt;/P&gt;&lt;P&gt;Also, do you have any idea what could be causing the 10G ethernet interface to run at only ~1.8Gbits/sec?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 15:24:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1261390#M172534</guid>
      <dc:creator>martin_lovric</dc:creator>
      <dc:date>2021-04-13T15:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM 10G ethernet performance issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1263395#M172720</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94365"&gt;@martin_lovric&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I think Your result is not so bad, taking into account i.MX8 PCie performance.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/PCIe-Bandwidth/m-p/1063269" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/PCIe-Bandwidth/m-p/1063269&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 08:37:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1263395#M172720</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-04-16T08:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM 10G ethernet performance issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1263526#M172731</link>
      <description>&lt;P&gt;But the Gen3 PCIe x2 should be able to reach 8Gbits/sec bandwidth, Am I correct? Unless there is limitation on iMX8QM side I'm not aware of.&lt;/P&gt;&lt;P&gt;During the UDP test, the kernel thread "ksoftirqd/0" had high CPU usage of core 0 as well. I noticed increased UDP packet loss when I tried to run CPU intensive application during the UDP test.&lt;/P&gt;&lt;P&gt;Could the CPU be bottleneck for the PCIe performance? If it is, how can we solve this?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 11:37:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1263526#M172731</guid>
      <dc:creator>martin_lovric</dc:creator>
      <dc:date>2021-04-16T11:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM 10G ethernet performance issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1266398#M173031</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94365"&gt;@martin_lovric&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN class="tm6"&gt;&amp;nbsp; below are my comments: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="Normal tm5"&gt;&lt;SPAN class="tm6"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="tm6"&gt;1)&lt;/SPAN&gt;&lt;SPAN class="tm6"&gt; Now we have only the following i.MX8 PCIe performance estimations.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="Normal tm5"&gt;&lt;SPAN class="tm6"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="tm6"&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN13164" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=AN13164 &lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="Normal tm5"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="Normal tm5"&gt;&lt;SPAN class="tm6"&gt;2)&lt;/SPAN&gt;&lt;SPAN class="tm6"&gt;&amp;nbsp; i.MX8QM system performance also may be restricted by memory:&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="tm6"&gt;but it is not provided.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 06:52:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-10G-ethernet-performance-issues/m-p/1266398#M173031</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-04-22T06:52:23Z</dc:date>
    </item>
  </channel>
</rss>

