How to test hard drive performance with DiskSpd on Windows 10
If you want to know how a hard drive performs, use the DiskSpd tool, and here’s how on Windows 10.
When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.
OnWindows 10,“DiskSpd"is an optional tool that Microsoft has designed to test workload storage performance. Using this command-line tool, you can quickly determine the performance of a drive to confirm if it’s as fast as the manufacturer has advertised. Or you can compare the reads and writes of different hard drives to find out which is the fastest for specific workloads. For instance, when you’re building a server or workstation to host virtual machines, a web hosting server, or a database, or plan to run heavy input/output operations per second (IOPS) applications.
Regardless of the reason, the DiskSpd includes many options to create a stress test to measure the maximum reads and writes performance a drive can handle, and the tool works either with Windows 10 or Windows Server.
Thishow-to guidewill walk you through the steps to get started benchmarking a hard drive performance with the DiskSpd tool on Windows 10.
How to install DiskSpd on Windows 10
To install the DiskSpd tool on Windows 10, use these steps:
Once you complete the steps, you can start using the tool from Command Prompt.
How to use DiskSpd on Windows 10
Before proceeding with the performance test, it’s recommended to close all running applications and ensure that the storage health is in good condition.
To run the DiskSpd tool with Command Prompt, use these steps:
Get the Windows Central Newsletter
All the latest news, reviews, and guides for Windows and Xbox diehards.
In the command, specify the command to the destination of the DiskSpd.exe file. For example, this command opens the tool location inside the “Downloads” folder:cd C:\Users\username\Downloads\DiskSpd\amd64
Once you complete the steps, the DiskSpd tool will test the hard drive performance based on the parameters you specified in the command.
Here’s a breakdown of the options we used in the first command (seestep 5):
We are focusing on showing some of the command examples to get you familiar with the tool. You can always use the"diskspd /?“command to review all the options available to build a custom command to test the storage based on your situation.
If you plan to use the DiskSpd tool, consider that these are artificial tests, which means that they will never match real-world workloads. However, the tests will give you an idea of what performance to expect. You only need to be aware of the options you choose to match your workload as closely as possible.
How to review DiskSpd results on Windows 10
The completion time will depend on the parameters you used in the command. As you execute the command, you won’t see any information on the screen until the tool finishes the test.
Once the performance test is complete, the output will print on the screen. The first part includes a summary of the options you specified in the command, including the duration, warm-up and cool-down times, latency statistics, and other details.
Then there’s the section that includes the results of the test, which is divided into multiple tables. In the first part of the result, you will find how long the command took to complete the test, the number of threats, and the processors. Then there is a summary of the average processor load during the test.
The"Total IO"table shows the reads and writes per thread. The information offers the average performance in mebibytes per second. Or the operations (reads and writes) that were executed in a given period (second), and the total input/output (IO) also in a given period. Typically, the information of importance would be the total result from theMiB/s, which tells you the average reads and writes in mebibytes per second.
The"Read IO"table shows only the reads statistics per thread. The"Write IO"table shows only the writes statistics per thread. And the table at the bottom of the page includes information about the latency.
While these statistics can help understand how the drive performs, the information will make more sense if you already know what to expect. For instance, if you know the reads and writes advertised by the manufacturer, you can determine whether the drive will live up to the expectations. Or you can also rerun the DskSpd tool on different drives to determine which is the fastest.
More resources
For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:
Cutting-edge operating system
A refreshed design in Windows 11 enables you to do what you want effortlessly and safely, with biometric logins for encrypted authentication and advanced antivirus defenses.
Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.