• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
MagicAndre1981

Install the Windows Performance Tool Kit (WPT)

24 posts in this topic

Windows Performance Analysis Tools

The Windows Performance Tools (WPT) Kit contains performance analysis tools. Windows Performance Tools are designed for analysis of a wide range of performance problems including application start times, boot issues, deferred procedure calls and interrupt activity (DPCs and ISRs), system responsiveness issues, application resource usage, and interrupt storms.

The Windows Performance Tools (WPT) is part of the Windows 8 SDK and the Windows Assessment and Deployment Kit. In this guide I'll use the Windows 8 SDK Installer to install the WPT.

Go to the download site of the SDK:

http://msdn.microsoft.com/en-us/windows/hardware/hh852363

and click on the button download to download the Webinstaller:

Windows_8_SDK_1.png

and store the installer on your HDD. Now run the setup and this screen shows up:

Windows_8_SDK_2.png

Click next and select the WPT from the list:

Windows_8_SDK_3.png

Click "Install" and the Setup downloads the required files.

Windows_8_SDK_4.png

and installs the WPT

Windows_8_SDK_5.png

After a reboot (required to add the WPT folder to the PATH variable to run the tools from every place) you are ready to follow my xperf guides here on msfn:

Trace Windows Vista/7 boot/shutdown/hibernate/standby/resume issues
http://www.msfn.org/board/index.php?showtopic=140247

How to speed up boot process under Windows Vista or Windows 7
http://www.msfn.org/board/index.php?showtopic=140262

Analyzing DPC / Interrupt Issues:
http://www.msfn.org/board/index.php?showtopic=140263

Analyzing High CPU Usage Issues:
http://www.msfn.org/board/index.php?showtopic=140264






1 tip: The setup stores the MSI files in the folder C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\Redistributables. The 32Bit version is named WPTx86-x86_en-us.msi, the 64Bit version is named WPTx64-x86_en-us.msi. The 3rd file (WPTarm-arm_en-us.msi) is needed for ARM based tablets/notebooks which run Windows RT.

You can use the MSI installer to avoid downloading the WPT after you reinstall Windows!


If you use Windows 8.1, you MUST use the WPT from the 8.1 SDK:

http://msdn.microsoft.com/en-US/windows/desktop/bg162891

But here the xperfview.exe is missing and you must use the horrible, blurry WPA.exe and I don't update my guide to show how it works with this broken tool, this is too much hassle. Upload the files and I'll try the WPA.exe to read the files.

Edited by MagicAndre1981
0

Share this post


Link to post
Share on other sites

Does xperf only work for Windows 7 ?

I have windows XP and big issues with interrupts using 95% of my CPU on Windows XP. So I was trying to follow your instructions but somehow it doesn't work.

When I find the MSI file as per above and install, it tells me it has installed successfully. But then the xperf command doesn't seem to work...

thanks!

0

Share this post


Link to post
Share on other sites

You don't really have to download the whole SDK to do this. Over at reboot.pro http://reboot.pro/13049/page__p__113919__hl__httpdisk__fromsearch__1#entry113919 they've presented an excellent way to remotely mount an ISO (http://www.microsoft.com/downloads/en/details.aspx?familyid=71DEB800-C591-4F97-A900-BEA146E4FAE1&displaylang=en) through HTTPDisk and get just what you need at the moment.

0

Share this post


Link to post
Share on other sites

install WPT on Vista/7 and copy the folder to XP and run the trace there.

0

Share this post


Link to post
Share on other sites

AM having a network related DPC I recorded 2 files, but forgot to change the name on the second, so thinking both of these might be the same, here is my link, and seems to be with newzleecher bad, and firefox minor, though newsleecher sees 4.4MB/s, though sometimes 2.5-3.5 with DPC's, and firefox was only d/ling at 850KB/s-1.2MB/s. I have updated my Realtek drivers for NIC. I can list other performance tests, and monitors. Seems the trouble spawned while using MSI updater and AISuiteII updater. If I try to use AISuiteII updater I get a ASupio.sys BSOD, so haven't been using it. But seems that somehow from these updaters, I now have the mass CPU usage from d/ling. I really only see about 60%(newsleecher) and 40%(firefox). I have asus m599x evo(MB) AMD Phenom X4 805 OC'd to 3.26, and 16GB Corsair LP Vengeance 12800 @ 1732. MSI GTX550Ti VGU, and realtek OB NIC

Edited by blitz2rush
0

Share this post


Link to post
Share on other sites

please post inside the DPC/Interrupt topic next time.

Your driver of the Realtek is "Rt64win7.sys", "7.043.0321.2011 built by: WinDDK", but the latest version is 7.046:

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false

And the realtek chips have no own CPu to do operations and the main CPu must do all work.

0

Share this post


Link to post
Share on other sites

this is a good question.

[sDKSetup:Error] Config_Products_Install: Installation of Product Microsoft Windows SDK for Windows 7 (failed): Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information. Stack: kohteessa SDKSetup.Product.ConfigureRelatedSfx() kohteessa SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent)

do you see this file? You can also try to get the Visual Studio 2010 tool or try the Windows7.1 SDK:

http://go.microsoft.com/fwlink/?LinkID=191420

0

Share this post


Link to post
Share on other sites

please post inside the DPC/Interrupt topic next time.

Your driver of the Realtek is "Rt64win7.sys", "7.043.0321.2011 built by: WinDDK", but the latest version is 7.046:

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false

And the realtek chips have no own CPu to do operations and the main CPu must do all work.

I am installing the 7.046, in hopes that this fixes my error. Though one question to this is, that I also have a belkin usb wi-n and with the realtek driver disabled was still having the same error, so thinking this will not fix my problem, will post soon enough though

I still have the same problem, so this is not the source of it.

Redirected to:

Edited by blitz2rush
0

Share this post


Link to post
Share on other sites

You can also try to get the Visual Studio 2010 tool or try the Windows7.1 SDK:

http://go.microsoft..../?LinkID=191420

I dowloaded Visual studio 2010 tool and that installation succeeded. Dumb question but do I still have to install Windows 7.1 SDK?

0

Share this post


Link to post
Share on other sites

Dumb question but do I still have to install Windows 7.1 SDK?

no, If you have installed WPT you don't need to install the SDK any longer.

0

Share this post


Link to post
Share on other sites

*Update*

I've replaced the Windows 7 SDK link to the Windows 8 SDK link. Now you can use the guides on Windows 8, too if you have any issues with the new Windows.

0

Share this post


Link to post
Share on other sites

MagicAndre1981:

from 2011 someone asks if it can be run in XP (but doesn't) and you state to install on Vista/7 and copy folder to XP. However, I do not have any way to install on Vista/7 because I'm still running MCE2005 (SP3). Is there another work around to run in XP? I'm running Process Explorer and DCP/interrupts are very high due to drivers or hardware (or both). Need a way to figure it out now before something fails.

Thank you for any help you can give.

0

Share this post


Link to post
Share on other sites

Hi. This works for Vista? I download the sdk installer, but it does not give me the check box for the WPT like it shows in your tutorial. Checked everything there and installed, but the still get the xbootmgr error.

0

Share this post


Link to post
Share on other sites

Hi guys :yes:

I have tried to install WPT on Vista and I get that some Tools can't be installed and there is no listing of WPT at all...How and where do I copy it from Windows 7?

 

Thanks!

 

bookie32

0

Share this post


Link to post
Share on other sites

Hi again!

OK! Thanks for that but it still doesn't work....I have checked "Ready Boost" and just installed the performance Tools but can run the command.....?

Any ideas?

I get not an internal command, external command, etc

 

bookie32

P.S.

I am an id***...I didn't see two listings for the performance tools when installing....now working thank you :thumbup

Edited by bookie32
0

Share this post


Link to post
Share on other sites

what is now working? What have you overlooked?

0

Share this post


Link to post
Share on other sites

Hi MagicAndre1981 :blushing:

Sorry! I wasn't very clear...

When installing SDK you are given several options of what you want to install and I had missed the one under Common Utilities...

post-163324-0-87290000-1426332012_thumb.

I only saw the link under Redistributable Packages and not Common Utilities...

When I rerun the SDK installer...then I noticed it and installed it OK...

 

I ran the WPT and it shaved over a minute on the startup time...;)

 

bookie32

0

Share this post


Link to post
Share on other sites

I ran the WPT and it shaved over a minute on the startup time... ;)

 

 

Which is a nice - though vague - absolute metrics whilst in this particualr case it would be interesting to use relative metrics.... :whistle:

 

I mean, it shaved one minute out of the 1:18 it took before means "wow! :thumbup ", it shaved one minute out of the 32:43   :w00t::ph34r: it took before means "meh. :} "....

 

jaclaz 

Edited by jaclaz
0

Share this post


Link to post
Share on other sites

Sorry, it was taking between 2minutes to 2 minutes 45 seconds to start totally and be usable...so even if it isn't the fastest starter in the world of computers with the latest technology...SSD drives etc...I think for an old computer that is pretty impressive....lol

Am I making myself clear......?

 

 

bookie32

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.