[Ilugc] Memory utilization issue

  • From: saikiranrgda@xxxxxxxxx (K Sai Kiran)
  • Date: Thu May 1 00:57:38 2008

Anandh Gurusamy wrote:

Can you explain a bit about the inactive memory in "vmstat -a -S M"
output. Why should the OS keep it inactive. When the application usage
itself is only 2GB what is the OS doing with the remaining memory.
  

If i were you, i will not really worry about inactive memory.

Generally the OS would utilized as much memory as required. Most of this 
would be used for cache. But when memory is required for a program this 
cache is cleared to make space.

But what sort of program looks for free memory before installing? i 
missed the initial mail.

For some very nice article on memory usage in linux, i suggest 
http://people.redhat.com/dshaks/rhel3_perf_tuning.pdf

Although the book is for 2.4 kernel most of iot applies to 2.6 kernels 
too..

Regards,
Kiran


Other related posts: