Windows 10: Windows Performance Analyzer error Solved

Page 1 of 2 12 LastLast
  1.    27 May 2018 #1

    Windows Performance Analyzer error


    I've been trying to run Windows Performance Analyzer to analyze a trace to resolve slow boots.
    The version of the ADK I used to install the Windows Performance Toolkit is the latest one, for Windows 10 1803, as I'm currently on 17134.81.

    After running the Windows Performance Recorder, with the command:

    Code:
    "%programfiles(x86)%\Windows Kits\10\Windows Performance Toolkit\wpr.exe" -start GeneralProfile -start CPU -filemode -recordTempTo %userprofile% -onoffscenario Boot -onoffresultspath C:\WPR -numiterations 1
    the ETL file is created normally, with no lost events or buffers.

    The reason for using the command prompt to start WPR is because a few times, that I run it from the GUI, I got the error that "The trace has dropped events. Please record this trace again". So to avoid that inconsistency I stick to the command prompt.

    When trying to open the created ETL with WPA, I always get an error that events (more than a million of them) are lost.


    Click image for larger version. 

Name:	WPA.png 
Views:	57 
Size:	18.3 KB 
ID:	190430

    The GeneralProfile that I use (the built-in one), has the following settings:

    Collector Name : WPR_initiated_WprApp_WPR System Collector
    Buffer Size (KB) : 1024
    Number of Buffers : 405

    Collector Name : WPR_initiated_WprApp_WPR Event Collector
    Buffer Size (KB) : 1024
    Number of Buffers : 81

    According to the error message, I should increase the number of buffers, as the Buffer Size I think is at the max. of 1024 KB.

    How can this be done? Any suggestion for resolving this problem is welcome!
    Last edited by ddelo; 28 May 2018 at 04:34.
      My ComputerSystem Spec

  2.    29 May 2018 #2

    Hi,Have you tried to record the trace to an external storage ? Recording a trace into a busy local disk, may result in events loss.
      My ComputerSystem Spec

  3.    29 May 2018 #3

    zinou said: View Post
    Hi,Have you tried to record the trace to an external storage ? Recording a trace into a busy local disk, may result in events loss.
    Thanks for answering.
    As a matter of fact, after reading your posts, in the hp forum, I did try it yesterday.
    Same results. More than 1.1M events dropped.

    EDIT:
    Just for the heck of it...I just tried it once more, to the external USB 3.0 2TB disk!!!

    Click image for larger version. 

Name:	WPR 29.05-2018.png 
Views:	42 
Size:	18.4 KB 
ID:	190557
      My ComputerSystem Spec

  4.    29 May 2018 #4

    Delete -recordTempTo %userprofile% from your command
      My ComputerSystem Spec

  5.    29 May 2018 #5

    I was getting the error, before adding it. And I saw that it was recommended by Microsoft, to avoid lost events. That's why I added it.

    But I'll delete it and give it one more try!
    Last edited by ddelo; 29 May 2018 at 18:38.
      My ComputerSystem Spec

  6.    29 May 2018 #6

    The command I run:

    Code:
    "%programfiles(x86)%\Windows Kits\10\Windows Performance Toolkit\wpr.exe" -start GeneralProfile -start CPU -filemode -onoffscenario Boot -onoffresultspath E:\WPRFiles -numiterations 1

    and the result:

    Click image for larger version. 

Name:	WPR 29.05.2018_02.png 
Views:	36 
Size:	18.3 KB 
ID:	190589
      My ComputerSystem Spec

  7.    29 May 2018 #7

    I would suggest to give it a try with the generalprofile only, don't add the CPU profile as the events captured with the cpu profile enabled are already included in the generalprofile.

    Click image for larger version. 

Name:	Capture3.PNG 
Views:	2 
Size:	72.8 KB 
ID:	190607
      My ComputerSystem Spec

  8.    29 May 2018 #8

    Thank you Zine,

    I'll give it a try and let you know!

    Something I noticed though, in your screenshot:
    You have Version 10.0.15063 and I have 10.0.17134

    The WPR_initiated_WprApp_WPR System Collector in your GeneralProfile has 813 buffers with 1024KB whereas in 10.0.17134 I have 405 buffers with 1024KB

    Click image for larger version. 

Name:	GeneralProfile.png 
Views:	34 
Size:	34.8 KB 
ID:	190608

    and the message I get tells me to increase the number of buffers, which I have no idea how to do!!!
      My ComputerSystem Spec

  9.    29 May 2018 #9

    We made some progress.... Only 1M lost this time, with only GeneralProfile

    Click image for larger version. 

Name:	WPA 30-05-2018.png 
Views:	32 
Size:	18.3 KB 
ID:	190609
      My ComputerSystem Spec

  10.    29 May 2018 #10

    This is the big challenge with WPR. the buffers configuration, it suffers for a lack of documentation I think the number of buffers is not related to the WPT version, but to the machine memory size. I've 16 Gb on my machine. I think the lower the memory you have, the lower the number of buffers.
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Dear Sirs and Madams, I hate to be the guy that asks if I can ask to submit the BSOD info without the Windows Ten dm log collector tool. In the short run it may be difficult for me to regain access to the computer. I have the 4 minidump...
I'm trying to move various data files from C:\ to other drives. I successfully moved Pictures to the drive I dedicate to pictures, and Downloads to a data drive. Bu t when I try moving Desktop to a data drive, I get the attached error message:...
Source: Analyzing website performance with the Windows Performance Toolkit | Microsoft Edge Dev Blog
Read more: http://www.winbeta.org/news/edge-extension-shows-windows-store-doesnt-work
Screenshots of Microsoft Edge’s Page Analyzer extension leaks, should be coming soon 69088 Read more:http://mspoweruser.com/screenshots-microsoft-edges-page-analyzer-extension-leaks-coming-soon/

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:32.
Find Us