Поделиться через


Offload scenario test (LOGO)

This test verifies behavior of offload capable devices when offload related commands are exercised. The test exercises Offload Reads and Offload Writes between LUNs of the same target (such as an adapter) and between LUNs of different adapters.

Test details

Associated requirements

Device.Storage.Hd.OffloadedDataTransfer.CopyOffload

See the device hardware requirements.

Platforms

Windows Server 2012 (x64) Windows Server 2012 R2

Expected run time

~10 minutes

Categories

Certification Functional

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.

Attach the following to the HCK test machine: Storage adapter 1, LUNs 1 and 2 & Storage Adapter 2, LUN 3. LUNs 1, 2 and 3 should be a minimum of 21 GB in size.

Format and mount file system on LUNs 1, 2 and 3. When you schedule the test on the HCK controller, there is a run time parameter called “RemoteShareODXStorageDriveLetter”. Provide the drive letter associated with LUN3 for the run-time parameter. For example, if LUNs 1, 2 and 3 have drive Letters X, Y and Z, type Z for the run-time parameter and schedule test.

When running the offload scenario test in conjunction with other storage tests, the drive configuration must be maintained for the tests in the same project.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Storage Testing.

More Information

The following Scenarios are exercised:

  • Copy Offload between LUNs from the same adapter

    • Single HBA push scenario

    • Single HBA pull scenario

  • Copy Offload between LUNs from different adapters

    • Multiple HBA push scenario

    • Multiple HBA pull scenario

Parameters

Parameter Description

RemoteShareODXStorageDriveLetter

The drive letter of the LUN.

 

Command syntax

Command Description

Copyoffload.exe

The options for the test are listed below

/regression:[Scenarios]

Scenarios to run, scenarios are from 2 to 21, ranging in transfer sizes

/stp

Source test path

/dtp

Destination test path

 

Note  

For command-line help for this test binary, type /?.

 

File list

File Location

Copyoffload.exe

<[testbinroot]>\nttest\BASETEST\core_file_services\ntfs\copyoffload\

Scattermultithread.exe

<[testbinroot]>\nttest\BASETEST\core_file_services\ntfs\scattergather\

 

 

 

Send comments about this topic to Microsoft