Cache memory settings for Linux

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
anshumaEngineeringAsked:
Who is Participating?
 
gheistConnect With a Mentor Commented:
Try slabtop command
All these parameters influence paging and cache:
https://www.kernel.org/doc/Documentation/sysctl/vm.txt
0
 
anshumaConnect With a Mentor EngineeringAuthor Commented:
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
 
MazdajaiConnect With a Mentor Commented:
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
 
SandyConnect With a Mentor Commented:
check for /etc/sysctl.conf .. to me it seems like some kernel parameters need tweaking in node4.

TY/SA
0
 
anshumaEngineeringAuthor Commented:
thank you very much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.