Skip to content

interop: slow startup times if executable is placed on linux filesystem #7591

@tobiaskohlbau

Description

@tobiaskohlbau

Version

Microsoft Windows [Version 10.0.22483.1000]

WSL Version

  • WSL 2
  • WSL 1

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

@kaeltis comment got me experimenting and uncovered the simplest of solutions: Copy wsl2-ssh-pageant.exe to your Windows user home directory and run it from there. Now the response time is blazing fast again - under 200ms.

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions