PerfInsights self-help diagnostics tool in Azure Troubleshooting and reporting #Reports #Diskspd #performance #problems #Azure #Azurefiles #S2D

Running DiskSPD is a great tool and gives you a lot of detail on how fast or what the performance is of the . 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 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/ pools configuration and performance logs such as:

  • System event logs
  • 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)
  • 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 

  1. Download PerfInsights from
  2. Extract the content to a folder of your choice
  3. 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

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

Follow Me on Twitter @ClusterMVP

Follow My blog

Linkedin Profile Robert Smit MVP Linkedin profile

Google  : Robert Smit MVP profile

Author: Robert Smit [MVP]

Robert Smit is Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009.
Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries.
Robert's past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals
who are trying to address real concerns around business continuity, disaster and regulatory compliance issues. Robert holds the following certifications:
MCT – Microsoft Certified Trainer, MCTS – Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on , Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization.
Follow Robert on Twitter @ClusterMVP
Or follow his blog
Linkedin Profile Http://

Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues.

A customer says ” Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. ”

Details of the Recommendation: “I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project


This article was originally published by The Windows Server HA Blog. You can find the original article here.