This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2432: web server aging test fail

Part Number: AM2432

Dear Champs,

My customer is implement web server using "enet_lwip_icssg_am243x-lp_r5fss0-0_freertos_ti-arm-clang" example, and trying to have aging test on it.

When there was heavy traffic, they found there was no response from server although process task is still alive and ping occurred.

the log capture is as below.

LP-AM243x-web-test.zip

And also, there was link-down occurred at some time as below.

Could you please check these issues? what should be checked to resolve issue?

~~~~~~~

EnetPhy_bindDriver:1718
Icssg_handleLinkUp:3060
link_callback==UP
      5.138s : CPU load =   2.43 %
     10.138s : CPU load =   8. 3 %
     15.138s : CPU load =   2. 2 %
     20.138s : CPU load =   2. 2 %
     25.138s : CPU load =   2. 0 %
     30.138s : CPU load =   2. 0 %
     35.138s : CPU load =   2. 0 %
     40.138s : CPU load =   2.44 %
     45.138s : CPU load =   2. 0 %
     50.138s : CPU load =   2. 0 %
     55.138s : CPU load =   2. 1 %
     60.138s : CPU load =   2. 0 %
     65.138s : CPU load =   2. 0 %
     70.138s : CPU load =   2.20 %
     75.138s : CPU load =   4.83 %
Icssg_handleLinkDown:3079
link_callback==UP
     80.138s : CPU load =   3.92 %
Icssg_handleLinkUp:3060
link_callback==UP
     85.138s : CPU load =   2. 5 %

Thanks and Best Regards,

SI.

  • Hi SI,

    Could you please share the example project and also the steps they tried out, so that we could recreate the issue.

    BR

    Nilabh A.

  • Hi,

    Please check attached in below.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/908/enet_5F00_lwip_5F00_icssg_5F00_am243x_2D00_lp_2D00_R5_5F00_0_2D00_0.7z

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/908/HTTP-request.jmx

    1376.LP-AM243x-web-test.zip

    Their test environment and test results are as below.

    1) test client :

    1. PC : lenovo, X1 Carbon Gen9
    2. Ethernt LAN : NEXT-2200GTC
    3. Test program : Apache JMeter(5.5)
      1. Test case : 1000 task 1 time, all operations should be completed within 2seconds(period = 2ms) 
      2. setting file : HTTP request.jmx

    2) test server :

    1. LP-AM243x
    2. please modify file name : enet_lwip_icssg_am243x-lp-R5_0-0.7z ->linker.cmd.c .
    3. Static IP : 192.168.1.200

    3) Test result

    1. test result : LP-AM243x-web-test.zip
    2. There was no response from Web server
      1. there was no response from Web server, but there were responses from ICMP.
      2. When they tried to debug LwIP, they confirmed the packets were delivered from LWIPIF_LWIP_input(hLwip2Enet->netif, hPbufPacket);
      3. They could not find any call-back function to server in the source.

    Thanks and Best Regards,

    SI.

  • Hi SI

    I will get back on this probably by next week, once I have reproduced the issue.

    BR

    Nilabh A.

  • Dear Champs,

    Any update on this?

    Thanks and Best Regards,

    SI.

  • Hi SI,

    We are able to reproduce the issue on our end. Debug is in progress. We are yet to pin point the issue. I will comeback by next week on this with findings.

    BR

    Nilabh A.

  • Hi SI,

    Below are the observations:

    1. From the test setup, customer is trying to make 1000 tcp connections within a span of 2 sec for this we need to increase the simultaneous TCP connection supported by lwip stack.(We do need to increase heap memory also here). I will be sharing more info once we have fixed the issue.

    2. On our end we see example crashing and ping is stopped due to that, we need to do further analysis on this, I have created a bug for the same and debug is in progress.

    jira.itg.ti.com/.../MCUSDK-8376

    BR

    Nilabh A.