DiskSpd

Last updated
DiskSpd
Developer Microsoft
Stable release
2.2 / June 13, 2024;16 months ago (2024-06-13)
Repository github.com/Microsoft/diskspd
Written in C++
Operating system Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7
Platform IA-32, x86-64, ARM64
Available inEnglish
Type Benchmark program
License MIT License [1]
Website aka.ms/diskspd

DiskSpd is a free and open-source [2] command-line tool for storage benchmarking on Microsoft Windows that generates a variety of requests against computer files, partitions or storage devices and presents collected statistics as text in the command-line interface or as an XML file. [3] [4] [1]

Contents

Overview

The command supports physical and virtual storage including hard disk drive (HDD), solid-state drives (SSD), and solid-state hybrid drives (SSHD). [5] It provides control over the testing methods, duration, threads, queues, IO and processor affinity, and reporting. [6]

In 2024, the command was updated to handle modern workloads and hardware like NVMe. [7]

DiskSpd works on desktop versions of Windows 7, Windows 8, Windows 8.1, Windows 10, as well as Windows Server 2012, Windows 2012 R2, and Windows Server 2016. [8]

It is licensed under MIT License and the source code is available on GitHub. [9]

Example

Benchmark two drives (C: and E:) using a 100 MB test file, and run the test for a duration of 60 seconds (the default is 10). [10]

C:\>diskspd -c100M -d60 c: e: 

See also

References

  1. 1 2 "microsoft/diskspd". GitHub.
  2. "Microsoft DISKSPD now on GitHub, and the mysterious VMFLEET released".
  3. "Benchmark your hard drives with Microsoft's open-source Diskspd". BetaNews. March 8, 2016.
  4. "Microsoft DiskSpd Storage Performance Tool - gHacks Tech News". www.ghacks.net. 10 March 2016.
  5. "Server and Storage I/O Benchmark Tools: Microsoft Diskspd (Part I) - DZone Performance". dzone.com.
  6. Diskspd 2.0.17 | Software Downloads | Techworld
  7. Cuomo, Dan. "Windows Server 2025 Storage Performance with Diskspd". techcommunity.microsoft.com.
  8. Hoffman, Chris (23 July 2016). "How to Stress Test the Hard Drives in Your PC or Server". How-To Geek.
  9. "microsoft/diskspd". November 7, 2020 via GitHub.
  10. "Using diskspd.exe to test storage system". Medium. January 11, 2018.