LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   High value of cache/buffer found in Memory Utilization (https://www.linuxquestions.org/questions/linux-newbie-8/high-value-of-cache-buffer-found-in-memory-utilization-4175529611/)

pugazhendhi_r@yahoo.com 12-30-2014 10:36 PM

High value of cache/buffer found in Memory Utilization
 
Hi Friends,
Please find the below memory utilization output. It was found most of my servers have very high value of buffer / cache memory. May i know if there is any possibility to optimize it as actual RAM utilization is very low


Total - Used - Free - Shared - Buffer - Cached
MB
7979 7792 186 0 497 5988
+/- 1305 6673
SWAP 8191 0 8191



Thanks
R.Pugazhendhi

Ser Olmy 12-30-2014 10:44 PM

Do you understand you correctly in that you'd like the servers to utilize less memory for cache and buffers and just leave it unused (free) instead?

If so, why would you want that?

pugazhendhi_r@yahoo.com 12-31-2014 12:22 AM

My understanding is "it is better to have more free space" which can be used if many process need to run for some services/applications suddenly. I'm not expertise. If you have any suggestion so that it wont affect the servers.

Ser Olmy 12-31-2014 02:39 AM

At any given time, it's very unlikely that a significant amount of that memory holds dirty cache/buffers waiting to be flushed. Unless a new process claims all of that memory at once, it should be possible to free up memory for a new process pretty much instantly.

Unless you have a very special use case, you'll get by far the best performance by letting the kernel use all free memory for cache and buffers.

syg00 12-31-2014 09:42 PM

Read this and see if you can get a better understanding of memory usage.


All times are GMT -5. The time now is 03:14 AM.