Disk Stress Test

Disk Stress Test

Type: Automated Test

Overview

The Disk Stress test stresses disks on a computer by sending as much asynchronous I/O as the device can handle. The test should reach the bandwidth limit of the test device for the given test system configuration.

Details

The test is passed the instance path of the target test device. It finds all hard disks and optical drives that are equal to or connected to the test device. The test will then go through the following scenarios on all of the found devices: sequential read, sequential write, sequential verify (write followed by read and comparison), random read, random write, and random verify.

The test is given a fixed run time and will run each scenario for a fraction of that time. In the case of six scenarios and a run time of 90 minutes, each scenario will be run for 15 minutes. The test will display dialog boxes with the progress of the current scenario. Any write scenarios (including verify) are skipped for optical devices. The size of the individual data transfers is determined by a command-line parameter; the default for the logo test is 32 KB.

The test will try to do raw writes, bypassing any file system that is mounted on the hard disk if it can. The test will attempt raw writes if one of the following occurs:

The test can find a raw, unpartitioned disk.

The test can find a raw, unformatted volume.

The test can find a volume that it can dismount.

If none of the preceding situations are available, the test will perform IO through the file system. This action is more CPU intensive and might not give accurate bandwidth and latency measurements for the device. In the third situation (the test finds a volume that it can dismount), which is the most common mode that the test is run in, the test will allocate a test file to use and write only to the extents of that file. This situation ensures that the test will never corrupt the file system of the device that it is testing.

The amount of space that the test uses is determined by the free space that is available on the test device. To ensure best device performance, you should delete any unnecessary files off the test device and should cleanly format or defragment the device before running the test. The test will warn you if the target's fragmentation might influence the test results.

Even though this test does measure device performance, there is currently no test case in the Logo version of this test that will pass or fail based on these measurements.

Run Time: 90 minutes (Device LOGO) or 30 minutes (System LOGO)
Log File: diskio.wtl
System Restart Required: No
Test Category: Storage Adapter, Hardware Based RAID System, Hard Disk Drive, Removable Storage, Optical Disk Drive, System
Supported operating systems for "DFW" logo testing:
Windows Vista
Windows Server 2003
Windows XP
Program:

Requirements

Software Requirements

The test tool runs on the following Windows operating systems:

  • Windows Vista
  • Windows Server 2003
  • Windows XP
  • Software components included with the device that is being tested.
  • Microsoft .NET Framework version 2.0 (installed automatically)

Hardware Requirements

  • Device to be tested
  • Computer that meets the minimum software requirements
  • Storage connected to the test device. Storage should contain media. If disk storage the disk should either be totally un-partitioned, or partitioned, formatted, and assigned a drive letter.

Processor

  • x86
  • x64
  • Itanium

Running Disk Stress Test

If you are testing any drive that requires media or testing in system-mode on a computer that contains drives that require media, you must insert media into the drives. The media that is used must be formatted and contain data that occupies at least 50% of the media's capacity.

Command Syntax

 

Command option

Description

 

File Manifest

File

Location

DiskIo.exe

…\tests\%ARCHITECTURE%\nttest\driverstest\storage\wdk

StorageDevices.dll

…\tests\%ARCHITECTURE%\nttest\driverstest\storage\wdk