1. Bicom Systems
  2. Solution home
  3. SERVERware
  4. HOWTOs

SERVERware 3 RAM usage optimization

SERVERware RAM usage optimization

NOTE: This should be used to optimize RAM usage only on SERVERware 3 versions >= 3.1


Transparent huge pages kernel feature in SERVERware 3 is set to "madvise" by default and in some cases, this can cause high memory usage. To prevent this from happening, Administrators can turn this option off in config files while the server is running(reboot not required).

How to turn of Transparent huge pages :

Use SSH to connect to your SERVERware host,

to turn THP OFF issue this command first :

echo never  >  /sys/kernel/mm/transparent_hugepage/enabled

After this THP option will be OFF.

To prevent it from turning ON after reboot we have to modify "/etc/default/grub" with your favorite editor and change the boot parameter as described below

from

transparent_hugepage=madvise

to

transparent_hugepage=never

To populate all changes in this file you need to regenerate your grub configuration file afterward with the command:

grub2-mkconfig -o /boot/grub/grub.cfg

One must do this for every host separately.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article