暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
Shell Script to Calculate Values Recommended Linux HugePages and HugeTLB Configuration (文档 ID 401749.1).docx
339
5页
0次
2021-02-22
40墨值下载
APPLIES TO:
Linux OS - Version Oracle Linux 4.4 to Oracle Linux 6.6 [Release
OL4U4 to OL6U6]
Oracle Database - Enterprise Edition
Generic Linux
PURPOSE
This script is intended to compute values for the recommended
HugePages/HugeTLB con*guration for the current shared memory
segments.
It 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.
For general information about HugePages / HugeTLB, please
see
Note 361323.1
REQUIREMENTS
Oracle Database instance(s) are up and running
Oracle Database 11g Automatic Memory Management (AMM)
is not setup (See
Note 749851.1
)
The shared memory segments can be listed by command
"ipcs -m"
CONFIGURING
1. Create a text *le named hugepages_settings.sh
2. Copy the contents below in the *le
3. Run:
$ chmod +x hugepages_settings.sh
INSTRUCTIONS
1. Be sure that all applications that are meant to use
HugePage / HugeTLB are running at the time the script is to
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.
of 5
40墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜