be run. This includes the Oracle RDBMS instances and ASM
instances in addition to other applications.
2. Be sure that you have /bin and /usr/bin in $PATH
3. Run:
$ ./hugepages_settings.sh
CAUTION
This sample code is provided for educational purposes only, and is
not supported by Oracle Support. It has been tested internally,
however, we do not guarantee that it will work for you. Ensure that
you run it in your test environment before using.
SCRIPT
#!/bin/bash
#
# hugepages_settings.sh
#
# Linux bash script to compute values for the
# recommended HugePages/HugeTLB configuration
#
# Note: This script does calculation for all shared
memory
# segments available when the script is run, no matter it
# is an Oracle RDBMS shared memory segment or not.
#
# This script is provided by Doc ID 401749.1 from My
Oracle Support
# http://support.oracle.com
# Welcome text
echo "
This script is provided by Doc ID 401749.1 from My Oracle
Support
(http://support.oracle.com) where it is intended to
compute values for
the recommended HugePages/HugeTLB configuration for the
current shared
memory segments. Before proceeding with the execution
please note following:
* For ASM instance, it needs to configure ASMM instead
of AMM.
评论