Coldfire uClinux ram usage
"Stan Marly" <[email protected]> Fri, 11 Jul 2008 11:21:17 +0200
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
X-SpamDetect-Info: ------------- Start ASpam results ---------------
X-SpamDetect-Info: This message may be spam. This message BODY has been altered to show you the spam information
X-SpamDetect: ****: 4.300000 From3consonants=0.3, GreyPassed=1.0, DodgySource=2.0, SPF Default Fail=1.0
X-SpamDetect-Info: ------------- End ASpam results -----------------
Hi guys
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 ?
Thanks a lot for your help.
Stan
---
[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.