|
From: | Marco Giammarini |
Subject: | Re: [lwip-users] LWIP slow web server only with Windows OS request |
Date: | Thu, 16 Sep 2021 08:49:12 +0200 |
Dear Simon, Thanks for your reply. I have set 40kB of heap, and every time I stop the microcontroller in debug mode during web site request, the free memory is over 70%. This is my configuration: #define MEM_SIZE (40*1024) #define MEMP_NUM_PBUF 28 #define MEMP_NUM_TCP_PCB 10 #define MEMP_NUM_TCP_PCB_LISTEN 3 #define MEMP_NUM_TCP_SEG 40 #define PBUF_POOL_SIZE 15 #define TCP_MSS (1500 - 40) #define TCP_SND_BUF (3*TCP_MSS) #define TCP_SND_QUEUELEN (6 * TCP_SND_BUF)/TCP_MSS #define TCP_WND (3*TCP_MSS) Is there anything I can change? Regards, Marco
|
[Prev in Thread] | Current Thread | [Next in Thread] |