Installing Disk-Speed (diskspd).
- Get diskpd binary from Microsft : http://aka.ms/diskspd
- Manual is here: https://github.com/Microsoft/diskspd/wiki
- Agree to License
- Extract Zip file (\Documents\Diskspd-2.0.21a)
- open Terminal/Command Prompt
- cd to the Extracted directory
- cd to AMD64
diskspd operates on windows filesystems, and will read / write to one or more files concurrently.
The NULL byte problem
By default, when diskspd creates a file it is a file full of NULL bytes. Many storage systems (at least NetApp and Nutanix that I know of) will optimize the layout NULL byte files. This means that test results from NULL byte files will not reflect the performance of real applications that write actual data.
To avoid overly optimistic results, first create the file, then write a randomized data pattern to the file before doing any testing.
Create a file using diskspd -c. e.g. for a 32G file on drive D: then overwrite with random data.
diskspd.exe -c32G D:\testfile1.dat
This will create a 32G file full of NULL bytes
Then overwrite with a random pattern
diskspd.exe -w100 -Zr D:\testfile1.datContinue reading