免费注册 查看新帖 |

Chinaunix

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

[性能调优] 请教 AIX系统优化的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-13 09:24 |只看该作者 |倒序浏览
我有两太P561小机 装的是AIX 5.3操作系统,用HACMP配置为双机。安装SYBASE12.5.4,机器配置8G内存,其中6G内存分配给SYBASE。现在的问题是每天在SYBASE进行备份的时间段内用ERRPT 能发现很多NIM thread blocked的错误,出现很多次,已经有一次造成HACMP停止运行了,请高手提供优化的方案。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2008-05-13 09:48 |只看该作者
建议:
sybase的max memory从6G改到4个G
调整VMM:maxclient%=5,minperm%=10,maxperm%=10

[ 本帖最后由 yddll 于 2008-5-13 09:49 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2008-05-13 13:33 |只看该作者
主要是内存分配的原因是吗?有人曾建议我给HACMP打补丁,我在网上找了半天也没找到相应的补丁。下班后调整内存试试。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
4 [报告]
发表于 2008-05-13 18:19 |只看该作者
grep syncd /sbin/rc.boot
lsattr -El sys0
lslpp -L|grep cluster
上面的命令结果先列出来看看

hacmp方面也可以查查

论坛徽章:
0
5 [报告]
发表于 2008-05-14 14:38 |只看该作者
相关命令结果显示如下:请给我指点指点。我是一菜鸟。

   grep syncd /sbin/rc.boot
     nohup /usr/sbin/syncd 60 > /dev/null 2>&1 &

   lsattr -El sys0
    SW_dist_intr    false              Enable SW distribution of interrupts              True
autorestart     true               Automatically REBOOT system after a crash         True
boottype        disk               N/A                                               False
capacity_inc    1.00               Processor capacity increment                      False
capped          true               Partition is capped                               False
conslogin       enable             System Console Login                              False
cpuguard        enable             CPU Guard                                         True
dedicated       true               Partition is dedicated                            False
ent_capacity    4.00               Entitled processor capacity                       False
frequency       528000000          System Bus Frequency                              False
fullcore        false              Enable full CORE dump                             True
fwversion       IBM,SF240_320      Firmware version and revision levels              False
id_to_partition 0X80000CDE30300001 Partition ID                                      False
id_to_system    0X80000CDE30300000 System ID                                         False
iostat          false              Continuously maintain DISK I/O history            True
keylock         normal             State of system keylock at boot time              False
max_capacity    4.00               Maximum potential processor capacity              False
max_logname     9                  Maximum login name length at boot time            True
maxbuf          20                 Maximum number of pages in block I/O BUFFER CACHE True
maxmbuf         0                  Maximum Kbytes of real memory allowed for MBUFS   True
maxpout         0                  HIGH water mark for pending write I/Os per file   True
maxuproc        128                Maximum number of PROCESSES allowed per user      True
min_capacity    1.00               Minimum potential processor capacity              False
minpout         0                  LOW water mark for pending write I/Os per file    True
modelname       IBM,9116-561       Machine name                                      False
ncargs          6                  ARG/ENV list size in 4K byte blocks               True
nfs4_acl_compat secure             NFS4 ACL Compatibility Mode                       True
pre430core      false              Use pre-430 style CORE dump                       True
pre520tune      disable            Pre-520 tuning compatibility mode                 True
realmem         7929856            Amount of usable physical memory in Kbytes        False
rtasversion     1                  Open Firmware RTAS version                        False
sed_config      select             Stack Execution Disable (SED) Mode                True
systemid        IBM,02068179F      Hardware system identifier                        False
variable_weight 0                  Variable processor capacity weight                False

lslpp -L|grep cluster
cluster.adt.es.client.include
cluster.adt.es.client.samples.clinfo
cluster.adt.es.client.samples.clstat
cluster.adt.es.client.samples.libcl
cluster.adt.es.java.demo.monitor
cluster.es.cfs.rte         5.4.0.0    C     F    ES Cluster File System Support
cluster.es.client.lib      5.4.0.0    C     F    ES Client Libraries
cluster.es.client.rte      5.4.0.0    C     F    ES Client Runtime
cluster.es.client.utils    5.4.0.0    C     F    ES Client Utilities
cluster.es.client.wsm      5.4.0.0    C     F    Web based Smit
cluster.es.cspoc.cmds      5.4.0.0    C     F    ES CSPOC Commands
cluster.es.cspoc.dsh       5.4.0.0    C     F    ES CSPOC dsh
cluster.es.cspoc.rte       5.4.0.0    C     F    ES CSPOC Runtime Commands
cluster.es.server.cfgast   5.4.0.0    C     F    ES Two-Node Configuration
cluster.es.server.diag     5.4.0.0    C     F    ES Server Diags
cluster.es.server.events   5.4.0.0    C     F    ES Server Events
cluster.es.server.rte      5.4.0.0    C     F    ES Base Server Runtime
cluster.es.server.testtool
cluster.es.server.utils    5.4.0.0    C     F    ES Server Utilities
cluster.es.worksheets      5.4.0.0    C     F    Online Planning Worksheets
cluster.license            5.4.0.0    C     F    HACMP Electronic License
cluster.msg.en_US.cspoc    5.4.0.0    C     F    HACMP CSPOC Messages - U.S.
cluster.msg.en_US.es.client
cluster.msg.en_US.es.server

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
6 [报告]
发表于 2008-05-14 14:55 |只看该作者
1、vi /sbin/rc.boot
将nohup /usr/sbin/syncd 60 > /dev/null 2>&1 &里面的60改为10
2、chdev -l sys0 -a maxpout=33
     chdev -l sys0 -a minpout=24
BTW:maxuproc太小,改为较大值,例如1280:chdev -l sys0 -a maxuproc=1280
3、下载hacmp 5.4的补丁apply之

[ 本帖最后由 yddll 于 2008-5-14 14:57 编辑 ]

论坛徽章:
0
7 [报告]
发表于 2008-05-15 09:10 |只看该作者
经过楼主的指点,昨天修改相应的系统参数后,昨天晚上的SYBASE备份正常完成而且没有报出任何错误,希望以后也能正常,特此感谢YDDLL的指教,也感谢各位关心次问题的各位楼主,谢谢了。

论坛徽章:
0
8 [报告]
发表于 2008-05-15 09:23 |只看该作者
应该是maxuproc太小了
照yddll的做准没错

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
9 [报告]
发表于 2008-05-15 09:34 |只看该作者
估计LZ的系统装完啥都没改过,全是默认值,算是比较少见的了

论坛徽章:
0
10 [报告]
发表于 2008-05-15 15:01 |只看该作者
系统是供货商过来安装调试的,曾经要求他们系统优化过,过来后什么都没做,就要求我们增加一块光千网卡。说不出所以然来,才来请教个位了。照楼主的意思,是用户的进程数太少而照成的是吗。对AIX优化没有经验,感谢各位了。以后可能还有麻烦各位的时候。谢谢了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP