Export (0) Print
Expand All
Expand Minimize

Common Scenario Stress With DiskIO

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Type: Automated test

Overview

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

The Common Scenario Stress with DiskIO test is a stress test that verifies the data integrity of disk input/output (I/O) through power state transitions.

Details

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Common Scenario Stress with DiskIO will perform I/O to the test device, similar to how the Disk Stress test treats I/O. If there is a volume present on the test device (or a child device enumerated by the test device), then the I/O will be done through file Testfile.bin on the root of that volume. If no volumes are detected, then the I/O will be done to a raw disk. The DiskIO component of the test will complete each of the following I/O scenarios:

  • Alternating pattern with verification: write(0xAA), write(0x55), read, verify
  • Predefined worst case Serial Advanced Technology Attachment (SATA) pattern issued randomly with verification
  • Predefined worst case SATA pattern issued sequentially with verification
  • Random read
  • Random write
  • Random verify
  • Sequential read
  • Sequential write
  • Sequential verify

During these I/O scenarios, the computer cycles through supported power states, such as sleep and hibernation. The I/O scenarios are expected to complete without any errors during the power state interruptions. The test pauses all I/O before issuing a power state transition by allowing outstanding I/O to complete without issuing new I/O until the system resumes. This pausing behavior can be removed in a future iteration of the test.

Run time: 8 hours
Log file: Common_Scenario_Stress_With_DiskIO.wtl and DiskIO.wtl
System restart required: No, but the test hibernates and resumes the system
Test category: Storage Adapter or Controller
Supported operating systems for logo or signature testing:
  • Windows 7

  • Windows Server 2008 R2

  • Windows Vista

  • Windows Server 2008

  • Windows Server 2003

Requirements

Software Requirements

The test tool requires the following software:

  • Supported operating system (see list above)

  • Software components included with the device that is being tested

Hardware Requirements

The test tool requires the following hardware:

  • Device to be tested

  • Computer that meets the minimum software requirements

  • Hard disk drive with a minimum of 20 GB available on partition C:

Processor

  • x86

  • x64

Command Syntax

Command optionDescription

Common_Scenario_Stress_With_DiskIO.wsf

Without any options, the test runs with default settings.

/IODevices:"<IODevices>"

This is an optional parameter that specifies the devices to run I/O stress on. By default, it runs I/O on all disk drives and volumes. This should be in the format of any Simple Data Evaluation Language (SDEL) query. "AND," "OR," and parenthesis are supported. Example: "DeviceID='<someDeviceID>' OR Class='DiskDrive'".

/MinutesToRun:<MinutesToRun>

This is an optional parameter that specifies the minimum amount of time the script runs. The default value is 480 minutes. The script continues to run past this time if CyclesToRun has not yet been met.

/SleepPeriod:<SleepPeriod>

This is an optional parameter that specifies the amount of time (in seconds) of the real-time clock (RTC) wake timer each time the machine goes to sleep. The default value is 30.

/MinIOPeriod:<MinIOPeriod>

This is an optional parameter that specifies the minimum time (in milliseconds) I/O tests run per cycle. The default value is 5000.

/MaxIOPeriod:<MaxIOPeriod>

This is an optional parameter that specifies the maximum time (in milliseconds) that I/O tests run per cycle. The default value is 60000.

/ResumeDelay:<ResumeDelay>

This is an optional parameter that specifies the delay (in milliseconds) after the machine resumes from sleep and before the next I/O cycle starts. It allows devices to restore to their working state and renew the IP address for the network card, and so on. The default value is 10000.

/RandomSeed:<RandomSeed>

This is an optional parameter that specifies a previous RandomSeed to run and try to reproduce a specific run. The default value is 0, which indicates that a new seed will be chosen based on the system time.

 

Code Tour

File Manifest

FileLocation

Common_Scenario_Stress_With_DiskIO.wsf

[testbinroot]\nttest\WDTF\SampleScripts\

DiskIOWDTFAction.dll

[testbinroot]\ntttest\WDTF\redist\Interfaces\Action

DiskIOCom.dll

[testbinroot]\nttest\driverstest\storage\wdk\diskio\

DiskIOLib.dll

[testbinroot]\nttest\driverstest\storage\wdk\diskio\

 

 

 

Build date: 9/14/2012

Community Additions

ADD
Show:
© 2015 Microsoft