-
Notifications
You must be signed in to change notification settings - Fork 832
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
Using the SparseVhd option causes High CPU, RAM, and Disk usage #10991
Comments
You saved my ass, disabled the option for now, THANKS ! |
also happened to me, thanks for this |
same |
And I didn't even enabled it to begin with, after researching for possible existing bugs lol. |
@OneBlue You assigned this to someone back in January, but it seems that account was deleted. Is there anyone else you could assign this to in order to look into it? |
Windows Version
Microsoft Windows [Version 10.0.22621.2861]
WSL Version
2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-microsoft-standard-WSL2
Distro Version
No response
Other Software
Docker Desktop v4.26.0
Repro Steps
wsl --manage {DISTRO} --set-sparse true
Expected Behavior
System CPU, RAM, and Disk Activity is not all running at 100%
Actual Behavior
During the process of creating the Docker container, my CPU usage is at 100%, as is my RAM usage, and my Disk usage on a SSD.
Furthermore, after the creation of the container, they all remain at 100% for a while, and the
Modified
part of the memory composition shown in task manager is a significant portion of my total RAM (I had it reach up to 10GB out of 16GB).This only happens if I have sparse containers enabled. I have no knowledge of how WSL or sparse VHD files work, but I'm guessing its queuing up the changes to the VHD files in RAM, and then it takes a while to write everything to disk.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: