Running DiskSPD is a great tool and gives you a lot of detail on how fast or what the performance is of the Storage. With the PerfInsights you get more info and a nice graphic. Also you get also some recommendations about the issues on the devices.
PerfInsights is a self-help diagnostics tool that collects & analyzes the diagnostic data, and provides a report to help troubleshoot Windows virtual machine performance problems in Azure. PerfInsights can be run on virtual machines as a standalone tool, or directly from the portal by installing Azure Performance Diagnostics VM Extension.
If you are experiencing performance problems with virtual machines, before contacting support, run this tool. PerfInsights collects various information about the virtual machine, disks/storage pools configuration and performance logs such as:
- System event logs
- Network status for all incoming and outgoing connections
- Task list for all applications currently running on the system
- SQL Server database configuration settings and error logs (if the VM is identified as a server that is running SQL Server)
- Storage reliability counters
- Important Windows hotfixes
- Installed filter drivers
- Firewall Rules
Looking at the options you can do the /? or /List to get more info.
The \list
You can start with the tool here
- Download PerfInsights from https://aka.ms/PerfInsightsDownload
- Extract the content to a folder of your choice
- Open a CMD/PowerShell instance, browse to the folder where the binaries were extracted to and run: “PerfInsights.exe /r benchmark /AcceptDisclaimerAndShareDiagnostics"
This scenario runs the Diskspd benchmark test (IOPS and MBPS) for all drives that are attached to the VM
With this you get the basic information and give you some insights. Playing with the options is the best way to get some more insights about the performance
Running the tool is reporting the steps that are tested.
Now that the Tool has run the output is a zip file with the captured data. this can be extracted and there is a HTML that opens the report. The Zip files are stored in the root of the perfinsights folder.
Opening the Report brings you a detailed report.
Looking at the Disk performance reports
Showing the IOPS of the Disk.
There is great info in the report and is often used also by Microsoft product support.
####################
# Not supported options!!
But looking at the tool I was curious on how it creates the diskspd reports and in what is the basic values.
In the RuleEngineConfig.json you can find the DiskSPD test and these where not my common settings. 8KB block size and 1GB file.
This can be changed but the file will be overwritten when the tool get updated as these should normally not be changed.
"$type": "Microsoft.Azure.Performance.Diagnostics.Contracts.DiskSpdRunnerConfiguration, Microsoft.Azure.Performance.Diagnostics",
"Name": "DiskSpdRunner",
"Enabled": false,
"DatFilePath": "_diskSpd_test",
"DatFileName": "testfile.dat",
"DatFileSize": "1024M",
"RunDurationSec": 90,
"WarmupDurationSec": 30,
"OSDiskRunSession": {
"Enabled": true,
"Runs": [
{
"Name": "IOPS",
"Iterations": 3,
"QueueDepth": 16,
"WriteRatio": 100,
"BlockSize": "8k"
}
Next that this can be changed and get some great reports Some components are also turned off "Enabled": true, or "Enabled": false keep in mind changing the setting also change the output. the log files can get BIG!
Ii is a funny tool with some nice options to have a quick overview of the server.
Download PerfInsights from https://aka.ms/PerfInsightsDownload
Follow Me on Twitter @ClusterMVP
Follow My blog https://robertsmit.wordpress.com
Linkedin Profile Robert Smit MVP Linkedin profile
Google : Robert Smit MVP profile
Pingback: Latest Cloud News: Azure Outages, Azure Bicep Modules And More! (October 13, 2020 - Build5Nines Weekly) | Build5Nines