• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RTE3 Use real time ethernet as "normal" ethernet interface
#49
Hello Andi,

I want to share with you the information I collected.

I have to tell you that indeed netX and the container's ethernet port implementation will drop ethernet frames at higher bus loads. The interface cannot be compared to a native ethernet port such as eth0 supported by netPI as well ... netX ethernet port is and will be always a bottleneck and is driven through a user space driver and not kernel driver as it is usual.

The reason lies in the very nature of the design. First of all the 25Mhz speed of the SPI interface between raspberry CPU and netX is a limiting factor. As next the established mailbox system to collect incoming traffic and to it send out consumes a lot of time for handshaking in between and all this is executed in polling mode and not in interrupt mode. Another reason is the 8 traffice message deep ethernet frame buffer established between both chips. If it is overloaded then frames are dropped as well.

Of course even if frames are dropped with TCP/IP based communications there is no problem at all since the protocol includes recovery mechanisms to resend lost packages or to detect them. I agree that it will slow down the effective data rate, but it works fine. So overall the cifx0 is an interface that can be well used as service interface e.g. Codesys PLC programming port. If there is a needs for a high performance interface cifx0 is not suitable.

P.S: what I was never able to see are lost ping packages if there is no other network load active over the same network.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
RE: RTE3 Use real time ethernet as "normal" ethernet interface - by Armin@netPI - May-9th-2019, 11:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  activate Ethernet cifx0 Christian_Rau 3 2,522 March-26th-2021, 05:28 AM
Last Post: Armin@netPI
  Web browser reports "insecure connection" when accessing netPI for the first time Armin@netPI 2 2,745 January-31st-2020, 07:07 AM
Last Post: Armin@netPI
  Profinet Startup Time Schranz 3 3,392 November-18th-2019, 03:22 PM
Last Post: Armin@netPI
  normal ethernet port using for Profinet MGharat 4 4,634 August-7th-2019, 10:39 AM
Last Post: hannes
  Launching multi-containers at a time - Docker stacks Armin@netPI 0 1,855 June-4th-2019, 04:11 PM
Last Post: Armin@netPI
  niot-e-npi3-51-en (RS485 <-> Industrial Ethernet) merklethomas 6 4,724 April-26th-2019, 01:38 PM
Last Post: Armin@netPI
  Modbus TCP Connection via RTE Ethernet Ports Flo_Lo 18 11,103 April-15th-2019, 09:50 PM
Last Post: Armin@netPI
  USB/Ethernet adapter slos 4 3,657 April-8th-2019, 09:11 AM
Last Post: slos
  [SOLVED] Use netX interface as profinet controller jromero248 2 3,111 January-10th-2019, 12:30 PM
Last Post: jromero248
  IP Realtime Ethernet michu252 7 4,746 August-21st-2018, 10:41 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 3 Guest(s)