Comments (19)
Found the bug :)
from windows-dev-performance.
Does your filter include "Result" column conditions?
Try disabling them. The issue might be the fact that when the event comes in, the result is not yet known, so it has to go through. Only later it can be determined whether that was supposed to be dropped, but that is too late - we don't go back to drop the event. (at least not at this time)
from windows-dev-performance.
@riverar the default inbox filters do include at least one result column item.
from windows-dev-performance.
@randomascii Thanks for reporting this. This is definitely one of those small nits I deal with nearly every day!
from windows-dev-performance.
It would be good just to know where the procmon settings are stored, since then I could spelunk into them and/or reset them by deleting the registry keys.
It is odd that it works on some machines and not others, and that on one machine the upgrade to 3.53 fixed the issue.
from windows-dev-performance.
Assigning to Alex who will investigate in the couple few weeks, once he's cleared is current high-pri backlog.
from windows-dev-performance.
I hit this again while tracing a build of Chrome. All events except for 200 were filtered out and the "drop events" setting was set, but events were clearly not dropped. The procmon working set went to 99 GB and I hit lots of OOM failures.
Any guidance as to where the settings are so that I can clear them, since that seems to help?
from windows-dev-performance.
@randomascii HKEY_CURRENT_USER\SOFTWARE\Sysinternals\Process Monitor
particularly DestructiveFilter
dword
from windows-dev-performance.
Thanks! I deleted most of the settings (I just kept DbgHelpPath and SymbolPath because I am lazy and didn't want to reconfigure) and then started it and reconfigured my filtered capture with most events dropped. It claimed that it was displaying ~20 items out of 128,000 (the 128,000 from before I applied the filter) but the commit size went up to ~15 GB (and there were two procmon64.exe processes).
I then stopped capturing and cleared the capture but it is taking many minutes for the commit charge to come down. It's dropping by a few MB per second and I don't want to wait an hour.
I quit and then relaunched it (DestructiveFilter gets written to the registry on exit) and it briefly seemed to be working. WS/commit was holding steady at 1.7 GB/7 GB for a while.
However after a couple of minutes I have a second Procmon64.exe process (maybe it was always there?) and it's WS and commit are growing without bounds. It's at 10 GB/10 GB now and still going up.
So, I can reproduce the bug 100% of the time. Procmon thinks it has captured zero events and the main Procmon process uses a reasonable (large, but reasonable) amount of WS and commit, but the other Procmon process grows without bounds. Resetting everything doesn't help. I don't understand the multi-proc behavior so I can't reason about it.
I guess I'll need to find other ways to monitor my builds.
from windows-dev-performance.
@randomascii, I would like to repro this. Can you share details of your filters? You don't have to be too specific - just the filter type (process name, etc.) and relationship (is, greater than, etc.)
from windows-dev-performance.
@zodiacon Here's one way:
- Open Process Monitor
- In the Process Monitor Filter window, add a filter for contains abcdefghij
- Click Filter > Drop Filtered Events if not already checked
- Click the Clear button to clear all events (the status bar will indicate this via "No events")
- Click Filter > Enable Advanced Output to toggle its value (not important if it's on or off)
- Observe events are unexpectedly streaming through Process Monitor
from windows-dev-performance.
Excellent, thank you! On it.
from windows-dev-performance.
Just a warning: I suspect there are multiple bug entrypoints here; I believe I've also seen this without touching the Enable Advanced Output feature. That will be harder to reproduce, of course.
from windows-dev-performance.
Found the bug :)
That's great!
I look forward to a fixed version as this will unblock some important scenarios. It's not really important but are there any interesting details you can share about the cause? I'm just curious.
from windows-dev-performance.
Not worth sharing :)
from windows-dev-performance.
So, Procmon 3.70 was released today but this behavior still seems to be present. And the feature doesn't seem to work anymore.
Video: Clicking Filter > Drop Filtered Events doesn't stop the event flow anymore
procmon370.mp4
Video: Removing a filter does show events that should have been dropped
procmon370_events.mp4
from windows-dev-performance.
@zodiacon Nope. Just the default inbox filters.
from windows-dev-performance.
@zodiacon Ah missed that, thanks. Working as expected now. Might help to add a warning in status bar to that effect, or something!
from windows-dev-performance.
Agreed!
from windows-dev-performance.
Related Issues (20)
- PROCESSOR_POWER_INFORMATION.CurrentMhz no longer shows CurrentMhz HOT 7
- Throttling detection needed in Windows HOT 5
- Symbol server PE files are being overwritten with different versions HOT 13
- WinDbg's `dU` command is painfully slow HOT 4
- Merge module validation in Orca fails on well-formed merge module
- NT heap scales horrendously in some cases HOT 2
- Set up your dev environment on Windows for Rust HOT 2
- PrefetchVirtualMemory does not prefetch virtual memory (windows api bug) HOT 1
- Explorer leaks resources over a long time HOT 2
- Configuring RDP with MSA is impossible using the RDP Developer Menu HOT 1
- Argon containers use only weak cores on systems with heterogeneous CPUs HOT 4
- Extremely slow Context Menu launch in Windows Explorer HOT 2
- Unexpected Sleep(1) Precision with Different Clock Interrupt Frequencies (Timer Resolution) HOT 3
- Dev drive has vanished HOT 3
- Windows incorrectly schedules utility QoS threads exclusively to E-cores when running on AC power
- .NET Framework Cumulative Update Previews install automatically every month on non-insider builds HOT 3
- Alt+tab issue when in full-screen app HOT 2
- Can't Pinpoint What to do with Error PR175 with Visual Studio HOT 2
- "Must define a target architecture" issue from winnt.h when included by `.rc` files HOT 7
- Consistent CPU performance for benchmarking HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-dev-performance.