• @Opisek
    link
    2511 months ago

    WSL’s performance is drastically better when you don’t save your files on Windows’ filesystem.

    • @gornius
      link
      811 months ago

      That is because windows filesystem is mounted to WSL through NFS and while transferring large files through that is ok, transferring huge amounts of small files is really slow.

      • Redjard
        link
        fedilink
        511 months ago

        Windows has dead slow file operations natively. Like orders of magnitude slower.

    • Ephera
      link
      fedilink
      511 months ago

      Hmm, that would fit the pattern, as it sometimes also got stuck on just downloading things, even when the DNS config hadn’t been reset.

      Do you need to partition the disk then, to place ext4 or similar into a separate partition? I’m not sure, we can partition the disk in that corporate Windows setup our company uses…

      • @[email protected]
        link
        fedilink
        911 months ago

        Look up the difference between WSL1 and WSL2. If you’re using 2 just make sure you’re writing into /anything other than /mnt/driveletter, that should be ext4. For 1 it’s directly mounted on the ntfs filesystem and you’ll always have performance problems.