Lab Hack: Kernel Parameter Tuning

Kernel parameter to swapping app memory out of physical RAM. Currently the it defaults to 60, however I have just learned that by setting it to 0 the kernel is given preference to keeping app memory in RAM instead of file caching.

vm.swappiness=0

To be fair it may cause performance issues with certain apps, if so then increase its value to 10 or adjust accordingly.

Further to affect page cache adjust vm.dirty_ratio=10 and vm.dirty_background_ratio=5 for improving database performance

RELATED POST

Veritas Volume Manager: Growing a disk group and expand the filesystem

Validated by Mr Man! Lets start off on node2 [root@node02 ~]# vxdisk list DEVICE TYPE DISK GROUP STATUS sda auto:none…

Virtual Machine Manager: Error starting domain

Starting up the KVM error occurred Error starting domain: Requested operation is not valid: network 'default' is not active Locate…

Git Commands

How to initialize a Git repo: Everything starts from here. The first step is to initialize a new Git repo…

Lab Hack: Raspberry Pi running VMWare ESXi

As strange as the title sounds, yes I am running VMWare ESXi on a Raspberry Pi 4 Model B (4GB)…