Solved

Cache memory settings for Linux

Posted on 2014-02-13
5
637 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: 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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

617 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