- 论坛徽章:
- 0
|
呵呵。。现在情况有所改善。看来和segment的大小有关,原来在256K的时候最多能采集90分钟,现在改成了128K,最长采集了4个多小时。但是还有报错的情况发生,下一步打算进一步调整为64k,看是不是能彻底避免这种情况的发生。但是原因还是不很清楚,查了手册中关于segment size 的解释,原文如下:\r\n\r\n The choice of a segment size can have a major influence on performance in both IOPS and throughput. Large segment sizes increase the request rate (IOPS) by allowing multiple disk drives to respond to multiple requests. A small segment size increases the data transfer rate (MB/s) by allowing multiple disk drives to participate in one I/O request. Use a small segment size relative to the I/O size to increase sequential performance. \r\n \r\n You can use the performance monitor (see “Performance monitor data” on page 85) to evaluate how a given segment size affects the workload. Use the following guidelines: \r\n\r\n1、If the typical I/O size is larger than the segment size, increase the segment size in order to minimize the number of drives needed to satisfy an I/O request. This is especially true in a multi-user, database, or file system storage environment. Using a single drive for a single request leaves other drives available to simultaneously service other requests. \r\n\r\n2、 If we are using the logical drive in a single-user, large I/O environment (such as for multimedia application storage), performance is optimized when a single I/O request can be serviced with a single data stripe (the segment size multiplied by the number of drives in the array that are used for I/O). In this case, multiple disks are used for the same request, but each disk is only accessed once. \r\n\r\n3、 Normally, a small segment size is used for databases, normal sizes for a file server, and large segment sizes for multimedia applications. \r\n\r\n4、 If we increase the segment size we gain more throughput\r\n\r\n 同样大致翻译一下:\r\n\r\n 段大小的选择可以对 IOPS 和吞吐量产生重大的影响。段大小值大可以增加多磁盘请求响应的速率,小的段大小值则能够增加多磁盘参与的输入输出请求中数据的传输速率(以MB/s为单位)。使用相对于输入输出值较小的段大小值能够增加时序性能。\r\n\r\n您可以使用性能监控来估计对于当前的工作量需要多少段大小。有以下指导方针:\r\n\r\n1、如果通常的输入输出大小要比当前的段大小大,为了平衡对于驱动器的输入输出请求可以增加段大小值。这适用于多用户,数据库或者文件服务器的存储环境。\r\n\r\n2、如果我们只有单独的用户使用逻辑驱动器,较大量的输入输出环境,当单独的I/O请求能够被单独的数据通路所接受那么性能将是最好的。既然这样,多个磁盘用来做同样的请求,但是所有的磁盘之能够访问一次。\r\n\r\n3、正常的,较小的段大小值适用于数据库。中等的段大小值适用于文件服务器,较大的段大小值针对多媒体应用。\r\n\r\n4、如果我们增加段大小,我们将获得更多的吞吐量。\r\n\r\n\r\n总结一下,较小的 segment size 能够增加时序性能,也就是说能够承受更大的连续数据量。但是对于多媒体应用,又推荐较大的 segment size 。较大的 segment size 可以增加盘阵读取和写入的速度。看来为了能够正常写入,只好牺牲一些速度了。。但是从我测试的情况看来,当 segment size 由256K改为128K之后,盘阵的速度并没有太大的降低,也就有10MB/s的降低,这个程度还是可以忍受的。所以决定继续降低到64k待测。。。 |
|