How to analyze minifilter driver impact on Windows clients
Overview
Most of where I learned my Windows client troubleshooting and debugging was from the the Risk and Health Assessment Program for Windows Desktop (WDRAP), it always reverted to boot and logon time. Why? Because the experience of a bootup is generally persistent from boot to boot. Slight configuration changes and new tasks from management tools may modify things, but that can be seen in Windows Performance Analyzer. So, one should ask, why not use boot up and set the autologon key so logon and boot are consistent?
You, then, can measure the impact of a minifilter driver change and modification of a configuration against the Total IO Bytes ratioed with the minifilter delay in microseconds. So by and large you see the impact as a value of X microseconds to Y Megabyte (MB) for each trace. Easier to compare that way.
Before you begin
Install Windows ADK Tool
To configure a boot file for analysis, install the Windows ADK Performance Toolkit, see Windows ADK Windows Performance Toolkit and then configure your baseline system as you like.
Configuration of trace file
The point of this trace is not to inspect the code, it is to lead the performance impact of say, an antivirus agent upgrade or configuration modification.
To start a boot trace with WPRUI, perform the following steps:
-
Launch WPRUI as Administrator. In the Search box, type WPRUI. Right-click, select Run as administrator.
-
Select the following checkboxes that are important in your scenario. My recommendation is the following:
-
Select the First Level Triage checkbox.
-
Expand the Resource Analysis section.
-
Select the CPU checkbox.
-
Select the Disk I/O activity checkbox.
-
-
Expand the Scenario Analysis section.
-
Select the Minifilter I/O activity checkbox.
-
-
For Performance scenario, change general to boot.
-
For Detail level, select Light.
-
For logging mode, select File.
-
For Number of iterations, change from 3 to 2.
-
Set the Autologon key. Download and configure it with a local account with administrative permissions. For steps to do this, see Autologon.
-
Click Start. This should restart the computer.
-
-
Find and zip the files from the My Documents\WPA Files folder of the user profile with autologon enabled.
-
Rinse and repeat for as many configuration changes as you like.
-
Send them to Support for review.