DiskSpd Workload Profiles
The following profiles run customer-representative or benchmarking scenarios using the DiskSpd workload.
PERF-IO-DISKSPD.json
Runs an high stress IO-intensive workload using the DiskSpd toolset to test performance of disks on the system. This profile is a Windows-only profile. The profile runs the workload in-parallel on ALL disks that match the "DiskFilter" parameter (see below) by default.
Additionally this profile is designed to auto-scale to the number of cores on the system on which it runs. It uses a simple algorithm to determine 2 key aspects of the workload execution.
-
Total number of jobs/threads = <# of logical cores> / 2
Examples:
For a 16-core system:
16/2 = 16 concurrent jobs/threads per DiskSpd execution (i.e. # threads to run I/O operations against the test file concurrently).
For a 64-core system:
64/2 = 32 concurrent jobs/threads per DiskSpd execution (i.e. # threads to run I/O operations against the test file concurrently). -
Total I/O depth = 512 / <Total number of jobs / threads>
Examples:
For a 16 core system:
total # jobs/threads = 16/2 (above) -> 512/16 = 32
For a 64 core system:
total # jobs/threads = 64/2 (above) -> 512/32 = 16 -
Supported Platform/Architectures
- win-x64
- win-arm64
-
Supported Operating Systems
- Windows 10
- Windows 11
- Windows Server 2016
- Windows Server 2019
-
Supports Disconnected Scenarios
- Yes. When the DiskSpd package is included in 'packages' directory of the Virtual Client.
-
Dependencies
The dependencies defined in the 'Dependencies' section of the profile itself are required in order to run the workload operations effectively.- Internet connection.
- Any 'DiskFilter' parameter value used should match the set of disks desired. See the link for 'Testing Disks' above.
Additional information on components that exist within the 'Dependencies' section of the profile can be found in the following locations:
-
Scenarios
The following scenarios are covered by this workload profile.- Random Write Operations
- 4k block size, multiple jobs/threads per disk
- 8k block size, multiple jobs/threads per disk
- 12k block size, multiple jobs/threads per disk
- 16k block size, multiple jobs/threads per disk
- 1024k block size, multiple jobs/threads per disk
- Random Read Operations
- 4k block size, multiple jobs/threads per disk
- 8k block size, multiple jobs/threads per disk
- 12k block size, multiple jobs/threads per disk
- 16k block size, multiple jobs/threads per disk
- 1024k block size, multiple jobs/threads per disk
- Sequential Write Operations
- 4k block size, multiple jobs/threads per disk
- 8k block size, multiple jobs/threads per disk
- 12k block size, multiple jobs/threads per disk
- 16k block size, multiple jobs/threads per disk
- 1024k block size, multiple jobs/threads per disk
- Sequential Read Operations
- 4k block size, multiple jobs/threads per disk
- 8k block size, multiple jobs/threads per disk
- 12k block size, multiple jobs/threads per disk
- 16k block size, multiple jobs/threads per disk
- 1024k block size, multiple jobs/threads per disk
- Random Write Operations
-
Profile Parameters
The following parameters can be optionally supplied on the command line to modify the behaviors of the workload.Parameter Purpose Default Value DiskFilter Optional. Filter allowing the user to select the disks on which to test.
See the link 'Testing Disks' at the top for more details.BiggestSize DiskFillSize Optional. Allows the user to override the default disk fill size used in the FIO profile (e.g. 500GB -> 26GB). This enables the profile to be used in scenarios where the disk size is very small (e.g. local/temp disk -> 32GB in size). 500GB Duration Optional. Defines the amount of time to run each FIO scenario/action within the profile. 5 minutes FileSize Optional. Allows the user to override the default file size used in the FIO profile (e.g. 496GB -> 26GB). This enables the profile to be used in scenarios where the disk size is very small (e.g. local/temp disk -> 32GB in size). 496GB ProcessModel Optional. Defines how the FIO processes will be executed. The following are valid process models:
SingleProcess
Executes a single FIO process running 1 job targeting I/O operations against each disk. Results are separated per-disk.
SingleProcessPerDisk
Executes a single FIO process for each disk with each process running 1 job targeting I/O operations against that disk (higher stress profile). Results are separated per-disk.
SingleProcessAggregated
Executes a single FIO process running 1 job per disk targeting I/O operations against that disk. Results are provided as an aggregation across all disks (i.e. a rollup).SingleProcess QueueDepth Optional. Defines the I/O queue depth to use for the operations 512/the thread count ThreadCount Optional. Specifies the number of distinct parallel operations/threads to run per job. # logical processors / 2 - Profile Component Parameters
The following section describes the parameters used by the individual components in the profile.
Parameter Purpose Accepted Values Scenario Scenario use to define the given action of profile. This can be used to specify exact actions to run or exclude from the profile. Any string MetricsScenario The name to use as the "scenario" for all metrics output for the particular profile action. CommandLine The command line parameters for FIO tool set. Any Valid FIO arguments DiskFilter Filter allowing the user to select the disks on which to test. See the link 'Testing Disks' at the top for more details. Duration Defines the amount of time to run each FIO scenario/action within the profile. integer or time span PackageName The logical name for FIO package downloaded and that contains the toolset. ProcessModel Defines how the FIO processes will be executed. SingleProcess
Executes a single FIO process running 1 job targeting I/O operations against each disk. Results are separated per-disk.
SingleProcessPerDisk
Executes a single FIO process for each disk with each process running 1 job targeting I/O operations against that disk (higher stress profile). Results are separated per-disk.
SingleProcessAggregated
Executes a single FIO process running 1 job per disk targeting I/O operations against that disk. Results are provided as an aggregation across all disks (i.e. a rollup).QueueDepth Defines the I/O queue depth to use for the operations integer Tags Tags useful for telemetry data Any comma-separated string ThreadCount Specifies the number of distinct parallel operations/threads to run per job. - Profile Component Parameters
-
Profile Runtimes
See the 'Metadata' section of the profile for estimated runtimes. These timings represent the length of time required to run a single round of profile actions. These timings can be used to determine minimum required runtimes for the Virtual Client in order to get results. These are often estimates based on the number of system cores. -
Usage Examples
The following section provides a few basic examples of how to use the workload profile. See the documentation at the top on 'Testing Disks' for information on how to target select disks on the system.# Run the workload on the system (default = largest disks)
VirtualClient.exe --profile=PERF-IO-DISKSPD.json --system=Demo --timeout=1440 --packageStore="{BlobConnectionString|SAS Uri}"
# The example above runs on the same disks as having DiskFilter=BiggestSize
VirtualClient.exe --profile=PERF-IO-DISKSPD.json --system=Demo --timeout=1440 --packageStore="{BlobConnectionString|SAS Uri}" --parameters=DiskFilter=BiggestSize
# Run the workload against the operating system disk
VirtualClient.exe --profile=PERF-IO-DISKSPD.json --system=Demo --timeout=1440 --packageStore="{BlobConnectionString|SAS Uri}" --parameters=DiskFilter=OSDisk
# Run the workload against all of the disks except the operating system disk.
VirtualClient.exe --profile=PERF-IO-DISKSPD.json --system=Demo --timeout=1440 --packageStore="{BlobConnectionString|SAS Uri}" --parameters=DiskFilter=OSDisk:false
# Run the workload on specific drives/disks
VirtualClient.exe --profile=PERF-IO-DISKSPD.json --system=Demo --timeout=1440 --packageStore="{BlobConnectionString|SAS Uri}" --parameters=DiskFilter=DiskPath:C:\,D:\
# A more advanced disk filter supplied
VirtualClient.exe --profile=PERF-IO-DISKSPD.json --system=Demo --timeout=1440 --packageStore="{BlobConnectionString|SAS Uri}" --parameters=DiskFilter=OSDisk:false&smallestSize,,,DiskFillSize=26G,,,FileSize=26G
# Run specific scenarios only. Each action in a profile as a 'Scenario' name.
VirtualClient.exe --profile=PERF-IO-DISKSPD.json --system=Demo --timeout=1440 --packageStore="{BlobConnectionString|SAS Uri}" --scenarios=RandomWrite_4k_BlockSize,RandomWrite_8k_BlockSize,RandomRead_8k_BlockSize,RandomRead_4k_BlockSize