SQL Server
Diskspeed, or
diskspd.exe
, is Microsoft’s replacement for SQLIO. While I’m not going to replace our SQLIO tutorial, you can use the information in here to replicate the same type of tests on your systems to get the information you need. During the Dell DBA Days, Doug and I used diskspd
as one of our techniques for getting a baseline of raw performance. We wanted to get an idea of how fast the servers and storage before running SQL Server specific tests.
HOW DO I GET DISKSPD
?
You can download
diskspd
directly from Microsoft – Diskspd, a Robust Storage Testing Tool, Now Publically Available. That page has a download link as well as a sample command.
The upside is that
diskspd
is a fully self-contained download. You don’t need Java, .NET, or anything else installed to run it. Apart from Windows – you’ll still need Windows.
HOW DO I USE DISKSPD
?
With the command line, of course!
In all seriousness, although
diskspd
is the engine behind Crystal Disk Mark, it stands on its own as a separate tool. Download the executable and unzip it to an appropriate folder. There are going to be three sub-folders:
I took the
diskspd.exe
file from the appropriate folder and dumped it in C:\diskspd
so I could easily re-run the command. Let’s fire up a command prompt and try it out.
Here’s a sample that we ran: