人生就是如此
===========================================================
AIX5.3上vmtune已经被vmo和ioo所取代
===========================================================

我们通常希望把oracle sga锁定在内存中,并且使文件系统缓存比例控制到一定范围,在AIX5.3之前版本,一般是使用vmtune -p 5 -P 20 -S 1

而在AIX5.3中则使用

 vmo   -r -o v_pinshm=1
 vmo -o minperm%=5
 vmo -o maxclient%=20
 vmo -o  maxperm%=20

重新启动生效的参数记录在 /etc/tunables/nextboot 文件中,通过 vmo -L 可以查看相关系列参数。


bitirainy 发表于:2005.05.05 23:57 ::分类: ( Oracle is anything ) ::阅读:(1254次) :: 评论 (4)
补充 [回复]

为了让os重新启动也成效,可以不自己用shell脚本,直接加 -r 参数,这样都记录在 /etc/tunables/nextboot 中了

vmo -r -o minperm%=5
vmo -r -o maxclient%=20
vmo -r -o maxperm%=20

另外说明,为了让内存限制成为 hard limit,可以设置
vmo -r -o strict_maxperm=1

more /etc/tunables/nextboot
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# bos530 src/bos/usr/sbin/perf/tune/nextboot 1.1
#
# Licensed Materials - Property of IBM
#
# (C) COPYRIGHT International Business Machines Corp. 2002
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG

vmo:
strict_maxperm = "1"
maxperm% = "20"
maxclient% = "20"
minperm% = "5"
v_pinshm = "1"

biti_rainy 评论于: 2005.05.07 17:54
re: AIX5.3上vmtune已经被vmo和ioo所取代 [回复]

不是吧,是加-p参数让系统下次启动还生效吧!!!

还有aix5.3 应该是把maxperm 设的大些,如90%

firer2000 评论于: 2007.09.26 11:30
re: AIX5.3上vmtune已经被vmo和ioo所取代 [回复]

楼上正解

quexi 评论于: 2007.10.20 21:49
回复 [回复]

vvtu希望大家健康平平安安幸福吉祥

hsedksy 评论于: 2008.03.02 02:13

发表评论
标题

在此添加评论
表情符号: smile laughing tongue angry crying sad wassat wink

称呼

邮箱地址(可选)

个人主页(可选)




切换风格
新闻聚合
博客日历
文章归档...
最新发表...
博客统计...
Blog信息
网站链接...