Solved

Cache memory settings for Linux

Posted on 2014-02-13
5
616 Views
Last Modified: 2014-02-25
Hi,

For an application we have a 4 node cluster. The first node 04 was rebuilt recently and we are noticing that it's caching lot of memory by the operating system

compared to the other 3 node. What setting on this machine should I look for to compare with the others

Please see the screen shot below and the machine with name 04 is caching almost 950 GB compared to the others

picture of 4 machines
0
Comment
Question by:anshuma
5 Comments
 

Assisted Solution

by:anshuma
anshuma earned 0 total points
ID: 39856897
These are 2 TB RAM machines and we don't want to cache so much as the cache scan is taking lot of resources
0
 
LVL 21

Assisted Solution

by:Mazdajai
Mazdajai earned 166 total points
ID: 39858078
Cached memory often time is a normal behavior. Linux borrows unused memory for disk caching to speed system up. Node04 is also running half of the tasks as the other nodes. What is the baseline before you rebuild the operating system?

You can use vmstat to compare of each server. Try -  

vmstat -S M

Open in new window

0
 
LVL 13

Assisted Solution

by:Sandy
Sandy earned 167 total points
ID: 39858251
check for /etc/sysctl.conf .. to me it seems like some kernel parameters need tweaking in node4.

TY/SA
0
 
LVL 62

Accepted Solution

by:
gheist earned 167 total points
ID: 39868713
Try slabtop command
All these parameters influence paging and cache:
https://www.kernel.org/doc/Documentation/sysctl/vm.txt
0
 

Author Closing Comment

by:anshuma
ID: 39885109
thank you very much
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question