Performance issues in Warden on WSL2 #762
Replies: 5 comments 4 replies
-
If there is any relevant information I failed to provide, please let me know, and I will see if I can provide it. |
Beta Was this translation helpful? Give feedback.
-
I'm curious where your files are stored and how you're mounting and editing them. Could you please tell me a little bit about how thats setup? |
Beta Was this translation helpful? Give feedback.
-
It seems to be mainly reading. Not so much writing. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@danni140c have you looked at the container level process numbers via htop or similar? |
Beta Was this translation helpful? Give feedback.
-
I already searched for "wsl" and "performance" in issues and discussions, I did not find anything that seemed relevant.
I am using Warden in WSL2 (Ubuntu 22.04) on Windows 10. The PC has an AMD Ryzen 7 3700X and 32GB RAM. I use Warden for Magento 2. Using Docker Desktop v4.28.0.
I (and my colleagues) experience very significant performance issues sometimes, while using Warden. WSL2 will become completely unresponsive, making it impossible to use Warden or anything else in WSL2. Sometimes WSL2 will start being responsive after some time (~20-40 minutes). Most often we need to restart WSL2.
When the issue occurs, it seems disk usage is very high. After restarting WSL2, disk usage will go back to normal. See attached image from Task Manager.
The issue often occurs when I start multiple Warden environments, usually already when I start a second or third environment. Sometimes it occurs with only a single running environment, though not as often as when starting multiple.
I (and my colleagues) previously used a different Docker setup for Magento 2, where I (and my colleagues) never had these issues. So I am wondering if this has something to do with Warden, or maybe it is just a WSL2 issue? I suspect the disk usage might be due to usage of swap, but that is just a guess.
Has anyone experienced this before? Do you have any ideas/tips? Any idea for tweaks that could improve performance?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions