<?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: imx6q: PACKET_MMAP Performance?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-PACKET-MMAP-Performance/m-p/270632#M29146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The errata applies to all MX6 ; only to their gigabit FEC interface. Any PCIe-connected ethernet interface is NOT affected by the errata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2014 18:37:24 GMT</pubDate>
    <dc:creator>MarekVasut</dc:creator>
    <dc:date>2014-02-03T18:37:24Z</dc:date>
    <item>
      <title>imx6q: PACKET_MMAP Performance?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-PACKET-MMAP-Performance/m-p/270629#M29143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a board based on the imx6q - it's running the 3.0.35 kernel (via yocto) and is generally pretty stable. My code fires out a lot of UDP packets via a gigabit ethernet interface. Using a simple standard socket / sendto() TX only test loop I can get a reasonable 490Mbit/s throughput on the wire before the CPU load tops out. However, top out it does and having a quick dig via perf I get the feeling that it's mostly the copying and context switching while sending the packets that causes this. I'm pretty sure the ethernet driver itself is fine as its the standard e1000e driver and also I can easily saturate the gigabit running&amp;nbsp; iperf multithreaded.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I was planning on converting my code to use PACKET_MMAP to see what can be achieved as this seems to work well on other platforms. Doing a quick and dirty test using packet_mmap.c (from &lt;A href="http://wiki.ipxwarzone.com/index.php5?title=Linux_packet_mmap" title="http://wiki.ipxwarzone.com/index.php5?title=Linux_packet_mmap"&gt;Linux packet mmap - IwzWiki&lt;/A&gt;) I top out at around 265Mbit/s before the CPU maxes out which is pretty bad. Note that the same version of the code compiled on my x86 box behaves exactly as expected. If I run&amp;nbsp; "perf top" on the target I see that about 60-70% of the CPU time is spent in v7_flush_kern_dcache_area which doesn't seem right. Has anyone any experience doing similar on any of the imx6 boards / kernels? Unfortunately I don't have the dev kit so cant easily test on a later kernel! (if anyone fancies spending 10 mins replicating on their board it would be appreciated!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2014 00:38:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-PACKET-MMAP-Performance/m-p/270629#M29143</guid>
      <dc:creator>pev</dc:creator>
      <dc:date>2014-02-01T00:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q: PACKET_MMAP Performance?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-PACKET-MMAP-Performance/m-p/270630#M29144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know of ERRATA ERR004512 :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERR004512&lt;/P&gt;&lt;P&gt; ENET: 1 Gb Ethernet MAC (ENET) system limitation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description:&lt;/P&gt;&lt;P&gt;The theoretical maximum performance of 1 Gbps ENET is limited to 470 Mbps (total for Tx and&lt;/P&gt;&lt;P&gt;Rx). The actual measured performance in an optimized environment is up to 400 Mbps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Projected Impact:&lt;/P&gt;&lt;P&gt;Minor. Limitation of ENET throughput to around 400 Mbps. ENET remains fully compatible to&lt;/P&gt;&lt;P&gt;1Gb standard in terms of protocol and physical signaling. If the TX and RX peak data rate is higher&lt;/P&gt;&lt;P&gt;than 400 Mbps, there is a risk of ENET RX FIFO overrun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workarounds:&lt;/P&gt;&lt;P&gt;There is no workaround for the throughput limitation. To prevent overrun of the ENET RX FIFO,&lt;/P&gt;&lt;P&gt;enable pause frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proposed Solution:&lt;/P&gt;&lt;P&gt;No fix scheduled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux BSP Status:&lt;/P&gt;&lt;P&gt;No software workaround available&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Feb 2014 17:16:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-PACKET-MMAP-Performance/m-p/270630#M29144</guid>
      <dc:creator>MarekVasut</dc:creator>
      <dc:date>2014-02-02T17:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q: PACKET_MMAP Performance?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-PACKET-MMAP-Performance/m-p/270631#M29145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned, on our custom board I can saturate the gigabit using iperf multithreaded (&amp;gt; 700Mbit/s) As I understand it, that errata is for the sabre boards? I'm guessing that with a 470Mbit cutoff they're using a USB2 based controller rather than PCIe right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 10:47:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-PACKET-MMAP-Performance/m-p/270631#M29145</guid>
      <dc:creator>pev</dc:creator>
      <dc:date>2014-02-03T10:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q: PACKET_MMAP Performance?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-PACKET-MMAP-Performance/m-p/270632#M29146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The errata applies to all MX6 ; only to their gigabit FEC interface. Any PCIe-connected ethernet interface is NOT affected by the errata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 18:37:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-PACKET-MMAP-Performance/m-p/270632#M29146</guid>
      <dc:creator>MarekVasut</dc:creator>
      <dc:date>2014-02-03T18:37:24Z</dc:date>
    </item>
  </channel>
</rss>

