Re: Coldfire uClinux ram usage
Greg Ungerer <[email protected]> Fri, 18 Jul 2008 14:21:37 +1000
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
Hi Stan, Stan Marly wrote: > I have a question regarding uClinux 2.4.32 slab allocator. > I have a system (Coldfire 5208) with 16 mbytes of Ram and 8 Mbytes of > flash. > When the system starts, I have: > Memory available: 12800k/16383k RAM, 0k/0k ROM (896k kernel code, 275k > data) # free > total: used: free: shared: buffers: cached: > Mem: 13139968 2695168 10444800 0 237568 249856 > > At this stage, if I do a cat /proc/slabinfo and I f I sum all the > buffers (all the buffers, not only the active ones), the total is about > 2 Mbytes, that is not so far from the 2,6 Mbytes used given by "free". > > Now if I run my application ( tcl interpreter), the sum of all the > buffers of /proc/slabinfo is about 6.5 Mbytes (!!) and free returns a > ram usage of 9.5 Mbytes. > => I have lost 3 Mbytes. > Could someone tell me how to recover these Megabytes or where are they > located ? Can you send the complete output of "cat /proc/slabinfo" , and "cat /proc/meminfo" too. Regards Greg ------------------------------------------------------------------------ Greg Ungerer -- Chief Software Dude EMAIL: [email protected] Secure Computing Corporation PHONE: +61 7 3435 2888 825 Stanley St, FAX: +61 7 3891 3630 Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com --- [email protected] Send a post to the list. [email protected] Join the list. [email protected] Join the list in digest mode. [email protected] Leave the list.