You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is anyone experiencing slowness issues on Windows 11?
I'm using this from WSL2 to connect to the OpenSSH Agent, like so
# KeepassXC as SSH agentexport SSH_AUTH_SOCK=$HOME/.ssh/agent.sock
ss -a | grep -q $SSH_AUTH_SOCKif [ $?-ne 0 ];then
rm -f $SSH_AUTH_SOCK
(setsid socat UNIX-LISTEN:$SSH_AUTH_SOCK,fork EXEC:"$HOME/npiperelay/npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork &) >/dev/null 2>&1fi
And it works, but it takes about 25-30 seconds for any SSH or Git-over-SSH operations.
I even tried a straight up, direct call to it.
time$HOME/npiperelay/npiperelay.exe --help
And that took 25 seconds. Everything else in the WSL2 is fast, no slowdowns that I can see, so I think it's just this npiperelay. I've tried building it via go, and also getting it from the Releases of this repo, same problem.
I'm not famliar with ss, or socat or nipiperelay so I'm not sure how to troubleshoot this or figure out what's going wrong.
The text was updated successfully, but these errors were encountered:
Have you followed the instructions to put the binary in the Windows file system with a soft-link from Linux? I too observed a delay of a few seconds when I tried to run it in the Linux file system, but that's Windows 10 so it might be different.
Thank you so much! You're right, that made a huge difference. And the README even calls me out on it 😀
You may be tempted to just put the real binary directly into /usr/local/bin, but this will not work because Windows currently cannot run binaries that exist in the Linux namespace -- they have to reside somewhere under the Windows portion of the file system.
So it was working for me somehow, fine in Win10, but very slowly in Win11. As a test, I moved the .exe to C:/Temp and created a symlink,
Is anyone experiencing slowness issues on Windows 11?
I'm using this from WSL2 to connect to the OpenSSH Agent, like so
And it works, but it takes about 25-30 seconds for any SSH or Git-over-SSH operations.
I even tried a straight up, direct call to it.
And that took 25 seconds. Everything else in the WSL2 is fast, no slowdowns that I can see, so I think it's just this npiperelay. I've tried building it via go, and also getting it from the Releases of this repo, same problem.
I'm not famliar with ss, or socat or nipiperelay so I'm not sure how to troubleshoot this or figure out what's going wrong.
The text was updated successfully, but these errors were encountered: