Memory designated for network buffers 294912 Memory designated for network dynamically allocated memory 69632 MBUFs memory size 34816 (default was 69632) Clusters size 139264 Max number of open sockets 32 Number of supoported pending network events 8
- cyl 2010/7/21 John Mills <johnmi...@speakeasy.net>: > Cyl - > > How much memory is your code allocating dynamically? How much statically? > > - Mills > > On Tue, 20 Jul 2010, cyl cyl wrote: > >> A strange thing. If I twice the "MBUFs memory size" which is >> 69632 to 139264, it seems worse. No warnings of "out of MBUFs" , >> but a few seconds after I took out the hardware (my computer not the >> development board) , I can't ping it (from another computer). > >> If I set the "MBUFs memory size" to 69632 (default value), the >> same problem occurs . But not happens so soon as "139264". > >> If set to 34816 (half). It works well. I can always ping its >> ip. And the "write" to the "unnormally closed" connection would return >> -1 at last. > >> if set to 17408 (1/4), the warning out of MBUFs occurs. >> Any suggestions? >> Thank you. >> >> - cyl > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss