hp-ux11.31操作系统上的filecache参数:filecache_max和filecache_min

来源:互联网 发布:淘宝网羊绒面料批发 编辑:程序博客网 时间:2024/05/21 13:58

Default value:
filecache_min - approximately 5% of physical memory
filecache_max - approximately 50% of physical memory

 

该参数的作用类似于aix操作系统中的filesystemcache,如下涉及到的文件系统上的操作会造成文件系统缓冲直接占用物理内存:

1.rman备份脚本备份到文件系统,2.expdp 导出到文件系统,3.export导出到文件系统,4.ftp上传与下载hp-ux(或者aix)上的超大文件。

 

那有人可能有疑问:我怎么查看文件系统缓冲当前占用了多少物理内存呢?方法是使用hp-xu操作系统的glance命令:

glance回车

敲m后就可以看到。

 

因此,在High memory utilization on HP-UX 11.31 due to parameter "filecache_max" [ID 1264915.1]文章中,直接建议如下:

SolutionReduce the value of filecache_max into 5% to 10% of physical memory since Oracle database server has buffer cache enabled. If there is other application running on the box, reduce the value little by little to see if there is any performance problem.

该建议是设置filecache_max 为10%,也就是filecache最多占用10%的物理内存。不过在实际的工程实践中,可以设置filecache_min=1%,filecache_max=1%.

 

注意,上面说的参数是hp-ux11.31中的参数,而在11.23中,是如下的参数来实现filecache功能:dbc_max_pct和dbc_min_pct

/ #kctune dbc_max_pctTunable      Value  Expression  Changesdbc_max_pct      5  5           Immed/ #kctune dbc_min_pctTunable      Value  Expression  Changesdbc_min_pct      1  1           Immed


 

0 0
原创粉丝点击