-
Notifications
You must be signed in to change notification settings - Fork 822
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
interop: slow startup times if executable is placed on linux filesystem #7591
Comments
Pinging @benhillis as he identified the issue at #7521. I could assume that a similar change introduced by the store version was introduced earlier on in the windows 11 development cycle. Edit: It's also important that I for myself where never able to reproduce this issue on my machine. Therefore we're still searching for the commonality between the users reporting this to us. |
@tobiaskohlbau - do you have an indication of how much slower it is? I'd expect it to be a bit slower because this is going over the 9p server, but not a ton longer. I cannot reproduce this either, if your users can help narrow this down that would help make it more actionable. |
I've created a simple app which only finds the underlying pageant window:
One user executed it on it's windows path:
whereas put on the linux filesytem:
So we're roughly speaking of 23s vs 1.5s. Edit: I've asked the users reporting that issue to describe their setup in this issue. |
Windows 11 Pro v21H2 WSL Update v5.10.43 At one point, I had no issues running this on an Ubuntu install that was done months ago, even after patching to Win 11 and WSLg. Was having issues with resolv.conf being a jerk, so I wiped the install and started with a fresh install. That was where I started running into the issues with the wsl2-ssh-pageant check. This included runaway processes that would soak up the cpu until I force-killed WSL altogether. Let me know if there's anything more specific I could provide. |
Windows 11 Pro v21H2 WSL Kernel v5.10.43.3 I believe I've only encountered this on a fresh install of windows 11 / wsl but it's replicable across two different laptops (Intel and Ryzen) @tobiaskohlbau out of interest, were you able to replicate on a new distro install? |
I'm experiencing this also. I'm running Windows 11 Enterprise upgraded from Windows 10 Enterprise.
|
Clarify the install procedure for windows 11, This could "resolve" BlackReloaded#24 Once microsoft/WSL#7591 is fixed this could be reverted
I have the same issue Windows 11 Pro v21H2 WSL version: 0.50.2.0 I previously was running the wsl-ssh-pageant software from the Linux VM when using WSL in windows 10. Let me know if there's anything more specific I could provide. |
I still see the same issue and got here luckily by finding out about this from BlackReloaded/wsl2-ssh-pageant#29 Windows 11 Pro v22/H2 WSL: 1.2.5.0 I was copying over a WSL2 instance from my company laptop with Win10Pro before switching over to a new one and a workstation both with Win11 Pro. Worked OK but the SSH times were bugging me as they needed around 5-6s until my paegent-style agent popped up prompting for my key password. Switching the location for wsl2-ssh-pageant.exe from the old documented $HOME/.ssh/ location to the mounted NTFS filesystem reduced that lookup time from ~5.2s to ~0.25s Happy to supply more information to get that sorted out. |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Version
Microsoft Windows [Version 10.0.22483.1000]
WSL Version
Kernel Version
5.10.60.1-microsoft-standard-WSL2
Distro Version
Ubuntu 20.04
Other Software
wsl2-ssh-pageant
Repro Steps
Placing an windows executable on linux side and launching it like for e.g.
wsl2-ssh-pageant
results in a significant time delay. We've had multiple people report this issue over at BlackReloaded/wsl2-ssh-pageant#24. It looks/behaves pretty similar to #7521 which wasn't able to launch the executable at all. It's important that these users report the issue with Windows 11 without the store version.Expected Behavior
The speed should be the same not noticing a difference if the file is placed on windows filesystem or linux filesystem.
Actual Behavior
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: