Overview
Diskspd is an effective tool to test disk performance.
It can be used prior to MyWorkDrive implementation to determine if your server/environment is adequate (see our Server Sizing Guide for details) or post install when troubleshooting issues with directory browsing being slow or file transfer being slow.
Note that Disk Performance is the least likely cause of reported "slowness" and we have a complete guide to performance testing you should use to root out other issues prior to testing disk performance.
When testing, you should test the MyWorkDrive server local disks as a benchmark and also to ensure there are no issues with the disks selected for the MyWorkDrive Server, in addition to the shares used with MyWorkDrive.
Download the Diskspd utility here.
Download the DiskSpd.zip file and extract it to a path you can easily reach from a command prompt ie c:\diskspd
Open up a command window and browse to the folder you extracted Diskspd to.
Then browse into the AMD64 folder.
Here you have the diskspd.exe
Please run this test, substituting the drive letter and path at the end for the drive letter you want to test, and the path for a location that is writable by your user.
In this example, we are testing the c: drive and using the diskspd folder we just created as our test folder:
diskspd.exe -c10M -d30 -r -w40 -t4 -o32 -b4k -Sh -L c:\diskspd\testfile.dat
The arguments in the test mean -c sample file size we are testing -d seconds of test to conduct -r random I/O -w percent of threads which are write -t number of threads used -o number of I/O requests per targetr -b Block size of file write -Sh Disables software caching, allows writethrough (disables hardware write caching) -L Measure Latency
Please do not alter these parameters when testing. We have benchmarks using this test set that we compare to.
If we ask for the results, or you intend to send them to us for review, please share the complete results with us. You can copy/paste the results from the display, or you may find it easier to pipe the results to a .txt file, i.e:
diskspd.exe -c10M -d30 -r -w40 -t4 -o32 -b4k -Sh -L c:\diskspd\testfile.dat >c:\localtest.txt
Just be sure to rename the output file at the end of the command to avoid overwriting your results.
To test an SMB share, you have to do it as a drive mapped to the server via a mounted share in Windows (not MyWorkDrive), and you must have write permissions to a folder on the drive. You can't pass a UNC path to diskspd; you'd have to map a drive to it.
Substitute a mapped drive letter and location at the end of the arguments.
In this case, I have mapped H: and am using the folder temp:
diskspd.exe -c10M -d5 -r -w40 -t4 -o32 -b4k -Sh -L h:\temp\testfile.dat
The test should be slower. You can use them to compare different shares and also the MyWorkDrive server itself to gauge user experience.
Note that if you receive an error like:
The test was interrupted before the measurements began. No results are displayed. Error generating I/O requests.
or
WARNING: Could not create intermediate directory (error code: 3). Could not create the file (error code: 3).
That is an indicator that you do not have permission to write to the share. Please double-check that the user you are running under can write to the share. Sometimes the test is best performed in a command window without elevated privileges (ie, your logged-in user privileges) when testing mounted shares.
Some Benchmarks
These tests are from a QA lab, not optimized for production workloads. These would be considered minimum acceptable and would serve up to 100 concurrent users.
Local MyWorkDrive server share on SSD disks (IE c:\share on the MyWorkDrive server).
Read I/Os 48707 MiB/s 37.965 I/O per s 9718.94 AvgLat 1.781.
Write I/Os 32546 MiB/s 25.37 I/O per s 6494.35 AvgLat 1.804.
Local SMB Share on Windows File Server, tested from the MyWorkDrive server with a share mapped to a drive letter. File server disks are also SSD.
Read I/Os 16887 MiB/s 13.17 I/O per s 3063.17 AvgLat 5.34.
Write I/Os 11625 MiB/s 9.20 I/O per 2451.54 AvgLat 5.44.
Remote SMB share connected via VPN (this configuration is strongly NOT recommended, shares should always be located in the same location as the MyWorkDrive, shown only for comparison).
Read I/Os 672 MiB/s .52 I/O per s 133.99 AvgLat 140.292.
Write I/Os 446 MiB/s .35 I/O per 88.93 AvgLat 149.727.
Notice how slow this connection is. Users attaching to this share will experience long waits to browse directories and interact with files. Remotely hosted shares are strongly not recommended for use with MyWorkDrive.
Bear in mind, disk performance is just one facet of the full solution. Others, including server memory, server CPU capacity, internet connections for the server and clients, file sizes, and security products, all come into play when it comes to total system performance. See our Performance Testing Guide for complete considerations and tests.
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@myworkdrive.com.