xPerf: Once I Was Blind and Now I See

I’ve been aware of the buzz around xPerf for quite some time.  I flagged emails from Microsoft Premier Field Engineers Clint Huffman (author of PAL) & Shane Creamer (author of Vital Signs) who in internal DLs both cited the tool way back in 2008.

Robert Smith is also a Microsoft PFE.  He is one of Microsoft’s leading engineers for troubleshooting SANs & other challenges related to disk I/O subsystems.  He is the author of the ground-breaking KB 929491 on disk partition alignment.

And on top of all that, Robert is also an xPerf expert.

xPerf is the lightweight tool used to capture information from the kernel-based Event Tracing for Windows (ETW).  Perhaps you’ll soon be as enthusiastic a supporter as I.

Recently, Robert Smith was generous enough to volunteer some time for a demo.  He shared insights which continue to amaze me, showing me how to interpret performance metrics such as:

  • Discrete reads & writes
  • Discrete I/O size, concurrency, & serial vs. random
  • Size of discrete I/Os
  • Random writes vs. serial writes (e.g., to a log file)

And perhaps most importantly:

  • Identify definitive latencies at Windows vs. storage
  • Identify time spent at the driver level (e.g., storport.sys, ntfs.sys, & kernel.sys)

Raise your hand if you’ve ever had an I/O bottleneck & your SAN man says, “Hey, sorry you’re having problems, but everything’s good on our end, we even talked to our vendor…” 

xPerf allows us to answer definitively, unequivocally, & without question whether it’s your server, your SAN, or both.

Cc305221.image055(en-us,MSDN.10).png

Such granularity & related aggregations has been heretofore unavailable to me.  I believe xPerf will fundamentally change the way I do my job.

Stay tuned for additional details.  I intend to share information to help you get started, tips, tricks, & techniques such as Robert shared & a few of my own, & case studies.

Jimmy May, MCM, MCDBA, MCSE, MCITP: DBA + DB Dev
Principal Performance Engineer: SQL Server
A.C.E.: Assessment Consulting & Engineering Services
http://msinfosec.com
http://blogs.msdn.com/jimmymay
www.twitter.com/aspiringgeek
Don’t practice in front of the CIO.  A professional prepares ahead of time.
     —Pond's 12th Law

Published 08 September 09 11:10 by Jimmy May

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Chuck said on September 9, 2009 1:52 PM:

If Jimmy is excited about something, then so am I.  Thank you very much, sir, for sharing this.

# SJB said on September 13, 2009 7:21 PM:

Raises hand!  

Really looking forward to these series of blogs.  xPerf is one of those things I keep thinking "must learn that", but never get to.

# JL said on December 21, 2009 5:49 AM:

Is this tool only available in Win7 SDK?

# Jimmy May said on December 22, 2009 1:45 PM:

The distribution mechanism has indeed changed since this post.  However, you needn't download & install the multiple GB file.  I have documented step-by-step instructions here:

http://blogs.msdn.com/jimmymay/archive/2009/11/24/xperf-install-windows-performance-toolkit-wpt-with-242mb-download-not-2-5gb-windows-7-sdk-part-2.aspx

or

http://blogs.msdn.com/9928175.aspx

From time-to-time I'll be posting additional guidance, including practical use cases & other news you can use.

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

About Jimmy May

Jimmy May is a Principal Engineer for SQL Server in the Microsoft Assessment. Consulting, & Engineering (A.C.E.) team & is assigned to Team Lee.  He is the Visionary-in-Chief of SQL Server Pros & was formerly the Senior Database Architect for one of the world’s largest, SQL Server high-throughput OLTP VLDBs.  He is a founder & on the executive committees of both the Indiana Windows User Group (www.iwug.net) & Indianapolis Professional Association for SQL Server (www.indypass.org).  He is a recipient of the MS IT Gold Star award, is collaborating with the SQL Server Customer Advisory Team (SQL CAT) on a series of SQL best practices papers, & is a member of the Microsoft Oracle Center of Excellence.  Jimmy lives in Indianapolis, Indiana with his lovely new bride, Phyllis, & Fannie May the Wonder Dog.  Contact him at jimmymay@microsoft.com. Visit his SQL Server performance & personal productivity blog at http://blogs.msdn.com/jimmymay. “In the late 90’s I made a conscious decision to become a geek, & started working with SQL Server in 1999.  Since then it’s been quite a ride—going from the Help Desk to DBA to Architect to entrepreneur to Microsoft Principal Engineer & consultant.”

Search

This Blog

Syndication

Page view tracker