免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
61 [报告]
发表于 2008-12-28 11:52 |只看该作者

回复 #57 Charlemagne 的帖子

mServer1/#fget_config -A -v

---dar0---

User array name = ''
dac2 ACTIVE dac3 ACTIVE

Disk     DAC   LUN Logical Drive
utm             31
hdisk4   dac3    0 mail2-disk1  
hdisk5   dac3    1 mail2-disk2  
hdisk6   dac3    2 mail2-disk3  
hdisk7   dac3    3 mail2-disk4  
hdisk8   dac3    4 mail2-disk5  
hdisk9   dac3    5 mail2-disk6  

这个命令的含义我待会查查。。  存储方面我很菜
网上没查到详细解释 - -
能不能麻烦你讲细点。。 怎么操作。。 我把结果贴出来请你分析。

mServer1/#lsdev -C |grep hdisk
hdisk0         Available 03-08-00-5,0  16 Bit LVD SCSI Disk Drive
hdisk1         Available 03-08-00-8,0  16 Bit LVD SCSI Disk Drive
hdisk2         Defined   05-08-02      MPIO Other FC SCSI Disk Drive
hdisk3         Defined   05-08-02      MPIO Other FC SCSI Disk Drive
hdisk4         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk5         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk6         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk7         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk8         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk9         Available 06-08-02      1814     DS4700 Disk Array Device
hdisk10        Available 05-08-02      MPIO Other FC SCSI Disk Drive
hdisk11        Available 05-08-02      MPIO Other FC SCSI Disk Drive
hdisk12        Available 05-08-02      MPIO Other FC SCSI Disk Drive

[ 本帖最后由 vanvesee 于 2008-12-28 17:49 编辑 ]

论坛徽章:
0
62 [报告]
发表于 2008-12-28 11:54 |只看该作者

回复 #58 zlwww1227 的帖子

服务器参数配置什么的都没有变
既然主机部坚持说 问题源自我们的应用
目前仅仅是从应用层进行优化  
不过效果一般  待会我把这周的监控情况整理下 发上来

一周的I/O wait% 平均仍为60%
只能说应用层的问题也排除了  这下不知道主机部的家伙会怎么说

[ 本帖最后由 vanvesee 于 2008-12-28 17:20 编辑 ]

论坛徽章:
0
63 [报告]
发表于 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也是一个问题..

论坛徽章:
0
64 [报告]
发表于 2009-01-02 17:15 |只看该作者

回复 #63 Nikolai 的帖子

谢谢您的回复~
"File system must be remounted"
需要重新安装文件系统。。?

这个操作对我来说比较不现实。我没有权力去做

论坛徽章:
0
65 [报告]
发表于 2009-01-04 10:56 |只看该作者

论坛徽章:
0
66 [报告]
发表于 2009-01-04 17:48 |只看该作者
解决了吗?

论坛徽章:
0
67 [报告]
发表于 2009-01-07 14:01 |只看该作者
问题在于不清楚你的存储划的什么raid级别,raid级别不一样性能也不一样的。

论坛徽章:
0
68 [报告]
发表于 2009-01-08 21:08 |只看该作者
也是

论坛徽章:
0
69 [报告]
发表于 2009-01-15 17:46 |只看该作者
磁盘性能低,BPS才4M。存储端调优应该比较有效。

论坛徽章:
0
70 [报告]
发表于 2009-01-18 01:00 |只看该作者
这个帖子十分有实践价值,我也来学习
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP