免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: vanvesee
打印 上一主题 下一主题

[性能调优] <解决中><请教>disk busy 100% 解决及调优 [复制链接]

论坛徽章:
0
1 [报告]
发表于 2008-12-30 13:46 |显示全部楼层
原帖由 vanvesee 于 2008-12-28 11:45 发表
mServer1/#ioo -a
         j2_atimeUpdateSymlink = 0
j2_dynamicBufferPreallocation = 16
             j2_inodeCacheSize = 400
           j2_maxPageReadAhead = 128
             j2_maxRandomWrit ...



可以考虑j2_nBufferPerPagerDevice=2048
# ioo -po j2_nBufferPerPagerDevice=2048

# ioo -h j2_nBufferPerPagerDevice
Help for tunable j2_nBufferPerPagerDevice:
Specifies the number of file system bufstructs for Enhanced JFS. Default: 512. File system must be remounted. This tunable only specifies the number of bufstructs that start on the paging device. Enhanced JFS will allocate more dynamically. Ideally, this value should not be tuned, and instead j2_dynamicBufferPreallocation should be tuned. However, it may be appropriate to change this value if, when using vmstat -v, the number of "external pager filesystem I/Os blocked with no fsbuf" increases quickly (and continues increasing) and j2_dynamicBufferPreallocation tuning has already been attempted. If the kernel must wait for a free bufstruct, it puts the process on a wait list before the start I/O is issued and will wake it up once a bufstruct has become available. May be appropriate to increase if striped logical volumes or disk arrays are being used.

一般来说, 对于磁盘阵列, 提高该值是有帮助的, 具体可以分析为
# vmstat -v |grep "external pager"
如果很busy的时候, external pager增加得很快, 你就有必要增加j2_nBufferPerPagerDevice.

另外, 从vmstat来看, memory应该是足够的.
当idle<10时, 线程一般是大于16, 而且user使用的cpu不高, 说明这个时候cpu都在忙于系统, 而不是在干活. 可以考虑优化应用, 减少线程. 当然io也是一个问题..
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP