Hello All,
We have devices that are using ECOS BSD_TCP stack for networking. The device
supports multiple interfaces such as Ethernet on "eth0", ppp, and Wi-Fi on
"eth1" and "eth2". In the ecos.ecc, we set the CYGPKG_NET_MEM_USAGE to 640000
bytes, CYGPKG_NET_MEMPOOL_SIZE to 300000 bytes, and CYGPKG_NET_MAXSOCKETS to
100. In our LAN, we occasionally see no free net_mem_pool, and also we see no
free sockets.
My questions are:
1) What will happen when the system runs out of the configured
NET_MEM_POOL memory? Will it corrupt the network stacks?
2) Since we see the system sometime runs out of sockets, we intend to
double CYGPKG_NET_MAXSOCKETS to 200, then how much is CYGPKG_NET_MEMPOOL_SIZE
needed and how much should I set CYGPKG_NET_MEM_USAGE to?
Any suggestions and insights are welcome!
Thank you a lot!
Weili
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss