* [ECOS] Questions about CYGPKG_NET_MEM_USAGE and CYGPKG_NET_MEMPOOL_SIZE
@ 2015-04-29 22:41 Weili Yao
0 siblings, 0 replies; only message in thread
From: Weili Yao @ 2015-04-29 22:41 UTC (permalink / raw)
To: ecos-discuss
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-29 22:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-29 22:41 [ECOS] Questions about CYGPKG_NET_MEM_USAGE and CYGPKG_NET_MEMPOOL_SIZE Weili Yao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).