Software:DiskSpd

From HandWiki
DiskSpd
Developer(s)Microsoft
Stable release
2.3 / September 4, 2026; 53 days ago (2026-09-04)[1]
Repositorygithub.com/Microsoft/diskspd
Written inC++
Operating systemWindows 10 (version 1803) or later[2]
Platformx86-64, ARM64[2]
Available inEnglish
TypeBenchmark program
LicenseMIT License[3]
Websiteaka.ms/diskspd

DiskSpd is a free and open-source[4] 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.[5][6][3]

Overview

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

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

DiskSpd worked 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.[10] As of 2026, the current binary release (version 2.3) includes builds for x86-64 and ARM64 and requires Windows 10 version 1803 or later; some newer features, such as the IoRing I/O path and BypassIO mode, require Windows 11.[2] Earlier releases supported older versions of Windows, with version 2.2 supporting Windows 8 and Windows Server 2012 or later.[11]

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

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).[13]

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

History

DiskSpd was developed by Microsoft's Windows and Cloud Server Infrastructure Engineering teams as a storage load generator and performance test tool.[14] In December 2015, Microsoft retired its SQLIO Disk Subsystem Benchmark Tool, redirected the download page to DiskSpd, and recommended DiskSpd for storage testing with SQL Server.[15] In April 2016 Microsoft announced that DiskSpd's source code was available on GitHub, alongside the release of VMFleet, a set of storage test scripts.[16] The CrystalDiskMark utility was rewritten to use DiskSpd for its tests in version 4.0.[17]

Version 2.0.21a (September 2018) added support for memory-mapped I/O and for Event Tracing for Windows.[18] Version 2.2 (June 2024) reworked the asynchronous I/O loop to improve latency measurement on fast storage at high queue depths, and added processor topology reporting, including the efficiency class of hybrid-architecture cores.[11] Version 2.3 (September 2026) added an IoRing-based I/O path, BypassIO modes, and topology-aware thread-affinity controls.[2]

See also

References

  1. ↑ "Release v2.3". September 4, 2026. https://github.com/Microsoft/diskspd/releases/tag/v2.3. 
  2. ↑ 2.0 2.1 2.2 2.3 "Release DISKSPD 2.3". 4 September 2026. https://github.com/Microsoft/diskspd/releases/tag/v2.3. 
  3. ↑ 3.0 3.1 "microsoft/diskspd". https://github.com/microsoft/diskspd. 
  4. ↑ "Microsoft DISKSPD now on GitHub, and the mysterious VMFLEET released". https://techcommunity.microsoft.com/t5/storage-at-microsoft/diskspd-now-on-github-and-the-mysterious-vmfleet-released/ba-p/425747. 
  5. ↑ "Benchmark your hard drives with Microsoft's open-source Diskspd". March 8, 2016. https://betanews.com/2016/03/08/benchmark-your-hard-drives-with-microsofts-open-source-diskspd/. 
  6. ↑ "Microsoft DiskSpd Storage Performance Tool - gHacks Tech News". 10 March 2016. https://www.ghacks.net/2016/03/10/microsoft-diskspd-storage-performance-tool/. 
  7. ↑ "Server and Storage I/O Benchmark Tools: Microsoft Diskspd (Part I) - DZone Performance". https://dzone.com/articles/server-and-storage-io-0. 
  8. ↑ Diskspd 2.0.17 | Software Downloads | Techworld
  9. ↑ Cuomo, Dan. "Windows Server 2025 Storage Performance with Diskspd". https://techcommunity.microsoft.com/t5/storage-at-microsoft/windows-server-2025-storage-performance-with-diskspd/ba-p/4167713. 
  10. ↑ Hoffman, Chris (23 July 2016). "How to Stress Test the Hard Drives in Your PC or Server". https://www.howtogeek.com/110689/how-to-stress-test-the-hard-drives-in-your-pc-or-server/. 
  11. ↑ 11.0 11.1 "Release DISKSPD 2.2". June 2024. https://github.com/microsoft/diskspd/releases/tag/v2.2. 
  12. ↑ "microsoft/diskspd". November 7, 2020. https://github.com/microsoft/diskspd. 
  13. ↑ "Using diskspd.exe to test storage system". January 11, 2018. https://medium.com/@fromprasath/using-diskspd-exe-to-test-storage-3528bd44e2d4. 
  14. ↑ "microsoft/diskspd". https://github.com/microsoft/diskspd. 
  15. ↑ "SQLIO Disk Subsystem Benchmark Tool is being retired". 11 December 2015. https://techcommunity.microsoft.com/blog/sqlserver/sqlio-disk-subsystem-benchmark-tool-is-being-retired/384589. 
  16. ↑ "DISKSPD now on GitHub, and the mysterious VMFLEET released". 11 April 2016. https://techcommunity.microsoft.com/blog/filecab/diskspd-now-on-github-and-the-mysterious-vmfleet-released/425747. 
  17. ↑ "Using Microsoft DiskSpd to Test Your Storage Subsystem". 4 August 2015. https://sqlperformance.com/2015/08/io-subsystem/diskspd-test-storage. 
  18. ↑ "Release DISKSPD 2.0.21a". September 2018. https://github.com/microsoft/diskspd/releases/tag/v2.0.21a.