[Windows]User Xperf to identify performance issue

1. Start to record performance log

Open cmd as administrator and then input

    Xperf –on DiagEasy
    

The flag DiagEasy will output most information, as the result, the trace file will relative large.

Now Xperf will start record system internal log, to stop it and output is into a .etl file
    xperf –d myTestxperflog.etl
    

By default you can find the myTestxperflog.etl in C:\Windows\System32 folder. You can directly input to launch the xperfview
    

2. View and Analysis the result

The output view is massive, take the I/O analysis as an example.

 

Click detail graph, and you will see interesting disc access graph

By checking this graph, we can identify many disc problems.

For the detail usage of this tool, the following articles will be helpful

http://blogs.technet.com/b/robertsmith/archive/2012/02/07/analyzing-storage-performance-using-the-windows-performance-toolkit.aspx

http://sqlvelocity.typepad.com/blog/2011/06/windows-io-tracing.html

 

blog comments powered by Disqus