<?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: ls1012ardb - throughput measurement under high load fails, eth2 stops working in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637920#M2104</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;any update on this issue? We are facing the same behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Oct 2017 06:46:53 GMT</pubDate>
    <dc:creator>mdecandia</dc:creator>
    <dc:date>2017-10-13T06:46:53Z</dc:date>
    <item>
      <title>ls1012ardb - throughput measurement under high load fails, eth2 stops working</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637914#M2098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am currently evaluating the LS1012 processor using the ls1012ardb board and try to do some throughput measurements with our smartbits network performance analyzer. I tried with my own LS1012A-SDK-20161230-yocto build and with a prebuilt openwrt image ( Build vls1012a_1.2.1 for LS1012A) with the same results. So far I am not able to do a full measurement because one of the two interfaces apparently stops working. Here is what I found.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My setup is always the same for the boards I test&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# cat setup.sh&lt;BR /&gt;#!/bin/sh&lt;/P&gt;&lt;P&gt;LAN=eth0&lt;/P&gt;&lt;P&gt;WAN=eth2&lt;BR /&gt;ip link set $LAN up&lt;BR /&gt;ifconfig $LAN 172.18.1.1 netmask 255.255.0.0 up&lt;BR /&gt;ip link set $WAN up&lt;BR /&gt;ifconfig $WAN 172.19.1.1 netmask 255.255.0.0 up&lt;BR /&gt;echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The smartbits analyzer puts UDP packets (src port 5000, dst port 5000 ) bidirectionally through the lan and wan ports for 30 seconds and tries to find the maximum throughput while less then 0.5 % of the sent frames get lost:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;smb (max 1Gbps) -&amp;gt; lan0 -&amp;gt; CPU -&amp;gt; wan -&amp;gt; smb&lt;BR /&gt;smb &amp;lt;- lan0 &amp;lt;- CPU &amp;lt;- wan &amp;lt;- smb (max 1 Gbps)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The iptables netfilter rules are empty (default rule ACCEPT) , only the conntrack entries for the UDP connection are used for fast forwarding of the frames.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I checked that the network interfaces are set up correctly before the throughput measurement starts. ICMP in both the lan and wan subnets works. The ARP entries of my test peers look okay:&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# ip neigh&lt;BR /&gt;172.19.1.101 dev eth0 lladdr 00:0c:be:01:58:46 REACHABLE&lt;BR /&gt;172.18.1.254 dev eth2 lladdr 00:10:18:bb:b4:da REACHABLE&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The first measurement even shows me a throughput of ~27400 frames per second (packet length 124 bytes, frames have been sent at rate of 370000 fps, and 92 percent get lost).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;After (or during ) the first measurement however the eth2 interface stops working. All ARP entries relating to eth2 are stale and ICMP to my test peer in the lan subnet (172.18.1.254) does not work anymore:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;root@OpenWrt:/# ip neigh&lt;BR /&gt;172.19.13.1 dev eth0 lladdr 00:00:08:00:00:01 REACHABLE&lt;BR /&gt;172.19.1.101 dev eth0 lladdr 00:0c:be:01:58:46 STALE&lt;BR /&gt;172.19.12.1 dev eth0 lladdr 00:00:07:00:00:01 REACHABLE&lt;BR /&gt;172.19.11.1 dev eth0 lladdr 00:00:06:00:00:01 REACHABLE&lt;BR /&gt;172.18.13.1 dev eth2 lladdr 00:00:04:00:00:01 STALE&lt;BR /&gt;172.19.10.1 dev eth0 lladdr 00:00:05:00:00:01 REACHABLE&lt;BR /&gt;172.18.12.1 dev eth2 lladdr 00:00:03:00:00:01 STALE&lt;BR /&gt;172.18.11.1 dev eth2 FAILED&lt;BR /&gt;172.18.10.1 dev eth2 lladdr 22:33:44:00:00:00 STALE&lt;BR /&gt;172.18.1.254 dev eth2 lladdr 00:10:18:bb:b4:da STALE&lt;BR /&gt;fe80::be30:5bff:fee5:f3cc dev eth0 lladdr bc:30:5b:e5:f3:cc STALE&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The arp request for this address is sent (checked with tcpdump on the peer) and the answer is sent, but never arrives on the eth2 interface on the ls1012ardb board.&lt;/P&gt;&lt;P&gt;The rx counter of "ifconfig eth2" is not increased, however ethtool -S shows increasing counters indicating arriving&lt;/P&gt;&lt;P&gt;ARP packets (rx_broadcast) that are appenrently not handed over by the PFE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# ethtool -S eth2 | grep "rx_"&lt;BR /&gt;rx_packets: 5575508&lt;BR /&gt;rx_broadcast: 1178&lt;BR /&gt;rx_multicast: 34&lt;BR /&gt;rx_crc_errors: 102296&lt;BR /&gt;rx_undersize: 0&lt;BR /&gt;rx_oversize: 0&lt;BR /&gt;rx_fragment: 6&lt;BR /&gt;rx_jabber: 0&lt;BR /&gt;rx_64byte: 1288&lt;BR /&gt;rx_65to127byte: 76&lt;BR /&gt;rx_128to255byte: 5574138&lt;BR /&gt;rx_256to511byte: 0&lt;BR /&gt;rx_512to1023byte: 0&lt;BR /&gt;rx_1024to2047byte: 0&lt;BR /&gt;rx_GTE2048byte: 0&lt;BR /&gt;rx_octets: 713761741&lt;BR /&gt;IEEE_rx_drop: 157&lt;BR /&gt;IEEE_rx_frame_ok: 4982309&lt;BR /&gt;IEEE_rx_crc: 102296&lt;BR /&gt;IEEE_rx_align: 0&lt;BR /&gt;IEEE_rx_macerr: 410986&lt;BR /&gt;IEEE_rx_fdxfc: 0&lt;BR /&gt;IEEE_rx_octets_ok: 637652233&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;root@OpenWrt:/# ethtool -S eth2 | grep "rx_"&lt;BR /&gt;rx_packets: 5575546&lt;BR /&gt;rx_broadcast: 1213&lt;BR /&gt;rx_multicast: 36&lt;BR /&gt;rx_crc_errors: 102296&lt;BR /&gt;rx_undersize: 0&lt;BR /&gt;rx_oversize: 0&lt;BR /&gt;rx_fragment: 6&lt;BR /&gt;rx_jabber: 0&lt;BR /&gt;rx_64byte: 1324&lt;BR /&gt;rx_65to127byte: 77&lt;BR /&gt;rx_128to255byte: 5574139&lt;BR /&gt;rx_256to511byte: 0&lt;BR /&gt;rx_512to1023byte: 0&lt;BR /&gt;rx_1024to2047byte: 0&lt;BR /&gt;rx_GTE2048byte: 0&lt;BR /&gt;rx_octets: 713764278&lt;BR /&gt;IEEE_rx_drop: 157&lt;BR /&gt;IEEE_rx_frame_ok: 4982346&lt;BR /&gt;IEEE_rx_crc: 102296&lt;BR /&gt;IEEE_rx_align: 0&lt;BR /&gt;IEEE_rx_macerr: 410986&lt;BR /&gt;IEEE_rx_fdxfc: 0&lt;BR /&gt;IEEE_rx_octets_ok: 637654706&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues as to what is happening here ? The setup is really nothing special and I successfully checked a number of other network hardware with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and with best regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 12:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637914#M2098</guid>
      <dc:creator>petervollmer</dc:creator>
      <dc:date>2017-04-24T12:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: ls1012ardb - throughput measurement under high load fails, eth2 stops working</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637915#M2099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Did you try your test with the most recent QorIQ SDK (1701) in the&lt;BR /&gt;&amp;nbsp;&amp;nbsp; default build configuration for your target? It is fresher than &lt;BR /&gt;&amp;nbsp;&amp;nbsp; the BSP you are working with and does support your board.&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;2. CRC error counts in your ethtool outputs are quite high, which is&lt;BR /&gt;&amp;nbsp;&amp;nbsp; not normal. Did you try diagnosing your network, or testing against&lt;BR /&gt;&amp;nbsp;&amp;nbsp; another equipment? Can you reproduce the lockup with a lower CRC&lt;BR /&gt;&amp;nbsp;&amp;nbsp; error counts?&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Basically, we test the SDK for stability on supported targets and&lt;BR /&gt;even less noticeable issues are logged, like QLINUX-5841, see the&lt;BR /&gt;most recent SDK documentation, Table 13. There must be something &lt;BR /&gt;specific to your board, software configuration or test setup that &lt;BR /&gt;leads to the interface lockups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:47:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637915#M2099</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2017-04-28T13:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: ls1012ardb - throughput measurement under high load fails, eth2 stops working</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637916#M2100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; 1. Did you try your test with the most recent QorIQ SDK (1701) in the&lt;BR /&gt;&amp;gt; default build configuration for your target? It is fresher than &lt;BR /&gt;&amp;gt;&amp;nbsp;&amp;nbsp; the BSP you are working with and does support your board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input. Before doing anything else I will build the most recent&amp;nbsp; QorIQ SDK 2.0 (1701) image and repeat my throughput test. I'll post my results here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and with best regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 15:40:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637916#M2100</guid>
      <dc:creator>petervollmer</dc:creator>
      <dc:date>2017-04-28T15:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: ls1012ardb - throughput measurement under high load fails, eth2 stops working</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637917#M2101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I now used the most recent prebuilt&amp;nbsp; image included in the QorIQ SDK 2.0 (1703) update to repeat my tests (images/ls1012ardb/kernel-fsl-ls1012a-rdb-20170329204856.itb).&amp;nbsp; Here is what I found:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, there is still a warning about an incompatible PFE firmware version included in the image:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ 5.473645] pe_load_ddr_section: load address(3fb0000) and elf file address(ffff00000039b000) rcvd&lt;BR /&gt;[ 5.507073] PFE binary version: pfe_ls1012a_00_3-3-g1fa4da1-dirty&lt;BR /&gt;[ 5.513178] pfe_firmware_init: class firmware loaded 0xa60 0xc3010000&lt;BR /&gt;[ 5.519635] pfe_load_elf&lt;BR /&gt;[ 5.523185] WARNING: PFE firmware binaries from incompatible version&lt;BR /&gt;[ 5.529558] pfe_firmware_init: tmu firmware loaded 0x200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The throughput test still fails with the same behaviour. However this time I noticed some peculiarities while watching the output of "ip neigh" during the test. In the beginning all 8 IP addresses involved in the test are listed correctly with their&amp;nbsp; MAC addresses, as configured for the smartbits tester.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;172.18.10.1 dev eth0 lladdr 00:00:01:00:00:01 DELAY&lt;/P&gt;&lt;P&gt;172.18.11.1 dev eth0 lladdr 00:00:02:00:00:01 DELAY&lt;BR /&gt;172.18.12.1 dev eth0 lladdr 00:00:03:00:00:01 DELAY&lt;BR /&gt;172.18.13.1 dev eth0 lladdr 00:00:04:00:00:01 DELAY&lt;/P&gt;&lt;P&gt;172.19.10.1 dev eth1 lladdr 00:00:05:00:00:01 DELAY&lt;/P&gt;&lt;P&gt;172.19.11.1 dev eth1 lladdr 00:00:06:00:00:01 DELAY&lt;BR /&gt;172.19.12.1 dev eth1 lladdr 00:00:07:00:00:01 DELAY&lt;/P&gt;&lt;P&gt;172.19.13.1 dev eth1 lladdr 00:00:08:00:00:01 DELAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However shortly after that some MAC adresses seem to get garbled:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;172.19.11.1 dev eth1 lladdr 00:00:06:00:00:01 REACHABLE&lt;BR /&gt;172.19.13.1 dev eth1 lladdr 22:33:44:07:00:00 REACHABLE&lt;BR /&gt;172.19.10.1 dev eth1 lladdr 00:00:05:00:00:01 REACHABLE&lt;BR /&gt;172.19.12.1 dev eth1 lladdr 22:33:44:06:00:00 REACHABLE&lt;BR /&gt;172.18.10.1 dev eth0 lladdr 00:00:01:00:00:01 REACHABLE&lt;BR /&gt;172.18.11.1 dev eth0 lladdr 00:00:02:00:00:01 REACHABLE&lt;BR /&gt;172.18.12.1 dev eth0 lladdr 00:00:03:00:00:01 REACHABLE&lt;BR /&gt;172.18.13.1 dev eth0 lladdr 22:33:44:05:00:00 REACHABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure that the MACs starting with&amp;nbsp; 22:33:44:-...&amp;nbsp; are not sent out by the smartbits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Did you try diagnosing your network, or testing against&lt;BR /&gt;&amp;gt;&amp;nbsp; another equipment? Can you reproduce the lockup with a lower CRC&lt;BR /&gt;&amp;gt;&amp;nbsp; error counts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not configure the smartbits tester to produce any CRC errors. I can not rule out that my test setup by itself produces any CRC errors but the count seems really high to me as well, compared to other tests I have run. The setup is used regularly to do throughput tests with other networking equipment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 16:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637917#M2101</guid>
      <dc:creator>petervollmer</dc:creator>
      <dc:date>2017-05-02T16:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: ls1012ardb - throughput measurement under high load fails, eth2 stops working</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637918#M2102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also observed the same&amp;nbsp;behaviour as you described (one of the ethernet interfaces stopped working). The hardware was LS1012A-RDB, I do not remember the software version, so I can't post reasonable report. I'm just writing to let you know you are not alone with the issue. I used &lt;EM&gt;netperf&lt;/EM&gt;&amp;nbsp;to drive bidirectional test.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 06:05:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637918#M2102</guid>
      <dc:creator>cyrilstrejc</dc:creator>
      <dc:date>2017-05-03T06:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: ls1012ardb - throughput measurement under high load fails, eth2 stops working</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637919#M2103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should check if you have an early revision of the RDB board.&amp;nbsp; According to the errata revisions before Rev D have clocking problems on the ethernet path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=LS1012ARDBE&amp;amp;Parent_nodeId=1462294874819702554554&amp;amp;Parent_pageType=product" title="https://www.nxp.com/webapp/Download?colCode=LS1012ARDBE&amp;amp;Parent_nodeId=1462294874819702554554&amp;amp;Parent_pageType=product"&gt;https://www.nxp.com/webapp/Download?colCode=LS1012ARDBE&amp;amp;Parent_nodeId=1462294874819702554554&amp;amp;Parent_pageType=product&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E-00001 explicitely says that this leads to excessive CRC errors just as you see it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;&amp;nbsp; Detlev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 14:09:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637919#M2103</guid>
      <dc:creator>laodzu</dc:creator>
      <dc:date>2017-05-16T14:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: ls1012ardb - throughput measurement under high load fails, eth2 stops working</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637920#M2104</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;any update on this issue? We are facing the same behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 06:46:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1012ardb-throughput-measurement-under-high-load-fails-eth2/m-p/637920#M2104</guid>
      <dc:creator>mdecandia</dc:creator>
      <dc:date>2017-10-13T06:46:53Z</dc:date>
    </item>
  </channel>
</rss>

