In case there are any NT kernel devs listening: from cold start, an exe that touches ~1gb of memory takes over 100ms to do so due to page handling. With 2MB pages enabled, this drops down to 30ms. This suggests to me that a "MEM_REALLY_COMMIT" VirtualAlloc flag would help?
-
-
How do you measure? If you make an ETW trace and open in WPA with symbols, you should be able to verify your assumption pretty quickly. (There'd be some ntoskrnl!KiPageFault frames in your stack I think)
-
Second that. What I do find weird is that I would have thought that most of the time is spent on zeroing the pages, but then you wouldn't see such a difference between 4k and 2MB pages - in both cases, 1GB has to be zeroed.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.