locked
Frequently Asked Questions (FAQ) RRS feed

  • General discussion

  • This discussion contains frequently asked questions (including answers :)) that we get from our customers.
    Thursday, November 13, 2008 5:29 AM

All replies

  • Q: Where do I get the latest release of the WPT Kit?

    A: Latest release of the WPT Kit is available with the latest Windows SDK (starting from Windows Server 2008 SDK).
    Monday, October 6, 2008 9:06 PM
  • Q: What OS releases is Performance Analyzer supported on?

    A: Performance Analyzer is supported on Windows Vista and later releases.
    Monday, October 6, 2008 9:07 PM
  • Q: Can I use Performance Analyzer on Windows XP or Windows Server 2003?

    A: Unfortunately, the answer is 'no'. While Windows XP and Windows Server 2003 do support collection of ETL traces, these OSes do not contain instrumentation for most of the events needed by Performance Analyzer (PA). You need Windows Vista or later OS to use PA. An example of crucial instrumentation added in Vista is stack walking. Performance analysis without stacks can be an extremely daunting task that only a true expert with access to source code can tackle.

    With the Windows Vista release, Microsoft has really taken the OS to next level in terms of system diagnosibility and a lot of the analysis based on this instrumentation isn't feasible on Windows XP/Server 2003 ETL traces.
    Monday, October 6, 2008 9:15 PM
  • Q: How to enable stackwalking on x64 systems?

    A: x64 ETW stackwalking is only supported on Windows Vista SP1, Windows Server 2008, and above, and requires setting a certain registry value (see below) to 1 and rebooting the machine ( so that Windows kernel picks it up).

     

    Here are the necessary control scripts:

     

    QueryStackwalk64.cmd:

    ----8<----

    @REG QUERY "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management" -v DisablePagingExecutive

    ----8<----

     

    TurnOnStackwalk64.cmd:

    ----8<----

    @REG ADD "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management" -v DisablePagingExecutive -d 0x1 -t REG_DWORD -f

    @IF NOT %ERRORLEVEL% == 0 echo error: Could not configure system for 64-bit stackwalking.  Please run this script from an elevated administrator console.

    ----8<----

     

    TurnOffStackwalk64.cmd:

    ----8<----

    @REG ADD "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management" -v DisablePagingExecutive -d 0x0 -t REG_DWORD -f

    @IF NOT %ERRORLEVEL% == 0 echo error: Could not remove 64-bit stackwalking configuration.  Please run this script from an elevated administrator console.

    ----8<----

    Monday, October 6, 2008 9:20 PM
  • Q: How do I rearrange graphs ordering?

    A: To compare two graphs that are interesting, but not adjacent in the xperf view, you can simply drag the title bar of one graph to a new location. The image below shows the title bar for the Disk usage graph.
     

    xperf title bar

    You can also do this from within the flyout on the left, listing all the graphs (enabled and disabled).

    Monday, October 6, 2008 9:24 PM