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



On 06-Sep-2000 Andrew Lunn wrote:
>> 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.
> 

A reasonable observation.  The messages are[were] there simply so we 
could see if the code was detecting such conditions and doing the right
thing.  If they messages themselves are getting in the way, just nuke 'em.

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