Views:

Please first perform the steps in the KB article General Problem Isolation Testing to help determine what component is causing the performance issue. Provide the notes of the isolation testing, as well as the output of the Case Diagnostic Tool while reproducing the issue.

Once you have isolated the issue, you will want to collect additional relevant information while reproducing the issue.

Microsoft provides a tool called the Windows Performance Recorder, which collects detailed performance-related data from Windows.

To use this tool:

  1. Download and install the Windows Performance Toolkit from the Windows MSDN.
    • Windows 8 and later: Use Win10 WPT
    • Windows 7/2008R2: Use Win8 WPT
  2. Once installed, open an elevated command prompt and type the following:

    WPRUI.exe

    This is the Windows Performance Recorder.

    Windows Performance Recorder

    Click the image to enlarge.

  3. Select the following items and change the logging mode to "[File]":
    • CPU usage
    • Disk I/O activity
    • File I/O activity
    • Registry I/O activity

    If this is a performance-related issue, also select:

    • Heap usage
    • Pool usage
    • Minifilter I/O activity (under Scenario Analysis section)

    TP2

    Click the image to enlarge.

    Mini filter

    Click the image to enlarge.

  4. Click the Start button to begin data collection.

    TPI 3

    Click the image to enlarge.

  5. Reproduce the performance issue.
  6. After the issue has been reproduced for at least 5 minutes, click the Save button to stop recording.

    TP1 4

    Click the image to enlarge.

  7. Save the resulting .etl file.

    TPI5

    Click the image to enlarge.

  8. Open in WPA and see if the WPR recording captured the resource outage issue.

    Below is a bad example i.e. the left side is blank and it cannot be used for trouble shooting:

    Nothing Recorded

    Click the image to enlarge.

    An ideal recording shall look like the following i.e. it has enough length and the resource outage issue is captured several times for comparison:

    Analysis

    Click the image to enlarge.

  9. Compress the .etl file as a ZIP and upload it to your support case.

    TPI 6

    Click the image to enlarge.

References:

Process Monitor can also be useful for performance issues, although care needs to be taken as Process Monitor can also have a performance impact on the machine.

To use the tool:

  1. Download the Process Monitor Utility from Microsoft and place it in the machine.
  2. Extract the files.
  3. Run ProcMon.exe and accept the EULA.

    It will automatically begin collecting data.

  4. Reproduce the performance issue on the machine.
  5. After the issue has been reproduced, stop the collection by clicking the magnifying glass icon in Process Monitor so that there is a red line through it.

    TPI7

    Click the image to enlarge.

  6. Choose File > Save and then All events and Native Process Monitor Format (PML).

    TPI 7

    Click the image to enlarge.

  7. Zip the PML file, then upload it for review.