LoadRunner性能测试--%Disk Time 计数器值超过100%

来源:互联网 发布:圈外网网络营销软件 编辑:程序博客网 时间:2024/06/05 12:41

大家在做性能测试的过程中,很有可能遇到过%Disk Time 计数器值超过100%的情况,为什么会这样?别着急。

微软在这里给出了答案:http://support.microsoft.com/kb/310067/en

% Disk Time may exceed 100 percent in the Performance Monitor MMC

Article ID: 310067 - View products that this article applies to.
System TipThis article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you. Visit the Windows 7 Solution Center
This article was previously published under Q310067
Expand all |Collapse all

SYMPTOMS

Your third-party monitoring tool may generate multiple alarm events during times when your disk is very busy.If you monitor the Physical %Disk Time on your Windows 2000-based computer, you may note that the value may go over 100 percent if your computer is very busy. For example, this could occur if you are copying a large amount of files, or you are copying multiple large files, and so on.
Back to the top |Give Feedback

CAUSE

This behavior can occur because some controllers allow the operating system to use overlapping input/output operations for multiple outstanding requests.The disk performance counters time the responses by using a 100 nanosecond precision counter, and then report the cumulative statistics for a given sample time. This sample time could go over 100 percent if, for example, you have 10 requests that completed in 2 milliseconds each in a 10 millisecond sampling interval. If you have multiple disks in a Raid arrangement, the overlapped input/output happens because the operating system can read and write to multiple disks, and this could show values that are higher than 100 percent for this counter.
Back to the top |Give Feedback

STATUS

This behavior is by design.
Back to the top |Give Feedback

MORE INFORMATION

An accurate way to examine or monitor the disk usage (busy) time is to measure disk latencies. Typically, if the value of one of the following counters is larger than 20 ms, the disk is over-loaded:
  • Avg. Disk sec/Read
  • Avg. Disk sec/Write
  • Avg. Disk sec/Transfer
There are several other values you can use to monitor disk performance, and this topic is described in detail in Chapter 30 - Examining and Tuning Disk Performance, of theWindows 2000 Professional Resource Kit, and TechNet monthly CD-ROMs also have this chapter. However, it is important to note that the %Disk Time description there incorrectly states a registry key to clamp the values at %100 exists as that would be misleading.
Back to the top |Give Feedback

Properties

Article ID: 310067 - Last Review: February 18, 2008 - Revision: 4.0
APPLIES TO
  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2
 

 

原创粉丝点击