免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2706 | 回复: 0

queue_depth性能参数的设置 [复制链接]

论坛徽章:
0
发表于 2009-07-06 11:14 |显示全部楼层

                   在IBM的红皮书中对queue_depth参数的设置有公式可以依据,queue_depth参数合适与否对系统的性能起到重大的作用,尤其是在使用数据库应用的时候。以下是从IBM红皮书中摘到的部分内容。
The queue depth value cannot exceed the storage server maximum of 2048 for DS4000storage servers running firmware 6.1x and later; and a maximum of 512 for firmware 5.3x and 5.4x. All logical drives on the storage server must share these queue limits. Some hosts define the queue depth only at the HBA level, while others may also define this limit at the storage device level, which ties to the logical drive. The following formulas can be used to determine a good starting point for your queue depth value on a per logical drive basis:For firmware level 6.1x and higher: 2048 / (number-of-hosts * logical drives-per-host), and for firmware level 5.3 and 5.4: 512 / (number-of-hosts * logical drives-per-host) As an example: A storage server with 4 hosts with 12, 14, 16 and 32 logical drives attached respectively would be calculated as follows:2048 / 4 * 32 (largest number of logical drives per host) = 16512 / 4 * 32 (largest number of logical drives per host) = 4If configuring only at the HBA level, you can use the formula: 2048 / ( totalnumber-of-HBA’s ), and 512 / ( total number-of-HBAs ) for the respective firmwarelevels.
补充一下更改该参数的命令:加入根据公式计算得到的值是4,可以通过下面的命令进行设置,在调整之前最好使用filemon工具收集统计信息,已备与调整后的比较。#chdev -l hdiskX -a queue_depth=4 -P[color="#333333"]
[color="#333333"]尽管有公式可以遵循,假如“largest number of logical drives per host”发生了变化,是否还要重新进行调整,这样不仅管理上带来了麻烦,而且调整后的值对其他主机上的应用会产生什么样的影响,还得需要评定,所以对该公式的稳定性持有怀疑性。[color="#333333"]
[color="#333333"]在调整该参数时还要考虑,文件系统或者逻辑卷提供的主要服务是哪些,读写的侧重点。
               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/99967/showart_1987023.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP