Configuring HugePages (Doc ID 1479908.1)

简介: Configuring HugePages (Doc ID 1479908.1)

Support for large memory pages was added to Java beginning in SE 5.0. For details see Java Support for Large Memory Pages. This article also mentions possible negative effects of using large page memory.

Note that in the knowledge article Deployment/Launch Checklists (Doc ID 1363505.1) in the Sun JVM section it says:

Use big memory pages if your OS supports it. Don't forget to set -XX:+UseLargePages if using a Sun JVM
To begin thinking about tuning this parameter, determine how much memory your local implementation of ATG currently consumes. You can see this by looking at the process on a running instance. This number will be:

heap size + perm size + small overhead
The small overhead is something on the order of 500MB. If you have configured heap size to vary from a min to a max (-Xms and -Xmx are different), note that it will grow over time until the max is reached.

Another tool for viewing processes and their memory usage is the top command. Top gives a summary of the memory free and used at the "top" of its output. You can run top by thread using the –H option to get more detail.

An interesting article specific to the Oracle Database (DB) and not related per se to ATG is available in the Oracle Database Administrator's Reference 11g Release 2 (11.2) for Linux and UNIX-Based Operating Systems. Specifically see G.2.2 Configuring HugePages on Red Hat Enterprise Linux and Oracle Linux. This article has several interesting points to consider when configuring for Oracle DB and is cited here as another resource to consider when configuring this parameter.

相关文章
|
缓存 Java 关系型数据库
关于page Cache和memory mappped Files 和zero copy
关于page Cache和memory mappped Files 和zero copy
169 0
关于page Cache和memory mappped Files 和zero copy
|
缓存 Oracle 关系型数据库
[201804012]关于hugepages 3.txt
[201804012]关于hugepages 3.txt --//有一段时间我一直强调安装oracle一定要配置hugepage,因为现在的服务器内存越来越大,如果还使用4K的页面表,如果内存表占用内存巨大, --//特别连接数量很大的情况下,更加明显,结果导致内存紧张,使用交换,这些类似的例子网上很多.
868 0
|
Oracle 关系型数据库
Mandatory Patching Requirement for Database Versions 11.2.0.3 or Earlier, Using DB Links (DOC ID 2335265.1)
Mandatory Patching Requirement for Database Versions 11.2.0.3 or Earlier, Using DB Links (DOC ID 2335265.
2807 0
|
前端开发 开发工具 git
|
关系型数据库 Oracle 数据库
[20170927]关于hugepages.txt
[20170927]关于hugepages.txt --//今天测试hugepages与内核参数nr_overcommit_hugepages,才发现HugePages_Surp表示什么? --// [20170209]理解pre_page_sga参数.
994 0
|
Oracle 关系型数据库 数据库
[20170516]11G use_large_pages参数2.txt
[20170516]11G use_large_pages参数2.txt //前面我提到如果设置use_large_pages=auto.设置页面大小不足时,oracle会oradism经常修改内核参数vm.
1205 0
|
Oracle 关系型数据库 数据库
[20170313]11G use_large_pages参数.txt
[20170313]11G use_large_pages参数.txt --11G 增加参数use_large_pages,可以灵活使用hugepages. 1.环境: SYS@book> @ &r/ver1 PORT_STRING             ...
1087 0
|
关系型数据库
InnoDB: Error: space id and page n:o stored in the page?
2016-06-08 04:38:11 7fa7ddd86700  InnoDB: Error: space id and page n:o stored in the page InnoDB: read in are 4294967295:4294967295, ...
1948 0