Re: [lwip-users] Insufficent performance of LwIP stack - any suggestions?

2020-12-08 Thread Sidnei Silva
Hi Oleg, It is difficult to make suggestions because we do not know the requirements of your project in detail. You could decrease the rate and increase the amount of data in each data unit. You could also place a ring buffer between the producing process and the consuming process to try to harmo

Re: [lwip-users] Insufficent performance of LwIP stack - any suggestions?

2020-12-08 Thread Trampas Stern
Add some timing metrics to your code and figure out where you are getting your performance loss. For example I would start at the MAC layer where you are writing data to the MAC/GMAC peripheral and see how long that is taking. This in my experience has been the slow part. That is often the driv

[lwip-users] Insufficent performance of LwIP stack - any suggestions?

2020-12-08 Thread Oleg V. Kobrin
I got an external device connected to my custom TM4C1294KCPDT-based board via TCP/IP. There are software on a PC connecting to this board. I am using lwin2.1.2. The device sends some data to my board, the throughput is: 100 times per second - a packet of 78 bytes plus a packet of 2428 bytes, and