oracle在rhel4上如何配置HugePages

上一篇 / 下一篇  2007-03-26 11:05:34

1、先配置shmmax到4000000000,这是最大内存块的大小,这样可以让sga分配在一个内存块。

2、配置oracle用户最大线程数和最大文件句柄:
oracle soft nofile 63536
oracle hard nofile 63536

3、配置HugePages Pool大小
sysctl -w vm.nr_hugepages=1664 (3.25G/2M(Hugepagesize))

4、配置oracle最大能锁定的内存
oracle soft memlock 3407872
oracle hard memlock 3407872
注意,这个内存大小最好和hugepage pool的大小一致,否则浪费内存

5、配置sga_max_size为3.25G,如果超过3.25G,系统不会分配在HugePages Pool中。

TAG: oracle tuning linux

 

评分:0

我来说两句

日历

« 2024-04-24  
 123456
78910111213
14151617181920
21222324252627
282930    

我的存档

数据统计

  • 访问量: 6943
  • 日志数: 7
  • 建立时间: 2007-03-25
  • 更新时间: 2007-03-26

RSS订阅

Open Toolbar