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?
-
-
So, absent a kernel dev telling me otherwise, my assumption would definitely be that most of the time is in repeatedly handling faults and doing the pages serially, instead of once in bulk.
-
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)
- 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.