[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: A problem



"SHRIDHAR N. DAITHANKAR" <shridhar.daithankar@xxxxxxxxxxxxxxxx> writes:

>   As per the Linux Documentation installed, there has to be a tradeoff
> between size of cache & amount of available memory. I would like to
> experiment with different size of caches to achieve better performance.
> Unfortunately it seems that I can not control the size of cache. Can
> anybody tell me, how to do that?

You can control the size of the buffer cache using /proc/sys/vm/*. The
documentation is in /usr/src/linux/Documentation/sys/vm.txt.

> 
>  Also I would like to know how can I see the brakeup of cache & buffers 
> so that I can figure out the exact reason for performance hit.

cat /proc/meminfo.

Your problem may be as simple as not having sufficient RAM to run all
your programs. In which case, all of the above exercises will be
futile.

	-Arun

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------