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]
Other format: [Raw text]

Re: Problem with mbufs...


Hi Andrew,

	I am using ecos version 1.3.1

 I made CYG_PKG_MEM_USAGE to double the size of default value. Still
 there was no use.

regards
prem.	
  





On Wed, 18 Dec 2002, Andrew Lunn wrote:

> On Wed, Dec 18, 2002 at 06:04:50PM +0500, M.PREM KUMAR wrote:
> > 
> > 
> > Hi Andrew,
> > 
> > 	First let me thankyou for the information provided.
> > I am not using latest version of eCos. Is there any bug w.r.t mbufs in
> > older version?
> 
> Depends on how old, but yes.
>  
> > 	Further, I am sorry I couldn't get your question, "Checking of
> > receiver half of the code is not leaking as well"
> > 	Can you kindly elaborate it.
> 
> ping sends and receives. You say you have checked eth_drv_tx_done. So
> you have checked for leaks in mbufs used for transmitting. Have you
> looked for leaks of mbufs when receiving the ICMP ECHO reply?
> 
> > Current value of CYGPKG_NET_MEM_USAGE  is 262144 (Default value). 
> 
> This controls the number of mbufs, clusters and memory pool. See
> packages/net/tcpip/current/src/ecos/support.c If you want more mbufs,
> increase this.
> 
> Also, please CC ecos-discuss@sources.redhat.com
> 
>       Andrew
> 
> > 
> > 
> > rgds
> > prem  
> > 
> > 
> > 
> > 
> > 
> > 
> > On Wed, 18 Dec 2002, Andrew Lunn wrote:
> > 
> > > Are you using the latest version of eCos from anoncvs?
> > > 
> > > > 	I am running ping program on our card (Uses MPC860 as base
> > > > processor). When trying to send more pings, there is a warning of
> > > > "eth_recv out of Mbufs" and I am not able to send further pings. Ethernet
> > > > driver is calling eth_drv_tx_done() properly for freeing resources (in
> > > > this case
> > > > mbufs.) 
> > > 
> > > Have you checked that the receiver half of the code is not leaking as
> > > well?
> > > 
> > > > I want to give a try by increasing amount of Mbufs. Can anyone tell how
> > > > to increase the amount of MBufs. Further, if anyone already had a similar
> > > > problem,  provide with the necessary information to solve. 
> > > 
> > > Increase CYGPKG_NET_MEM_USAGE.
> > > 
> > >          Andrew
> > > 
> > 
> > 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 
> 

				  				
				 
    				\//////
			       	[ o o ]
				 \_-_/
				__| |__ 
	   		       /  \ /  \ 				
	______________________oooO___Oooo_____________________________
        ______________________________________________________________
        M.Prem Kumar
	IVRS Group
	Switching Division
	Centre For Development of Telematics
	71/1,Sneha Complex,
	Millers Road
	Bangalore-560 052
					     Mailid:
	Ph. 080-2250009 (Direct)             prem@cdotb.ernet.in
	    080-2263399 (Ext.382)	     pmoluguri@rediffmail.com	
        _____________________________________________________________
	      Everything Is Nice When Shared With A Friend
	_____________________________________________________________



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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