Home
%3CLINGO-SUB%20id%3D%22lingo-sub-1317076%22%20slang%3D%22en-US%22%3EUpdate%20Staging%20Lab%20updates%3A%20process%20level%20performance%20metrics%2C%20UI%20updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1317076%22%20slang%3D%22en-US%22%3E%3CP%3EWidely%20requested%20by%20our%20customers%2C%20the%20most%20recent%20Update%20Staging%20Lab%20update%20delivers%20a%20powerful%20new%20feature%20that%20makes%20it%20easy%20to%20understand%20the%20resource%20utilization%20for%20applications%20enrolled%20in%20the%20Update%20Staging%20Lab%20service.%3C%2FP%3E%3CP%3EDespite%20the%20challenges%20imposed%20by%20the%20recent%20global%20health%20challenges%2C%20our%20team%20of%20engineers%20have%20been%20working%20hard%20to%20bring%20you%20this%20capability%2C%20along%20with%20other%20user%20interface%20(UI)%20updates.%20Read%20on%20for%20more%20details%20or%20watch%20this%20video%20for%20a%20quick%20walkthrough%20of%20the%20latest%20improvements.%20Want%20to%20onboard%20your%20application%20to%20the%20Update%20Staging%20Lab%20and%20accelerate%20validation%20against%20Windows%20security%20updates%3F%20Visit%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2F%3A%2F%2Faka.ms%2FJoinUSL%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%3A%2F%2Faka.ms%2FJoinUSL%3C%2FA%3E%20to%20sign%20up%20or%20recommend%20your%20ISV%20for%20the%20service.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3EProcess%20level%20performance%20metrics%3CP%3EThe%20Update%20Staging%20Lab%20dashboard%20offers%20performance%20metrics%20for%20all%20processes%20that%20run%20on%20the%20test%20machine%20along%20with%20your%20application.%20These%20details%20are%20included%20in%20the%20%E2%80%9CMemory%20utilization%E2%80%9D%20and%20%E2%80%9CCPU%20utilization%E2%80%9D%20panes%20of%20the%20dashboard.%20With%20the%20latest%20update%2C%20you%20can%20now%20analyze%20these%20performance%20metrics%2C%20along%20with%20an%20associated%20timeline%2C%20for%20each%20process.%3C%2FP%3E%3CP%3EPerformance%20metric%20details%20for%20individual%20processes%20are%20included%20in%20the%20event%20trace%20log%20(ETL)%20file%20for%20analysis.%20These%20can%20be%20opened%20using%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fwindows-hardware%2Ftest%2Fwpt%2Fwindows-performance-analyzer%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EWindows%20Performance%20Analyzer%20(WPA)%3C%2FA%3E%2C%20a%20tool%20included%20with%20the%20%3CA%20href%3D%22https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2Fp%2F%3FLinkId%3D526740%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EWindows%20Assessment%20and%20Development%20Kit%3C%2FA%3E%20that%20creates%20graphs%20and%20data%20tables%20of%20Event%20Tracing%20for%20Windows%20(ETW)%20events.%3C%2FP%3E%3CP%3EFor%20example%2C%20let's%20say%20I%20onboarded%20an%20application%20called%20Update%20Staging%20Lab%20Smoke%20Test%20Memory%20Stress.%20If%20I%20want%20to%20drill%20into%20the%20resource%20utilization%20of%20the%20application%20during%20the%20latest%20Update%20Staging%20Lab%20test%20run%2C%20I%20can%20do%20so%20by%20downloading%20the%20ETL%20file%20using%20the%20log%20files%20Download%20link%20as%20shown%20below.%20(The%20ETL%20file%20is%20included%20in%20the%20zip%20file%20downloaded.)%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EFigure%201.%20How%20to%20download%20log%20files%20(including%20the%20ETL%20file)%20in%20Update%20Staging%20Lab%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EFigure%202.%20An%20example%20of%20what%20the%20ETL%20file%20will%20look%20like%20in%20the%20downloaded%20log%20files%20folder%3C%2FP%3E%3CP%3EThe%20ETL%20file%20contains%20details%20of%20all%20individual%20processes%20that%20ran%20on%20the%20machine%20along%20with%20my%20application.%20It%20can%20be%20used%20to%20drill%20further%20into%20specific%20application%20processes.%20In%20this%20case%2C%20let's%20say%20I%20am%20interested%20in%20Update%20Staging%20LabTestMemoryStress.exe%2C%20which%20executed%20at%20multiple%20times%20during%20the%20test%20run.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EFigure%203.%20An%20example%20of%20the%20detailed%20look%20into%20a%20specific%20application%20process%3C%2FP%3E%3CP%3ELooking%20at%20the%20ETL%20file%2C%20the%20Graph%20Explorer%20on%20the%20left%20shows%20all%20the%20metrics%20available.%20From%20here%2C%20I%20can%20analyze%20System%20Activity%2C%20such%20as%20processes%20or%20computations%20such%20as%20CPU%20usage.%20I%20can%20also%20search%20for%2C%20and%20isolate%2C%20specific%20processes%20using%20advanced%20settings.%20For%20example%2C%20to%20look%20for%20Update%20Staging%20LabTestMemoryStress.exe%2C%20I%20can%20simply%20filter%20for%20process%20names%20with%20the%20text%20%E2%80%9CUpdate%20Staging%20LabTest%E2%80%9D.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EFigure%204.%20Searching%20for%20a%20specific%20process%20name%3C%2FP%3E%3CP%3EIn%20the%20example%20above%2C%20I%20filtered%20for%20the%20Update%20Staging%20LabTestMemoryStress%20process%20and%20aligned%20the%20process%20timeline%20with%20the%20virtual%20memory%20snapshot.%20By%20choosing%20a%20specific%20instance%20of%20the%20process%20execution%20(instance%20844)%2C%20I%20was%20able%20to%20note%20the%20process%20start%20time%2C%20end%20time%2C%20duration%2C%20peak%20working%20set%2C%20and%20memory%20increase%20percentage.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EFigure%205.%20Details%20on%20a%20specific%20execution%20of%20the%20process%3B%20the%20%E2%80%9CCommand%20Line%E2%80%9D%20cell%20denotes%20a%2020%25%20increase%20in%20memory%20caused%20by%20the%20process.%3C%2FP%3E%3CP%3EFurthermore%2C%20presets%20can%20be%20saved%20and%20exported%20as%20a%20profile.%20By%20saving%20this%20profile%2C%20all%20new%20ETL%20files%20can%20be%20opened%20with%20the%20profile%20selected%20and%20the%20default%20views.%20In%20addition%20to%20the%20memory%20snapshot%2C%20you%20can%20overlay%20CPU%20utilization%20details%20with%20the%20process%20timeline.%3C%2FP%3E%3CP%3EWith%20these%20ETL%20files%2C%20our%20goal%20is%20to%20ensure%20you%20have%20visibility%20into%20process-level%20information%20and%20the%20ability%20to%20isolate%20and%20analyze%20issues.%20This%20is%20a%20key%20tool%20to%20help%20you%20find%20the%20cause%20of%20any%20potential%20performance%20issues.%20Analysis%20of%20these%20processes%20using%20the%20ETL%20file%20can%20be%20further%20enhanced%20by%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fupdate-staging-lab-blog%2Fupdate-staging-lab-updates-favorites-sorting-status-clarity%2Fba-p%2F1233853%22%20target%3D%22_blank%22%3Efavoriting%20your%20processes%20in%20the%20Update%20Staging%20Lab%20dashboard%3C%2FA%3E.%20We%20plan%20to%20continue%20to%20provide%20you%20more%20tools%20to%20help%20analyze%20performance%20issues%20as%20well%20as%20include%20a%20clear%20status%20based%20on%20regression%20analysis%20results.%3C%2FP%3EAdditional%20dashboard%20and%20service%20updates%3CP%3EIn%20the%20latest%20Update%20Staging%20Lab%20update%2C%20we%20have%20also%20introduced%20test%20run%20completion%20details%20in%20the%20test%20summary%20page.%20With%20this%20update%2C%20you%20can%20look%20at%20the%20most%20recently%20available%20results%20without%20clicking%20into%20individual%20test%20runs.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EFigure%206.%20Information%20about%20the%20date%20and%20time%20of%20the%20most%20recent%20test%20run%3C%2FP%3E%3CP%3EIn%20addition%2C%20Update%20Staging%20Lab%20now%20supports%20restarts%20at%20the%20end%20of%20your%20scripts.%20These%20restart%20requirements%20can%20be%20specified%20in%20your%20application%20package%20when%20you%20upload.%20This%20is%20a%20critical%20tool%20to%20support%20your%20existing%20test%20infrastructure%20on%20Update%20Staging%20Lab%2C%20which%20might%20require%20restart%20injections%20at%20specific%20junctures.%3C%2FP%3E%3CP%3EPrivate%20preview%20participants%20can%20start%20using%20these%20enhancements%20today%20in%20the%20Update%20Staging%20Lab%20dashboard%20within%20the%20Azure%20portal.%20We%20are%20working%20on%20additional%20UI%20and%20service-level%20improvements%20and%20are%20excited%20to%20share%20details%20on%20those%20soon.%3C%2FP%3E%3CP%3EOur%20lives%20have%20changed%20drastically%20in%20the%20last%20few%20months%20due%20to%20the%20current%20public%20health%20situation.%20It%20is%20vital%20now%2C%20more%20than%20ever%2C%20to%20use%20technology%20to%20the%20fullest%20to%20make%20your%20work%20easier%20and%20more%20efficient.%20We%2C%20in%20the%20Update%20Staging%20Lab%20team%20and%20at%20Microsoft%2C%20are%20working%20hard%20every%20day%20to%20make%20that%20happen.%20Please%20try%20out%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FJoinUSL%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EUpdate%20Staging%20Lab%3C%2FA%3E%20and%20the%20latest%20features%20we%20added%20and%20let%20us%20know%20how%20we%20can%20continue%20to%20do%20so.%20Please%20provide%20us%20with%20feedback%20in%20the%20comments%20section%20below%20or%20email%20us%20at%20%3CA%20href%3D%22mailto%3Auslpreview%40microsoft.com%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Euslpreview%40microsoft.com%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1317076%22%20slang%3D%22en-US%22%3E%3CP%3EEasily%20understand%20resource%20utilization%20for%20specific%20app%20and%20processes%2C%20save%20presets%2C%20note%20restart%20requirements%2C%20and%20more.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1317076%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eapp%20validation%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETesting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUpdate%20Staging%20Lab%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

Widely requested by our customers, the most recent Update Staging Lab update delivers a powerful new feature that makes it easy to understand the resource utilization for applications enrolled in the Update Staging Lab service.

Despite the challenges imposed by the recent global health challenges, our team of engineers have been working hard to bring you this capability, along with other user interface (UI) updates. Read on for more details or watch this video for a quick walkthrough of the latest improvements. Want to onboard your application to the Update Staging Lab and accelerate validation against Windows security updates? Visit https:://aka.ms/JoinUSL to sign up or recommend your ISV for the service.

 

Process level performance metrics

The Update Staging Lab dashboard offers performance metrics for all processes that run on the test machine along with your application. These details are included in the “Memory utilization” and “CPU utilization” panes of the dashboard. With the latest update, you can now analyze these performance metrics, along with an associated timeline, for each process.

Performance metric details for individual processes are included in the event trace log (ETL) file for analysis. These can be opened using the Windows Performance Analyzer (WPA), a tool included with the Windows Assessment and Development Kit that creates graphs and data tables of Event Tracing for Windows (ETW) events.

For example, let's say I onboarded an application called Update Staging Lab Smoke Test Memory Stress. If I want to drill into the resource utilization of the application during the latest Update Staging Lab test run, I can do so by downloading the ETL file using the log files Download link as shown below. (The ETL file is included in the zip file downloaded.)

01_download-log-files_USL.png

Figure 1. How to download log files (including the ETL file) in Update Staging Lab

02_ETL-file_USL.png

Figure 2. An example of what the ETL file will look like in the downloaded log files folder

The ETL file contains details of all individual processes that ran on the machine along with my application. It can be used to drill further into specific application processes. In this case, let's say I am interested in Update Staging LabTestMemoryStress.exe, which executed at multiple times during the test run.

03_app-process-details_USL.png

Figure 3. An example of the detailed look into a specific application process

Looking at the ETL file, the Graph Explorer on the left shows all the metrics available. From here, I can analyze System Activity, such as processes or computations such as CPU usage. I can also search for, and isolate, specific processes using advanced settings. For example, to look for Update Staging LabTestMemoryStress.exe, I can simply filter for process names with the text “Update Staging LabTest”.

04_searching-by-process-name.png

Figure 4. Searching for a specific process name

In the example above, I filtered for the Update Staging LabTestMemoryStress process and aligned the process timeline with the virtual memory snapshot. By choosing a specific instance of the process execution (instance 844), I was able to note the process start time, end time, duration, peak working set, and memory increase percentage.

05_process-execution-details.png

Figure 5. Details on a specific execution of the process; the “Command Line” cell denotes a 20% increase in memory caused by the process.

Furthermore, presets can be saved and exported as a profile. By saving this profile, all new ETL files can be opened with the profile selected and the default views. In addition to the memory snapshot, you can overlay CPU utilization details with the process timeline.

With these ETL files, our goal is to ensure you have visibility into process-level information and the ability to isolate and analyze issues. This is a key tool to help you find the cause of any potential performance issues. Analysis of these processes using the ETL file can be further enhanced by favoriting your processes in the Update Staging Lab dashboard. We plan to continue to provide you more tools to help analyze performance issues as well as include a clear status based on regression analysis results.

Additional dashboard and service updates

In the latest Update Staging Lab update, we have also introduced test run completion details in the test summary page. With this update, you can look at the most recently available results without clicking into individual test runs.

06_recent-test-run-date-and-time.png

Figure 6. Information about the date and time of the most recent test run

In addition, Update Staging Lab now supports restarts at the end of your scripts. These restart requirements can be specified in your application package when you upload. This is a critical tool to support your existing test infrastructure on Update Staging Lab, which might require restart injections at specific junctures.

Private preview participants can start using these enhancements today in the Update Staging Lab dashboard within the Azure portal. We are working on additional UI and service-level improvements and are excited to share details on those soon.

Our lives have changed drastically in the last few months due to the current public health situation. It is vital now, more than ever, to use technology to the fullest to make your work easier and more efficient. We, in the Update Staging Lab team and at Microsoft, are working hard every day to make that happen. Please try out Update Staging Lab and the latest features we added and let us know how we can continue to do so. Please provide us with feedback in the comments section below or email us at uslpreview@microsoft.com.