-
Notifications
You must be signed in to change notification settings - Fork 859
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
wsl 1.1.3 is very slow #9725
Comments
Especially HTTP requests seem to be too slow compared to v1.0.3, i think it is networking latency issue or something in wsl 1.1.3 |
I did some tests, when WSL v1.0.3 installed HTTP requests to my containered applications tooks ~100ms - 200ms, but when i update to WSL v1.1.3 same requests tooks ~1100ms - ~2600ms, it looks like there is a serious performance issue in the latest WSL version |
Do you have repro examples? Sample app to run, etc. |
This is happening for me as well, do you have any clue what's going on? |
@pmartincic I am using simple .NET 7 API microservice application (which have JWT operations, DB connection, etc) in docker, If i can program a simple app for repro it, i will inform you |
Hello @pmartincic I created a very simple .net web api project with one controller you can find repo link here to reproduce the performance issue When i run this project into docker (v4.17.0) with wsl 1.0.3 installed on my machine it tooks like ~90-100ms It shows the new release of WSL (1.1.3) has performance issue Best Regards |
@tutcugil, super thanks! I'll have a look this coming week. |
I have the same problem. Networking in WSL2 is super slow now but it was fine previously.
|
@romabysen - I've tried both 1.0.3 and 1.1.3 and am not seeing any noticeable difference between the network speed of the wget operations. |
Yes, it has since fixed itself. I have no idea why it was that bad or how it fixed itself. |
Hello @pmartincic, Is there any news on this? |
Hey @tutcugil. I'm sorry but I've gotten pulled elsewhere for the time being. I really appreciate you taking the time to put together a self contained repro. That doesn't happen very often. I was the in middle of figuring out how to deploy/run it when I got pulled off. I don't typically work on those kinds of apps. I thought I'd posted on here last week but apparently I hadn't. |
Hi @pmartincic, just open the project with visual studio 2022 and choose run target Docker and run it, or you can use Dockerfile inside of the repo to build and run it on docker Regards |
Hi @pmartincic, @benhillis the issue seemed to resolved on v1.1.5 but re-appeared on v1.1.6 pre release, fyi Is there any update on this, |
The issue have seemed to resolve on newer pre releases |
Windows Version
Microsoft Windows Server 2022 [Version 10.0.20348.1547]
WSL Version
1.1.3
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
docker-desktop-data
Other Software
Docker Desktop v4.17.0
Repro Steps
I was previously using wsl v1.0.3 and updated it to v1.1.3 today, and my applications response times very slowed, i downgraded to v1.0.3 and my applications runs fast again
Expected Behavior
Application run and response performance same as previous wsl version
Actual Behavior
Applications are running slower on v1.1.3
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: