Advertisement
MagicAndre1981

diag disk usage and memory usage with xperf

Dec 8th, 2014
848
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.
  2.  
  3. Now run this command and capture the issue:
  4.  
  5. xperf -on PROC_THREAD+LOADER+DISK_IO+DISK_IO_INIT+FILENAME+FILE_IO+FOOTPRINT+VIRT_ALLOC+MEMINFO+VAMAP+REFSET+MEMINFO_WS+PROFILE -stackwalk FileCreate+FileCleanup+FileClose+FileRead+FileWrite+FileSetInformation+FileDelete+FileRename+DiskReadInit+DiskWriteInit+DiskFlushInit+VirtualAlloc+VirtualFree+PROFILE+ProcessCreate+ProcessDelete -buffersize 2048 -MaxFile 2048 -FileMode Circular && timeout -1 && xperf -d C:\diag_highCPU_DISK_FILEIO_AndMemoryUsage.etl
  6.  
  7. If you have enough data (60s - 120s), press a key to stop tracing.
  8.  
  9. Compress the diag_highCPU_DISK_FILEIO_AndMemoryUsage.etl as 7z/RAR (to reduce the size), upload it (Onedrive, dropbox) and paste a link here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement