免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7030 | 回复: 2
打印 上一主题 下一主题

[系统管理] AIX的内存管理,如何设置minfree,minperm等值 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-02-12 10:02 |只看该作者 |倒序浏览
硬件:H85 7026-6H1 4*CPU   4G内存
应用:JAVA
OS :AIX4.3.3   ML10
内存使用目前占用的非常高,经常达到99%;查看到文件系统缓存占用为50%,设置为默认值
# /usr/samples/kernel/vmtune
vmtune:  current values:
  -p       -P        -r          -R         -f       -F       -N        -W
minperm  maxperm  minpgahead maxpgahead  minfree  maxfree  pd_npages maxrandwrt
209505   838020       2          8        120      128     524288        0

  -M      -w      -k      -c        -b         -B           -u        -l    -d
maxpin npswarn npskill numclust numfsbufs hd_pbuf_cnt lvm_bufcnt lrubucket defps
838841   12288    3072       1      93         80          9      131072     1

        -s              -n         -S         -L          -g           -h
sync_release_ilock  nokilluid  v_pinshm  lgpg_regions  lgpg_size  strict_maxperm
        0               0           0           0            0        0

-t
maxclient
838020

number of valid memory pages = 1048551  maxperm=79.9% of real memory
maximum pinable=80.0% of real memory    minperm=20.0% of real memory
number of file memory pages = 529796    numperm=50.5% of real memory

number of compressed memory pages = 0   compressed=0.0% of real memory
number of client memory pages = 0       numclient=0.0% of real memory
# of remote pgs sched-pageout = 0       maxclient=79.9% of real memory

nmon工具的输出结果:
nmon v9f               Hostname=fccpdm  Refresh=2.0secs  09:55.05
BCPU Utilisation              B+-------------------------------------------------+
CPU    User%  Sys% Wait% Idle|0          |25         |50          |75       100|
0     28.0   2.5   0.0  69.5|UUUUUUUUUUUUUUs   >                              |
1     32.5   1.0   0.0  66.5|UUUUUUUUUUUUUUUU                     >           |
2     28.0   4.0   0.0  68.0|UUUUUUUUUUUUUUss                    >            |
3     29.5   5.0   0.0  65.5|UUUUUUUUUUUUUUss                   >             |
                             +-------------------------------------------------+
       30.5   3.8   0.0  65.8|UUUUUUUUUUUUUUUs      >                          |
                             +-------------------------------------------------+
BMemory Use  BPhysical    Virtual    BPaging Bpages/sec  In     Out  BVM parameters
B% Used       99.90%       0.9%      to Paging Space   0.0    000 numperm  5056%
% Free         0.1%      99.1%      to File System    0.0    6.0 minperm  20.0%
MB Used     4092.0MB     14.5MB    Page Scans         0.0        maxperm  79.9%
MB Free        3.9MB   1521.5MB    Page Cycles        0.0        minfree 120
Total(MB)   4095.9MB   1536.0MB    Page Reclaim       0.0        maxfree 128
BDisk I/O                                Ball data is Kbytes per second
DiskName Busy  Read  Write   |0          |25         |50          |75       100|
hdisk0     0%    0.0   24.0KB|      >                                          |
hdisk1     0%    0.0    0.0KB| >                                               |
hdisk2     0%    0.0    0.0KB|>                                                |
hdisk4     0%    0.0    0.0KB|>                                                |
cd0        0%    0.0    0.0KB|>                                                |

请帮忙分析一下,我可以如何设置;我之前曾按如下配置设置,可是感觉没有效果就去掉了
在/etc/inittab中添加vmtune:2nce:/usr/samples/kernel/vmtune -f 1000 -F 1008 -p 20 -P 30
不知道如果加上参数-h 1的话,程序申请不到内存时会发生什么错误,我联系过800,但都建议不更改此值,不知道更改了会不会出现什么不可控制的错误?有多大的影响;

论坛徽章:
0
2 [报告]
发表于 2007-02-12 10:33 |只看该作者
1.vmo -p -o maxclient%=**

2.vmo -p -o maxperm% =**
   vmo -p o minperm%=**

论坛徽章:
0
3 [报告]
发表于 2007-02-12 10:40 |只看该作者

回复 2楼 xgene 的帖子

您说的是在AIX5L中用的设置方法,更改参数的方法我都会,只是不知道这些参数设置按照什么规则来设置,即设置多大;而且strict_maxperm设置了之后会出现什么问题?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP