This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: high bandwidth network problems
- To: (Andrew Lunn) <andrew dot lunn at ascom dot ch>
- Subject: Re: [ECOS] high bandwidth network problems
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Wed, 06 Sep 2000 06:24:26 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com, carl at leg dot uct dot ac dot za
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.