Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a check-box to enable/disable expensive working set monitoring.
Windows makes it cheap and easy to retrieve the size of the full working set of a process, but expensive and tricky to calculate the private working set or PSS. In order to avoid causing problems UIforETW now defaults to just grabbing the full working set (of specified processes) and only calculates the private WS and PSS when a checkbox is checked.
- Loading branch information
1 parent
04bfa15
commit 16c2171
Showing
8 changed files
with
92 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16c2171
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows includes the provider
Microsoft-Windows-Kernel-Memory
, when used with Keyword0x40
KERNEL_MEM_KEYWORD_MEMINFO_EX
, Windows captures every 0.5s:Count
,ProcessID
,WorkingSetPageCount
,CommitPageCount
,VirtualSizeInPages
,PrivateWorkingSetPageCount
.So there is no need to capture your own data.
16c2171
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. I just tried that on Windows 10 and it looks very promising. The data shows up in Memory-> Virtual Memory Snapshots. Do you know what operating system versions support this provider?
Also, I like that it shows things like the SystemCacheWS - that is very useful data.
16c2171
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows 8 (Build 9200) also supports
KERNEL_MEM_KEYWORD_WS_SWAP (0x80)
. Win7 only supportsKERNEL_MEM_KEYWORD_MEMINFO (keyword 0x20)
which logsWindows 8.1 (6.3.9600) an Win10 also supports
KERNEL_MEM_KEYWORD_ACG (0x100)
, but I have no idea what this is.I found this provider during my research about the memory compression of Windows 10. I want to trace which data from which processes get compressed.
16c2171
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to #80.