Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 661
  • Last Modified:

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
0
anshuma
Asked:
anshuma
4 Solutions
 
anshumaEngineeringAuthor 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
 
MazdajaiCommented:
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
 
SandyCommented:
check for /etc/sysctl.conf .. to me it seems like some kernel parameters need tweaking in node4.

TY/SA
0
 
gheistCommented:
Try slabtop command
All these parameters influence paging and cache:
https://www.kernel.org/doc/Documentation/sysctl/vm.txt
0
 
anshumaEngineeringAuthor Commented:
thank you very much
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now