Book Image

Oracle WebLogic Server 12c Advanced Administration Cookbook

By : Dalton Iwazaki
Book Image

Oracle WebLogic Server 12c Advanced Administration Cookbook

By: Dalton Iwazaki

Overview of this book

Table of Contents (15 chapters)
Oracle WebLogic Server 12c Advanced Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Enabling Linux HugePages


Enabling Linux HugePages can improve the performance of the Oracle JRockit JVM and have several advantages over the default page size of 4 KB in Linux.

In this recipe, the HugePages will be enabled on all machines in the PROD_DOMAIN domain. A new JVM parameter will be added to the Managed Servers so the JVM makes use of the HugePages.

prod01 hosts the PROD_Server01 and PROD_Server02 Managed Servers. Since each instance is configured with a heap size of 2 GB, reserving 4 GB for HugePages in prod01 should be enough.

Getting ready

Before configuring the Linux HugePages, shut down all WebLogic Servers in the domain. Also stop the Administration Console instance and the Node Manager.

How to do it...

To enable the Linux HugePages, you must log in as root user:

  1. Log in as root user to the shell and execute the following commands to check the HugePages configuration:

    [root@prod01]$ cat /proc/meminfo | grep Huge
    HugePages_Total:     0
    HugePages_Free:      0
    HugePages_Rsvd:      0...