[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cache in RAM / linux kernel



Hey.

Question to any Linux kernel hacker out there, before I go and bug
linux-kernel. I have a pretty low-RAM box and I notice that with 2.2
about one-third of the RAM is used for caching, even though swap is
excessively used making speed very low. It has 32 MB of RAM, and many
users run stuff on it -- look at the free output:
             total       used       free     shared    buffers     cached
Mem:         31200      30420        780      16884        652      11800
-/+ buffers/cache:      17968      13232
Swap:        66376      32768      33608

My question -- is the parameter tunable (i.e. can I tell the kernel
how much RAM to use for cache)? Where can I find it?


-- 
Alex Shnitman
alexsh@hectic.net, alexsh@linux.org.il
http://alexsh.hectic.net