Solved

Cache memory settings for Linux

Posted on 2014-02-13
5
624 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

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

Suggested Solutions

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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 …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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

751 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