This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: high bandwidth network problems


> Try increasing the number of mbufs.  Set the configuration parameter
> CYGPKG_NET_MEM_USAGE to something larger (the default is 256*1024).
> 
> Do you have the latest code from CVS?  I seem to recall something in there
> about an mbuf memory leak which was fixed recently.  This might help.

Increasing the memory is not the real solution. The code will cope
with running out of mbufs, its a normal occurance. Whats wrong is
printing these messages. Printing these messages is a classic denial
of service problem. What it should do is limit the number of times it
prints it, to a maximum of one per second, or even not at all.

        Andrew

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]