Mercurial > nand-ecoscentric
changeset 1446:9f065ea84515
Increase default memory pool size
| author | gthomas |
|---|---|
| date | Tue, 16 Dec 2003 14:46:00 +0000 |
| parents | 85afbe4f7f1c |
| children | 1093dffde948 |
| files | packages/net/bsd_tcpip/current/ChangeLog packages/net/bsd_tcpip/current/cdl/freebsd_net.cdl |
| diffstat | 2 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/net/bsd_tcpip/current/ChangeLog +++ b/packages/net/bsd_tcpip/current/ChangeLog @@ -1,3 +1,10 @@ +2003-12-16 Gary Thomas <gary@mlbassoc.com> + + * cdl/freebsd_net.cdl: Increase default memory pool size to + include at least enough space to allocate PCBs and SOCKETs. + Without this, if the number of open files was raised, the + memory pool was inadequate. + 2003-12-10 Gary Thomas <gary@mlbassoc.com> * include/netinet/in.h: Prototype for inet_ntoa_r()
--- a/packages/net/bsd_tcpip/current/cdl/freebsd_net.cdl +++ b/packages/net/bsd_tcpip/current/cdl/freebsd_net.cdl @@ -275,10 +275,12 @@ cdl_package CYGPKG_NET_FREEBSD_STACK { cdl_option CYGPKG_NET_MEM_USAGE { display "Memory designated for networking buffers." flavor data - default_value 256*1024 + default_value (256*1024)+(CYGPKG_NET_MAXSOCKETS*1024) description " This option controls the amount of memory pre-allocated - for buffers used by the networking code." + for buffers used by the networking code. The number is an + upper limit, with at least enough space to get the stack + initialized." } cdl_option CYGPKG_NET_MAXSOCKETS {
