|
From: | pekez |
Subject: | Re: [lwip-users] lwIP with FreeRTOS memory problem |
Date: | Tue, 29 Nov 2016 12:28:41 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 |
So, I have returned MEMP_MEM_MALLOC to 0, and generated with Xilinx SDK a .map file (it's in attachments). Can we say that lwIP for sure won't take more memory then what we can see in that file, ram_heap plus sum of everything that makes memp_memory (which includes entire pbuf_pool (PBUF_POOL_BUFSIZE*PBUF_POOL_SIZE) as well)? Is there anyway I can verify that with mentioned iperf application, for example, to add some enormous array which will fill the rest of RAM, and try to write to it, and see whether that will make some influence on lwIP?
Noam, I had a look at your lwipopts.h, and I must say that your suggestions have helped when it comes to lwIP performance, especially the MEMP_NUM_PBUF define.
The Best, Nenad
mmap.PNG
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |