public inbox for
 help / color / mirror / Atom feed
From: Weili Yao <>
To: "" <>
Date: Wed, 29 Apr 2015 22:41:00 -0000	[thread overview]
Message-ID: <> (raw)

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!


Before posting, please read the FAQ:
and search the list archive:

                 reply	other threads:[~2015-04-29 22:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).