-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 10 Memory Compression negatively impacts developer productivity on "large" memory systems #35
Comments
Thanks for opening this issue. As the person who reported it on twitter I appreciate having this issue formally recorded. I can see two possible ways of improving this situation:
|
I think Memory Compression can manually be disabled by executing Of course, this shouldn't be necessary. |
Hi. Id love to know why yall never did anything about this? cause even now my Win 10 Pro 22H2 19045.2728 with 32GB of system RAM is regularly compressing and consuming 13GB+ of RAM slowing down and causing RAM hungry apps like chrome and Steam to crash. |
On my testing i found a 7,3% performance penalty when running blender from compressed memory, (24,5gb vs 7gb). |
My main use case continues to be using VsChromium. I'll have 30+ GB of available memory, then Windows will decide to compress VsChromium's memory, which means that my next search will take several seconds instead of being instantaneous. A few second delay isn't the end of the world, but it defeats the entire purpose of VsChromium which is to have all of Chrome's source code loaded into RAM and ready for instant access. Not access with a few seconds of delay, but instant. |
@randomascii, Does your company have a retainer with Microsoft? I'm wondering if it might be more efficient to file a request with MS via their official (paid) support services. |
Indeed. Would be very useful if microsoft allowed the user to customize MMAgent behaviour, especially on systems with lot's of memory. It's a shame that such an useful feature is causing problems for being overly agressive |
Also, IMHO, a technique like memory compression, which uses CPU shouldn't do anything unless memory is running low. It's possible that memory compression kicks-in so early, because Windows also likes to do some paging to disk, even if there is plenty of free RAM. But the same logic should apply: why to do any paging to disk, if there is plenty of free RAM? |
Description
Some community developers are reporting that Windows 10 memory compression can negatively impact their development productivity.
For example, one developer posted:
https://twitter.com/BruceDawson0xB/status/1293296511883698176
In an older post last year, they had this to say as well:
https://twitter.com/BruceDawson0xB/status/1211805536783495168
This is particularly unfortunate as extensions like VSChromium store their text compressed, in a form optimized for searching. Which means that Window 10's Memory Compression is actually just spending CPU cycles with little to show in savings in memory reduction.
Steps to reproduce
The developer reported using the VSChromium extension in Visual Studio to open and navigate a copy of the Chromium (Chrome Browser) source code. Once the code has been indexed, they long enough for the MMAgent's Memory Compression sweep, and then performed a code search using the VSChromium extension which took significantly longer than expected.
Expected behavior
On a system with a "sufficient" amount of memory, Memory Compression should either not be used or be significantly less aggressive.
Actual behavior
On a system with a "large" amount of memory (32GB+) Memory Compression aggressively compresses memory even when the system is not under "heavy" memory pressure leading to a loss in performance and developer productivity.
The text was updated successfully, but these errors were encountered: