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 (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx) (the Windows 8.1 version also works for Windows 7). |
2 | ||
3 | Now copy those commands in an empty .CMD file and run the CMD (as admin): | |
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 | + | |
5 | ////////// | |
6 | xperf -on BASE+LATENCY+DISPATCHER+FILE_IO+FILENAME+FOOTPRINT+VIRT_ALLOC+MEMINFO+VAMAP+REFSET+MEMINFO_WS -stackwalk profile+CSwitch+ReadyThread+ProcessCreate+FileCreate+FileCleanup+FileClose+FileRead+FileWrite+VirtualAlloc+VirtualFree -buffersize 2048 -MaxFile 2048 -FileMode Circular -f C:\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 1024 -FileMode Circular -f Kernel.etl |
7 | + | xperf -start UserLogger -on Microsoft-Windows-WindowsUpdateClient:::'stack'+Microsoft-Windows-Shell-Shwebsvc:::'stack' -BufferSize 2048 -f C:\User.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 | + | |
9 | timeout -1 | |
10 | ||
11 | xperf -stop | |
12 | xperf -stop UserLogger | |
13 | ||
14 | xperf -merge C:\User.etl C:\kernel.etl C:\SlowWU.etl -compress | |
15 | - | xperf -merge User.etl kernel.etl SlowWindows.etl -compress |
15 | + | |
16 | del C:\user.etl | |
17 | - | del user.etl |
17 | + | del C:\kernel.etl |
18 | - | del kernel.etl |
18 | + | |
19 | ||
20 | ||
21 | If you have captured 5 minutes of the Windows Update slowness, press a key to stop tracing. | |
22 | - | If you have captured the slowness, press a key to stop tracing. |
22 | + | |
23 | Compress the SlowWU.etl as 7z/RAR (to reduce the size), upload it (Onedrive, Dropbox) and paste a link here. |