Quantcast
Channel: Windows Performance Toolkit (WPT) v5 forum
Viewing all 275 articles
Browse latest View live

Agile Scrum Tracer Bullet

$
0
0

Hello everyone,

Kindly, what is the exact meaning of Tracer Bullet in Agile Scrum,and what is the difference between Tracer Bullet andSpike?

I have read many webpages that describes Tracer Bullet but the real meaning is not clear, I need a real situation that explains that term (Tracer Bullet)

Thanks in advance.



Ques from MS Virtual Academy, HTML5 and css for absolute beginners (moderator wanted transferred here - sorry about formatting)

$
0
0
Question            

HTML5 validated through Validator.nu.  are there any validators for css3?

thanks.

   

            no styles transferred from css file, HTML 5 for the absolute beginner, lesson 3        

None of my styles, color, font size, padding, floats, etc. came through to my lesson 3 internet explorer file.  I checked the html file and the css files as far back as coding the UTF-8 and all/text files. 

Someone had a problem with background color and removed the screen code in the css file.

In my software set up, I open the lesson 3 file from libraries with IE by pressing "open with" then I try to refresh the file as does Mr. Tabor.

He directly has IE, I have that one extra step (maybe because Im using google?) .

Does anyone have any ideas where I could be going wrong.

?

Its go to be at the beginning if not even the colors are translating to the html/IE file????

Thanks

WPRUI failure to start

$
0
0

Hi

When I try to start the WPRUI I am getting an error "A referral was returned from the server"

Any help/hints would be appreciated

Thanks in advance

Andrew

CPU Usage (Sampled) Missing

$
0
0

I'v been trying out wpaexporter.exe and exporting profiles and somehow have managed to hide/erase/other the "CPU Usage (Sampled)" computation. It no longer appears in the "Graph Explorer" left hand pane.

Can someone please help me to get it back?

Thank you.

Intermittent unknown process doing I/O

$
0
0

Hi,

I'm trying to setup a server for performance analysis of a product.

As a first step, I wanted to get repeatable results on a performance test so that I can use it as baseline performance data.

When I run the test multiple times, I see that 2 out of 10 runs take more time for I/O than the others. I have ensured that there are no unnecessary processes running on the system.

Finally I captured etl traces using WPR's DiskIO profile and compared the bad run with good run using Comparitive Analysis. There was an 'Unknown' process which was consuming more Disk Service time than good run.

My question is how do I know what is that intermittent 'unknown' process which is affecting the repeatability of my tests?


Export single EventID on a wpaprofile

$
0
0

I am trying to export events on a csv file using wpaeporter. the current wpaprofile I have is exporting all the events without breakdown. as example:

Microsoft-windows-MediaEngine : Event VideoFrameGlitch - Event ID 119

currently WPA is exporting the overall sum of all Media Engine event without a breakdown by events. how can I create a wpaprofile that can do that?

To what extend will custom events integrate in WPA?

$
0
0

What i would like to achieve is to get an overview of performance in terms of my applications business domain (Think of a graph of my_operations per second, my_operations queue depth, my_operations for my_job_x(jobname), my_operations start-time, my_operation end-time, etc.)

Currently i find myself first graphing my business domain performance data and then in WPA try to find back where my business domain performance relates to the standard WPR generated performance data. It would be great if this could be combined in a single tool with a single overview.

 

What are the requirements to get the UI Delays graph in WPA?

$
0
0

I'm looking for the UI Delay graph under the System Activity group but it isn't there. I'm using the WPT from the Windows 8.1 SDK (build 6.3.9600) and tried to profile the application both with base and latency options. The application uses .Net WinForms.

Are there any special requirements to get the UI Delay graph that I may be missing?

Thanks.


Interpreting think times in Load test results

$
0
0

Hello, 


I am running Load tests for single and multiple users for my application.

When there was no think time included in the web tests, the load tests showed too many failures. To ease out the server, and knowing that my application will have a lot to depend on the user's entries and inputs, I added some thinking times, generalized to text boxes and button clicks.

I understand that Avg Test time and Avg transaction time will include the think times therefore will be more than the Avg Page time which will be equivalent to Response time. Avg Page time will not contain Think time. 

I need to know how can we exclude the think times while interpreting the Avg. Test times in the Load test results? The values that we get in Avg. Test times are not accurate, because there is an external think time added. Is there a way where we can just look at the actual client-Server interaction in the results, ignoring the think times we used while web test creation or Load test execution?

Suggestions appreciated. 

Thanks.

Avg Test Time Vs Avg Page Time

$
0
0

Hi All, 

I am running some load tests a have Average Test time for the test and also average page time of the requests for the pages in the results. 

I understand that Average Test time includes the think times and the average page time does not include the think time.

How ever, in many of the tests (that are a part of the Test Mix i ma running) the Sum of all the page times of that Test is greater than the Average test time of the Test. This surprising. How can we explain this? Can anyone help on this?

Thanks in advance.

Regards,

Shuchita

Request Response in LoadTest2010 database

$
0
0

I am trying to extract the response to all the requests, or at least the failed requests in my load test from LoadTest2010 database. 

The reason being that I want to include the responses of the error-ed request in my performance test report.

However, I can only get the error messages and corresponding API failures by joining LoadTestMessage and WebLoadTestRequestMap table. 

Can someone suggest how to get the complete response of the failed API? I am looking for the on screen response since my application has a custom logging codes that that the response message will carry.

Thanks in advance. 

Using Perflib 2.0 in C++ - examples and help

$
0
0

Hello,

I am trying to write a program in C++ that uses performance counters with PERFLIB 2.0. I wrote a simple xml manifest which contains 3 counters - a counter, an average base and an average timer. I compiled them, included them in the code.

Now, I am trying to actually use them - but I seem to be unable to set the value of the average counter - It keeps throwing me the 87 error (incorrect parameter), even though I'm pretty sure the parameters are OK - I use them, one line above, to set the base counter, and that works fine.

I've scored the internet for documentation, for any kind of examples or help - but there isn't anything except the articles on this site, which are very high-level and rather unhelpful, and there aren't any code samples. There is some documentation for C#, but that doesn't help me.

Below is the relevant code:

The XML file:

<!-- <?xml version="1.0" encoding="UTF-16"?> --><instrumentationManifest
    xmlns="http://schemas.microsoft.com/win/2004/08/events"
    xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"><instrumentation><counters xmlns="http://schemas.microsoft.com/win/2005/12/counters" schemaVersion="1.1"><provider callback = "custom"
	      symbol="TestCounters"
              applicationIdentity = "TestCounters.exe"
              providerType = "userMode"
              providerGuid = "{ab8e1320-965a-4cf9-9c07-fe25378c2a23}"><counterSet guid = "{f72fdf55-eaa6-45ba-bf6d-4c7cb0d6ef73}"
                  uri = "Microsoft.Windows.System.PerfCounters.TestCounterSet"
                  name = "Counters Test"
		              symbol="CountersTest"
                  description = "Test of Counters"
                  instances = "single"><counter id = "1"
                      uri = "Microsoft.Windows.System.PerfCounters.TestCounterSet.opTimeBase"
                      name = "Operation Time base"
                      description = "Count Operation Time Average"
                      type = "perf_average_base"
                      detailLevel = "standard"
                      defaultScale = "1"></counter><counter id = "2"
                      uri = "Microsoft.Windows.System.PerfCounters.TestCounterSet.opTime"
                      name = "Operation Time"
                      description = "Count Operation Time"
		                  type = "perf_average_timer"
		                  baseID = "1"
		                  detailLevel = "standard"></counter><counter id = "3"
                      uri = "Microsoft.Windows.System.PerfCounters.TestCounterSet.countOps"
                      name = "Count operations"
                      description = "operations count."
                      type = "perf_counter_counter"
                      detailLevel = "standard"
                      defaultScale = "1"><counterAttributes><counterAttribute name = "reference" /></counterAttributes></counter></counterSet></provider></counters></instrumentation></instrumentationManifest>



My code:

...

	ULONG countOps = 0;  // The by-reference counter variable
	double countAverageDuration ;
	ULONG res;
	res = PerfAutoInitialize();

	if (res != ERROR_SUCCESS)
		throw string("Failed to initialize");

	PPERF_COUNTERSET_INSTANCE cinst = PerfCreateInstance(
		hProvider,
		&CounterSet_GUID,
		L"My First Counters",
		1);

	if (cinst == NULL)
		throw string("Could not create counter instance");

	res = PerfSetCounterRefValue(
		hProvider,
		cinst,
		3,
		&countOps
		);

	if (res != ERROR_SUCCESS) {

		throw string("Could not set counter ref value!");
	}


	srand(time(NULL));

	while (true) {
		int ops = rand() % 100000 + 2000;

		for (int i = 0; i < ops; i++) {
			countOps++;

			int duration = rand() % 1000;

			// Increase the base

			res = PerfIncrementULongCounterValue(hProvider, cinst, 1, 1);
			if (res != ERROR_SUCCESS)
				throw string("Could not increment base average counter");			// Increase the average -- this line keeps throwing error 87

			res = PerfIncrementULongCounterValue(hProvider, cinst, 2, duration);

			if (res != ERROR_SUCCESS)
				throw string("Could not increment average counter");

			BlaBla(duration);
		}

		if (ops == 2000) break;
	}

	PerfDeleteInstance(hProvider, cinst);

	PerfStopProvider(hProvider);
	return 0;

Please help!

Thanks,

G.



Power BI

$
0
0

Hi All,

What are the limitations of Power BI ?

Thanks in Advance...

exporterconfig file format

$
0
0

I'm trying to use the -exporterconfig option with Win 10 version of WpaExporter.exe, so that I can specify multiple profiles with different time ranges, and get the following error:

Windows Performance Analyzer 10.0.10240.16384 (th1.150709-1700)
Could not deserialize file
The given exporter configuration file could not be exported.

This happens even with a simple config file like this:

{       "TraceNames" : [{                     "Key" : "trace1",                     "Value" : MyTraceFile.etl"              }       ],       "Profiles" : [{                     "Name" : "MyProfileFile.wpaProfile",                     "Traces" : [{                                  "Name" : "trace1",                                  "Slot" : 1                           }                     ]              }       ]
}

Could you tell me what is wrong with my config file or would you be able to provide an example of a working exportconfig file please?


Both Load Symbols and Configure Symbol Path of Trace Menu are disabled

$
0
0

Hello,

I did an *.etl trace by xperf and want to analyze it. However both "Load Symbols" and "Configure Symbol Paths" are disabled in Trace Menu of WPA and I could not load symbols. The environment is following:

Windows 7 x64 running in VM

WPT is installed from the Common Tools for Visual C++ 2015.

I don't see this problem in my Windows 10 installation. Did I miss something in Win7  WPT install?

Thank you


Changing buffers for default Profiles

$
0
0

Can the default Profiles in WPR be changed so that the memory allocated can be adjusted - see below?

-Ib Tornøe

wpr -profiledetails cpu

Microsoft Windows Performance Recorder Version 6.3.9600
Copyright (c) 2013 Microsoft Corporation. All rights reserved.

Profile                 : CPU.Verbose.Memory


Collector Name          : WPR_initiated_WprApp_WPR System Collector
Buffer Size (KB)        : 1024
Number of Buffers       : 2457
Providers
System Keywords
        CpuConfig
        CSwitch
        KernelQueue
        Loader
        MemoryInfo
        Power
        ProcessThread
        ReadyThread
        SampledProfile
        ThreadPriority
System Stacks
        CSwitch
        KernelQueueEnqueue
        KernelQueueDequeue
        SampledProfile
        ReadyThread

Collector Name          : WPR_initiated_WprApp_WPR Event Collector
Buffer Size (KB)        : 1024
Number of Buffers       : 20
Providers
        .NET Common Language Runtime: 0x98: 0x05
        36b6f488-aad7-48c2-afe3-d4ec2c8b46fa: 0x10000: 0xff
        e7ef96be-969f-414f-97d7-3ddb7b558ccc: 0x2000: 0xff
        Microsoft-JScript: 0x1: 0xff
        Microsoft-Windows-BrokerInfrastructure: 0x1: 0xff
        Microsoft-Windows-Networking-Correlation: : 0xff
        Microsoft-Windows-ProcessStateManager: : 0xff
        Microsoft-Windows-RPC: : 0x04 : Stack
        Microsoft-Windows-RPCSS: : 0x04 : Stack
        Microsoft-Windows-Win32k: 0x402000: 0xff : Stack
        PerfTrack: : 0x04
CaptureState Providers on Save
        .NET Common Language Runtime: 0x118: 0x05
        Microsoft-JScript: 0x4: 0xff
        Microsoft-Windows-DotNETRuntimeRundown: 0x118: 0x00
        Microsoft-Windows-Win32k: 0x80000: 0xff

Start WPRUI.EXE returns "A referral was returned from the server"

$
0
0

Installed WPT for Windows 10 on a Windows 8.1 OS.

When I start WPRUI.EXE I get the above error. WPA ad WPR.EXE Works without any issues.

Using WPRUI.EXE from SDK 8.1 (version 6.3.9600.17298) it starts perfect.

The errror in WPRUI.EXE for Windows 10 shows up where "User Account Control" shows up in the one that Works.

Regards

Ib Tornøe

Bug in x86 stack walking mechanism

$
0
0

Hi, looks like i found a bug with call stacks in WPA. If you profile simple program

static void Main()
    {
      Task task = new Task(() => { Thread.Sleep(1000);});
      task.Start();
      task.Wait();
      Thread.Sleep(1000);
    }

WPA shows that the parent node of Task.Wait method is not Main, but one level above it . The same thing is happened to List`1 methods: Add, AddRange, IndexOf and may be many more.

OS Win 8.1 x64. Tested on .NET 4.5, 4.5.1, 4.6

(Can't attach screenshot, because my account is not verified)


Readying Process

$
0
0

Dear All,

why do the readying process appears as "unknown" as per the below graph

wpr.exe: command line option "-onoffresultspath"

$
0
0

In the wpr.exe command line, there is this option:

  -onoffresultspath d:\tracelog

However, it does not store the final file there. Instead, it stores the file in the current directory. As the wpr.exe is started from within a batch file located in c:\batch, the final etl file is stored in c:\batch. So why does the command line option not work? (d:\tracelog does exist on a fixed, local hard drive)

Thanks


Armin

Viewing all 275 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>