Comments (9)
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
The scipt will output the path of the log file once done.
Once completed please upload the output files to this Github issue.
Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
View similar issues
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Open similar issues:
- WSL2 FS access to Windows on W11 is much slower than on Win10 (#9430), similarity score: 0.73
- WSL2 git is slow from gitlab (#6602), similarity score: 0.72
Closed similar issues:
- [WSL2] git is very slow even on the same filesystem (#8588), similarity score: 0.79
- Extremely Slow Performance (#10509), similarity score: 0.72
- WSL 2 read access significantly slower since update to WIndows 11 (#7650), similarity score: 0.72
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from wsl.
WslNetworkingLogs-2024-05-07_10-23-15.zip
Here the WSL logs
from wsl.
Diagnostic information
Appx package is not installed
optional-components.txt not found
from wsl.
View similar issues
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Open similar issues:
- WSL2 FS access to Windows on W11 is much slower than on Win10 (#9430), similarity score: 0.73
Closed similar issues:
- [WSL2] git is very slow even on the same filesystem (#8588), similarity score: 0.79
- WSL 2 read access significantly slower since update to WIndows 11 (#7650), similarity score: 0.72
- [wsl2] unacceptable git performance after upgrade from wsl1 (#5496), similarity score: 0.72
- Extremely Slow Performance (#10509), similarity score: 0.72
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Diagnostic information
Issue was edited and new log file was found: https://github.com/microsoft/WSL/files/15232733/WslNetworkingLogs-2024-05-07_10-23-15.zip
Appx package is not installed
optional-components.txt not found
from wsl.
View similar issues
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Open similar issues:
- WSL2 FS access to Windows on W11 is much slower than on Win10 (#9430), similarity score: 0.73
- WSL2 git is slow from gitlab (#6602), similarity score: 0.72
Closed similar issues:
- [WSL2] git is very slow even on the same filesystem (#8588), similarity score: 0.80
- [wsl2] unacceptable git performance after upgrade from wsl1 (#5496), similarity score: 0.72
- WSL 2 read access significantly slower since update to WIndows 11 (#7650), similarity score: 0.72
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Diagnostic information
Issue was edited and new log file was found: https://github.com/microsoft/WSL/files/15232733/WslNetworkingLogs-2024-05-07_10-23-15.zip
Appx package is not installed
optional-components.txt not found
from wsl.
View similar issues
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Open similar issues:
- WSL2 git is slow from gitlab (#6602), similarity score: 0.73
- WSL2 FS access to Windows on W11 is much slower than on Win10 (#9430), similarity score: 0.71
Closed similar issues:
- [WSL2] git is very slow even on the same filesystem (#8588), similarity score: 0.79
- Docker login & pull extremely slow on WSL2 (#8733), similarity score: 0.73
- WSL 2 read access significantly slower since update to WIndows 11 (#7650), similarity score: 0.70
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Diagnostic information
Issue was edited and new log file was found: https://github.com/microsoft/WSL/files/15232733/WslNetworkingLogs-2024-05-07_10-23-15.zip
Appx package is not installed
optional-components.txt not found
from wsl.
Thank you @matpil. This delay could be caused by a variety of things, like a slow network connection, or a slow authentication go git.
Do you see the same behavior if let's say you clone / pull a public repo, like https://github.com/microsoft/WSL ?
from wsl.
Hi,
If I clone a public repo (the same you suggest) the response time is ok
To connect to our git server I use a ssh connection (by sshkey)
btw, I feel to exclude a slow network connection; I don't know how to test a slow auth (as I said, it's by sshkey)
have you any suggest?
from wsl.
Thank you for confirming @matpil.
The fact that cloning a public repository doesn't reproduce the issue shows the performance problem doesn't come from WSL, so I'll close this issue.
Here are a couple ideas to help you root cause the issue:
-
Look into whether you have configured git credential manager on WSL, and see if removing it solves the issue
-
Try to run
strace -f git pull
and see where the time is spent -
Check if your ~/.ssh/config has ForwardArgent or ForwardX11, and try to remove those options
from wsl.
Related Issues (20)
- WSL2 is outdated on Windows 11's Release Preview Channel HOT 4
- MPV playback fails on WSL with various audio and video errors HOT 3
- wsl2的ipv6无法访问 HOT 4
- WSL spawns an extra shell process HOT 8
- page allocation failure, Wsl/Service/0x8007274c HOT 1
- segmentation fault when launching python in conda HOT 4
- Unable to use macvlan on Ubuntu created with WSL2 HOT 3
- Enables mac address spoofing for WSL HOT 2
- Can't install any distribution on WSL2 on Windows 11 Pro HOT 7
- WSL2 corrupts the git index on a mounted file system HOT 16
- Docker service running in wsl accessible on LAN but not host HOT 4
- apt dist-upgrade is too slow - kali linux - WSL 2 HOT 4
- When connecting via SSH on Windows, I am unable to run WSL. HOT 2
- "WSL Service" service changes to disabled within 60 seconds of a reboot HOT 8
- HTTPS doesn't work under mirrored network mode. HOT 5
- Since update to windows 24H2 Error code: Wsl/Service/CreateInstance/0xd0000022 HOT 2
- apt dist-upgrade is stop - kali linux - WSL 2 HOT 14
- Add a neutral networkingMode in C:\Users\user\.wslconfig HOT 5
- Error Code: 0x80004005 HOT 4
- Error Code 0x80370114 - docker stopped working, ubuntu stuck on installing state ... HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.