Uploaded image for project: 'EtherNet/IP Firmware V3'
  1. EtherNet/IP Firmware V3
  2. PSEISV3-950

[Adapter Only] Bad TCP performance with Packet Socket API in some usecases

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V3.8.0.0, V3.9.0.0
    • Fix Version/s: V3.9.0.2, V3.9.1.0 (trunk)
    • Component/s: Adapter
    • Labels:
      None
    • Account:
      SPC EthernetIp Slave (SPCETHERNE)

      Description

      The Packet Socket API may exhibit unexpected slow data transfers with TCP sockets in certain usecases. The problem most likely occurs:

      • when "TCP No Delay" is set on the remote side or
      • when data is sent in many small packets instead of a few big ones
      • when application retrieves data in smaller blocks than sent by the remote site

      For firmwares with SDRAM (so all not designed for netX52), the lwIP stack's buffer pools are to be enlarged in order to improve the performance in certain Packet Socket API TCP usecases.

      The EtherNet/IP Scanner firmwares already use larger lwIP buffer pools (due to client functionality).

      Action Items:

      • Increase the lwIP buffer pool sizes of all EtherNet/IP Adapter LFWs (except netX52 firmwares) 
          .usNumBuf256    = 26,
          .usNumBuf384    = 0,
          .usNumBuf512    = 14,
          .usNumBuf768    = 0,
          .usNumBuf1472   = 6,

       

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    KMichel Kai Michel
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: