メイン コンテンツに進む
  • すばやく簡単にご注文が可能
  • 注文内容の表示、配送状況をトラック
  • 会員限定の特典や割引のご利用
  • 製品リストの作成とアクセスが可能
一部の文書番号が変更されている可能性があります。探しているものではない場合は、すべての文書を検索してみてください。文書の検索

How to measure disk write and read capabilities in Windows

概要: For testing the writing performance of hard drives in a Windows operating system, you can use the diskperf command.

この記事は次に適用されます: この記事は次には適用されません: この記事は、特定の製品に関連付けられていません。 すべての製品パージョンがこの記事に記載されているわけではありません。

現象

Here we will show you how to set up Windows Performance Monitor to measure your disk write and read capabilities using Performance monitor in Windows.

原因

-

解決方法

First you need to make sure disk counters are enabled on your system. To do this, open a command prompt ant type the command diskperf and press enter. If the disk counters are enabled you should get a message saying they are either enabled, or automatically enabled on demand.

Note: You must be a member of the ADMINISTRATORS local group to enable the disk performance counters.

 

To enable all disk counters, use command prompt with the diskperf -y command. If you wish to disable the disk counters again after testing, you can do this with diskperf -n .

Now to start measuring your write speed, open Performance Monitor (from Start > Administrative tools).

To save the Performance date to a log file you need to set up a Data Collector set. To do this, expand the Data Collector Sets category in the left hand pane, and select User defined. From the Action menu, select New > Data Collector Set.

The wizard will guide you through a generic setup of Data Collector sets, but for our purpose here, you should select to create manually to getonly the data sets we are interested in.

When selecting what data to include, select at least Performance Counters. The counters to choose are under the two categories Logical Disk and Physical Disk, and will be named:

For disk write capabilities:
Avg. Disk Bytes/Write
Avg. Disk sec/Write
Disk Write Bytes/sec
Disk Writes/sec

For disk read capabilities:
Avg. Disk Bytes/Read
Avg. Disk sec/Read
Disk Read Bytes/sec
Disk Read/sec

Including Avg. Disk Queue Length can also help indicate any potential problems.

When you have completed the Wizard, select the Data Collector Set you just crated and start it from the menu bar on top or the Action menu.

Leave the data collection running for a period of time. The longer, the better in most instances. To see your drive performance during normal operation, you can collect data during any normal operating period. If you want to test it under load, you should copy a large amount of data to the drives. Note the time you are doing this so it's easier to find in the logs. When you think you have enough data, you can stop the data gathering from the top menu bar or the Action menu. The log file can now be found in the location you specified while setting up the Data Collector Set as a .blg file. Double-click this file to open it for analysis.

If you wish to monitor the system in real time, select the Performance Monitor in the left navigation pane and add the same counters as above. Note that this will only give you live information of the last minute or so, and data will not be saved if you are not running a Data Set Collector.

 

対象製品

Microsoft Windows Small Business Server 2008, Microsoft Windows 2008 Server R2, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2
文書のプロパティ
文書番号: 000140015
文書の種類: Solution
最終更新: 16 8月 2024
バージョン:  5
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。