L
Larry Larsen, Andrew
Guest
In this episode of Defrag Tools, Andrew Richards, Chad Beeder and Larry Larsen continue walking you through the Windows Performance Toolkit (WPT). This is part 2 of 3 episodes on memory usage/leaks. Example xPerf scripts.
Resources:Defrag Tools: #7 - VMMap
Sysinternals VMMap
Aaron Margosis VirtMemTest
Timeline:
[00:00] - Happy 1st Birthday Defrag Tools!
[00:52] - VMMap
[01:22] - VirtMemTest
[03:43] - xperf -on PROC_THREAD+LOADER+VIRT_ALLOC -stackwalk ...
[04:46] - WPA
[06:30] - Commit Type - Allocated Inside (AI) & Outside (AO), Freed Inside (FI) & Outside (FO)
[08:02] - VirtualAlloc vs Heap
Example: "xperf - Collect VirtualAlloc.cmd"
@echo off
echo Press a key when ready to start...
pause
echo .
echo ...Capturing...
echo .
xperf -on PROC_THREAD+LOADER+VIRT_ALLOC -stackwalk VirtualAlloc+VirtualFree -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circular
echo Press a key when you want to stop...
pause
echo .
echo ...Stopping...
echo .
xperf -stop -d virtualalloc.etl
[Broken External Image]:http://m.webtrends.com/dcs1wotjh100...ntry:RSSView:6eda11cc8df14b12b1a9a20001326b4b
Continue reading...
Resources:Defrag Tools: #7 - VMMap
Sysinternals VMMap
Aaron Margosis VirtMemTest
Timeline:
[00:00] - Happy 1st Birthday Defrag Tools!
[00:52] - VMMap
[01:22] - VirtMemTest
[03:43] - xperf -on PROC_THREAD+LOADER+VIRT_ALLOC -stackwalk ...
[04:46] - WPA
[06:30] - Commit Type - Allocated Inside (AI) & Outside (AO), Freed Inside (FI) & Outside (FO)
[08:02] - VirtualAlloc vs Heap
Example: "xperf - Collect VirtualAlloc.cmd"
@echo off
echo Press a key when ready to start...
pause
echo .
echo ...Capturing...
echo .
xperf -on PROC_THREAD+LOADER+VIRT_ALLOC -stackwalk VirtualAlloc+VirtualFree -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circular
echo Press a key when you want to stop...
pause
echo .
echo ...Stopping...
echo .
xperf -stop -d virtualalloc.etl
[Broken External Image]:http://m.webtrends.com/dcs1wotjh100...ntry:RSSView:6eda11cc8df14b12b1a9a20001326b4b
Continue reading...