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

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

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

image

Looking at the options you can do the /? or /List to get more info.

PerfInsights

The \list

image

You can start with the tool here 

  1. Download PerfInsights from https://aka.ms/PerfInsightsDownload
  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 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.

PerfInsights

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.

PerfInsights

Opening the Report brings you a detailed report.

image

Looking at the Disk performance reports

PerfInsights

Showing the IOPS of the Disk.

image

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.

 PerfInsights

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

Posted October 13, 2020 by Robert Smit [MVP] in Azure

Tagged with ,

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

Subscribe to comments with RSS.

  1. Pingback: Latest Cloud News: Azure Outages, Azure Bicep Modules And More! (October 13, 2020 - Build5Nines Weekly) | Build5Nines

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Twitter

  • RSS Azure and Microsoft Windows Server Blog

  • %d bloggers like this: