Ethernet bandwidth on iMX6 dual lite

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Ethernet bandwidth on iMX6 dual lite

840件の閲覧回数
richardbuchmann
Contributor I

Hi,

We have several problems with ethernet bandwidth of our board based on a iMX6 dual lite.

A dual lite should work at 340 Mbps using TCP but it does not. This is what we get on a similar board based on a quad not-lite.

Please read below the tests we did to find out the root cause.

Test NC

  • On the dual lite board
    dd if=/dev/zero bs=1M | nc 192.168.1.24 5001
  • On a PC (192.168.1.24)
    nc -l -p 5001 > /dev/null
    and in another shell :
    sudo iftop -i eth0

Results : only 100 Mbps instead of expected 340 (or more)

Test TCP

  1. On the dual lite board
    gst-launch-1.0 videotestsrc ! video/x-raw, width=1280, height=2048, framerate=25/1, format=GRAY8 ! imagefreeze ! queue max-size-buffers=1 ! tcpclientsink port=5000 host=192.168.1.24 sync=false
  2. On a PC (192.168.1.24)
    gst-launch-1.0 tcpserversrc port=5000 host=0.0.0.0 ! queue ! videoparse format=25 width=1280 height=2048 framerate=50/1 ! queue ! videoconvert ! queue ! fpsdisplaysink sync=false
  3. Reboot and try again

Results : the FPS is varying a lot. At every boot, the FPS max is like random.

Question

Is there anything wrong ?

Is it possible to increase the bandwidth ?

ラベル(3)
0 件の賞賛
3 返答(返信)

608件の閲覧回数
richardbuchmann
Contributor I

How many should be the expected bandwidth for a dual lite @800 MHz ?

0 件の賞賛

608件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

    Perhaps the following general considerations help to improve

network performance. Also, it makes sense to use the recent

BSP (L3.14.38).

How To: Network / TCP / UDP Tuning

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

608件の閲覧回数
richardbuchmann
Contributor I

Hi,

We followed the steps described in the link. (How To: Network / TCP / UDP Tuning)

Unfortunately, the performances are still the same (the new values are properly applied) :

- about 100 Mb/s on our dual lite.

- about 340 Mb/s on our quad.

Info: CPU usage is 0% before running tests.

0 件の賞賛