RE: [uClinux-dev] memory usage on NET+Lx

From: Abhishek Thakur (Abhishek.Thakur@synchronous.net)
Date: Thu Aug 23 2001 - 15:53:32 EDT


Please find the ouput from the runs attached -
For each new command tried (including mkdir) the first time, this memory
seems to grow.
Even when the same files is copied to another name and run, the chached data
size increases. It copied snmpd to snmp2 and ran it to find a cache bloating
by another 500 KB or so. Rerunning snmp did not cause any change to size
though.
Looks like some internal caching by linux - though I am not absolutely sure.

Abhishek

> -----Original Message-----
> From: Kendrick G. Hamilton [mailto:hamilton@SEDSystems.ca]
> Sent: Thursday, August 23, 2001 11:31 AM
> To: uclinux-dev@uclinux.org
> Subject: Re: [uClinux-dev] memory usage on NET+Lx
> 
> 
> Try runing a program repeatedly and check proc/meminfo after 
> each run. 
> Can you post the results.
> 
> Abhishek Thakur wrote:
> > Hi,
> >    I am running uClinux on a Netsilicon based board with 4 
> MB ramfs. 
> > Around 2 MB is lost in the cached data. Anyidea who does it 
> - and how it 
> > can be recovered?
> > 
> >  > cat /proc/meminfo
> >         total:    used:    free:  shared: buffers:  cached:
> > Mem:  14934016 11366400  3567616        0  4198400  2211840
> > Swap:        0        0        0
> > MemTotal:     14584 kB
> > MemFree:       3484 kB
> > MemShared:        0 kB
> > Buffers:       4100 kB
> > Cached:        2160 kB
> > SwapTotal:        0 kB
> > SwapFree:         0 kB
> > 
> > 
> > Thanks
> > Abhishek
> > 
> 
> 
> -- 
> Kendrick Hamilton E.I.T.
> SED Systems, a division of Calian Ltd.
> 18 Innovation Blvd.
> PO Box 1464
> Saskatoon, Saskatchewan
> Canada
> S7N 3R1
> Canada
> 
> Hamilton@sedsystems.ca
> Tel: (306) 933-1453
> Fax: (306) 933-1486
> 
> This message resent by the uclinux-dev@uclinux.org list 
> server http://www.uClinux.org/
> 




This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/

This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:20:06 EDT