Benchmark Disk Performance Using DiskSPD – Benchmark is as important step as setup. There’s no point setting it up if you can’t measure it. When it comes to benchmark disk on Windows desktop you might be familiar with software like CrystalDiskMark or PassMark. But when you want to benchmark disk performance on a server you will need slightly different tools.

DiskSPD is one of the tools you can use to benchmark disk performance on Windows servers. DiskSPD created by Windows engineering team at Microsoft. DiskSPD supports Windows, Windows Server and Cloud Server Infrastructure.

Benchmark Disk Performance Using DiskSPD - www.dedyprastyo.com
Benchmark Disk Performance Using DiskSPD

You can visit its official page at https://github.com/Microsoft/diskspd/wiki for more documentation.

Benchmark Disk Performance Using DiskSPD

In this tutorial you can download DiskSPD from DiskSPD github page. Extract downloaded file and navigate to x86 or amd64 folder depending on your CPU infrastructure (if you are not sure navigate to x86 instead).

Test Disk IOPS

To run disk IOPS benchmark / test you need to run command:

diskspd.exe -c10G -d30 -b4K -h -o32 -t4 -r -w100 E:\test.dat

This test will generate test.dat file on drive E with 10 GB size. You will get following result:

Benchmark Disk Performance Using DiskSPD IOPS - www.dedyprastyo.com
Benchmark Disk Performance Using DiskSPD – IOPS Result

In this test my disk max IOPS is 290 I/O per second.

Test Disk Throughput

To run disk throughput benchmark / test you can run following command:

diskspd.exe -c10G -d30 -b16K -h -o32 -t4 -r -w100 E:\test.dat

Just like IOPS test, this test will generate 10 GB of test.dat file on drive E. You will get following result from this test:

Benchmark Disk Performance Using DiskSPD Throughput Mbps - www.dedyprastyo.com
Benchmark Disk Performance Using DiskSPD Throughput Mbps Result

Well in this test my disk max throughput is Mbps, not bad I think.

Bottom Line

DiskSPD can be used to benchmark disk performance on Windows based operating systems. It’s created by the Windows engineering team at Microsoft which will give you peace of mind in terms of features and stability.  This application can only benchmark disk throughput and unable to test disk health so know your need before using this app.

If you find the article from Dedy Prastyo about Data Security useful please share it.

Image source:
github.com/microsoft/diskspd

Leave a Reply

All fields marked with an asterisk (*) are required