I'm running the stock 2.2-5 kernel on a diskless system with 32 Meg of RAM.
I followed the bootdisk HOWTO and made a few mods to use some flash memory
instead of floppy to store my root file system which gets unzipped into RAM
at boot and then the system runs off of the ramdisk (8 Meg in size) from
then on. My question relates to memory usage by the kernel. First of all I
have to admit that I'm not sure what all these numbers really mean:
BASH: 9 > more /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 31850496 20320256 11530240 7856128 8388608 6402048
Swap: 0 0 0
MemTotal: 31104 kB
MemFree: 11260 kB
MemShared: 7672 kB
Buffers: 8192 kB
Cached: 6252 kB
SwapTotal: 0 kB
SwapFree: 0 kB
BASH: 10 >
But, it looks like there are rather largish allocations for "Buffers" and
"Cached" which may or may not need to be so high since the performance of a
RAM-based disk should be much better than a real hard drive. Also, I
probably don't need as much buffering as you might see as the default for a
workstation or server, since this is a little embedded system where
bandwidth is low and performance requirements are modest. Could anyone
point me in the right direction as to where I can find info and/or tips on
how to tune the kernel to use less memory even if it comes at the expense of
some performance.
Andy Waddell
Manager Embedded Platforms Group
Turnstone, Systems, Inc.
mailto:[EMAIL PROTECTED]
--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.