UAS Stress Reset logo test for UAS on EHCI
This test verifies compliance with the USB UASP version 1.04 specification, the SCSI SPC 4 specification, and SBC3 for USB UASP storage devices.
Test details
Associated requirements |
Device.Storage.Hd.UasOnEHCI.BasicFunction |
Platforms |
Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2 |
Expected run time |
~50 minutes |
Categories |
Certification Reliability |
Type |
Automated |
Running the test
Before you run the test, complete the test setup as described in the test requirements: Hard Disk Drive Testing Prerequisites.
In addition, this test requires a UAS device connected to USB 2.0 controller.
Troubleshooting
For troubleshooting information, see Troubleshooting Device.Storage Testing.
More Information
Reset detection for different IO workloads
If different types of IO workloads are on the drive, then the test detects if there are any LUN, Target, or Bus resets. LUN reset is new to UAS devices and becomes costly if a reset needs to be performed. This is because a LUN reset to the device times out and a target reset gets sent to the device. The time lapse causes the drive to become unusable. This applies if you have synchronous workloads with varying transfer sizes for longer duration.
Parameters
Parameter | Description |
---|---|
Version |
The USB version. The values can be either 2 or 3. |
StorageDriveLetter |
The drive letter of the device. |
StorageDriveNumber |
The driver number of the device. |
QueryUASMaxTransferSize |
The maximum transfer size supported by the device (in bytes). |
Streams |
The minimum number of streams supported by the device. Default value: 16 |
UAS_Adapter_ID |
The adapter device instance ID. |
Command syntax
Command option | Description |
---|---|
powershell .\StressReset.ps1 /scenario “uas” /version [Version] /driveletter [StorageDriveLetter] /drivenumber [StorageDriveNumber] /iosize [QueryUASMaxTransferSize] /streams [Streams] /pnpDeviceID “[UAS_Adapter_ID]” |
Runs the test |
Note
For command-line help for this test binary, type /?.
File list
File | Location |
---|---|
csvresultparser.dll |
<[testbinroot]>\nttest\\basetest\core_file_services\performance\diskspd\ |
diskspd.exe |
<[testbinroot]>\nttest\\basetest\core_file_services\performance\diskspd\ |
iorequestgenerator.dll |
<[testbinroot]>\nttest\\basetest\core_file_services\performance\diskspd\ |
resultparser.dll |
<[testbinroot]>\nttest\\basetest\core_file_services\performance\diskspd\ |
StressReset.ps1 |
<[testbinroot]>\nttest\DriversTest\storage\wdk\ |