手机版
你好,游客 登录 注册
背景:
阅读新闻

Linux HugePages 配置 与 Oracle 性能关系说明

[日期:2013-01-24] 来源:CSDN  作者:tianlesoftware [字体:大 中 小]

1.6 HugePage 的大小

 

单个HugePage的大小根据平台的不同而不同:

(1) Kernel version/linux distribution

(2) HW Platform

 

HugePage 的实际大小可以使用如下命令查看:

$grep Hugepagesize /proc/meminfo

 

The table belowshows the sizes of HugePages on different configurations. Note that these aregeneral numbers taken from the most recent versions of the kernels. For aspecific kernel source package, you can check for the HPAGE_SIZE macro value(based on HPAGE_SHIFT) for a different (more recent) kernel source tree.

--下表显示了不同平台下HugePages的值:

 

HW Platform

Source Code Tree

Kernel 2.4

Kernel 2.6

Linux x86 (IA32)

i386

4 MB

4 MB *

Linux x86-64 (AMD64, EM64T)

x86_64

2 MB

2 MB

Linux Itanium (IA64)

ia64

256 MB

256 MB

IBM Power Based Linux (PPC64)

ppc64/powerpc

N/A **

16 MB

IBM zSeries Based Linux

s390

N/A

N/A

IBM S/390 Based Linux

s390

N/A

N/A


* Some older packaging for the 2.6.5 kernel on SLES8 (like 2.6.5-7.97) can have2 MB Hugepagesize.
** Oracle RDBMS is also not certified in this configuration. See Document341507.1

 

1.7HugePages and Oracle 11g Automatic Memory Management (AMM)

The AMM and HugePages are not compatible.One needs to disable AMM on 11g to be able to use HugePages. See Document749851.1 for further information.

--Oracle 11g的AMM与HugePages不兼容。 需要注意。

 

1.8 没配置HugePages 的危险

 

在Linux OS下,如果对delicate进程没有配置合适的的HugePage,那么可能会遇到如下的问题:

(1) HugePages not used (HugePages_Total = HugePages_Free) at all wastingthe amount configured for

(2) Poor database performance 影响数据库性能

(3) System running out of memory or excessive swapping 内存不足或者经常需要进行swap

(4) Some or any database instancecannot be started 某些数据库实例不能启动

(5) Crucial system services failing(e.g.: CRS) 严重的系统故障

 

To avoid / helpwith such situations Bug10153816 was filed to introduce a database initialization parameter in11.2.0.2 (use_large_pages) to help manage which SGAs will use huge pages andpotentially give warnings or not start up at all if they cannot get thosepages.

 

linux
相关资讯       HugePages  Oracle性能 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款