SHOW:
|
|
- or go back to the newest paste.
1 | - | Install the Windows Performance Toolkit (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx), open the command prompt with admin rights. |
1 | + | Install the Windows Performance Toolkit (part of the WIn10 SDK https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk), open the command prompt with admin rights. |
2 | ||
3 | ||
4 | - | Now copy those commands in an empty .CMD file and run the CMD (as admin) before you try to run an action which triggers the slowness: |
4 | + | Now copy those commands betwen the ////////// in an empty .CMD file and run the CMD (as admin), capture the slowness, next install the pending update and stop the trace: |
5 | ||
6 | ////////// | |
7 | - | xperf -on PROC_THREAD+LOADER+CSWITCH+DISPATCHER+DISK_IO+DISK_IO_INIT+FILENAME+FILE_IO+FILE_IO_INIT+PROFILE -stackwalk profile+CSwitch+ReadyThread+ProcessCreate+FileCreate+FileCleanup+FileClose+FileRead+FileWrite+DiskReadInit+DiskWriteInit -buffersize 2048 -MaxFile 1024 -FileMode Circular -f Kernel.etl |
7 | + | xperf -on PROC_THREAD+LOADER+CSWITCH+DISPATCHER+DISK_IO+DISK_IO_INIT+FILENAME+FILE_IO+FILE_IO_INIT+PROFILE -stackwalk profile+CSwitch+ReadyThread+ProcessCreate+FileCreate+FileCleanup+FileClose+FileRead+FileWrite+DiskReadInit+DiskWriteInit -buffersize 2048 -MaxFile 4096 -FileMode Circular -f C:\Kernel.etl |
8 | - | xperf -start UserLogger -on Microsoft-Windows-Shell-Core:::'stack'+Microsoft-Windows-Shell-Shwebsvc:::'stack'+Microsoft-IE:::'stack'+Microsoft-IEFRAME:::'stack'+Microsoft-Windows-WinINet:::'stack'+Microsoft-Windows-WinINet:::'stack' -BufferSize 2048 -f User.etl |
8 | + | xperf -start UserLogger -on Microsoft-Windows-Shell-Core:::'stack'+Microsoft-Windows-Immersive-Shell:::'stack'+Microsoft-Windows-Immersive-Shell-API:::'stack'+Microsoft-Windows-UI-Shell:::'stack'+Microsoft-Windows-Shell-Shwebsvc:::'stack'+Microsoft-Windows-WindowsUpdateClient:::'stack' -BufferSize 2048 -f C:\User.etl |
9 | ||
10 | timeout -1 | |
11 | ||
12 | xperf -stop | |
13 | xperf -stop UserLogger | |
14 | ||
15 | - | xperf -merge User.etl kernel.etl SlowWindows.etl -compress |
15 | + | xperf -merge C:\User.etl C:\kernel.etl C:\SlowWindows.etl -compress |
16 | ||
17 | - | del user.etl |
17 | + | del C:\user.etl |
18 | - | del kernel.etl |
18 | + | del C:\kernel.etl |
19 | ///////////////// | |
20 | ||
21 | ||
22 | If you have captured the slowness, press a key to stop tracing. | |
23 | ||
24 | Compress the SlowWindows.etl as 7z/RAR (to reduce the size), upload it (Onedrive, Dropbox) and paste a link here. |