• @Opisek@lemmy.world
    link
    fedilink
    2410 months ago

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

    • @gornius@lemmy.world
      link
      fedilink
      810 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
        510 months ago

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

    • Ephera
      link
      fedilink
      510 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…

      • @Exec@pawb.social
        link
        fedilink
        810 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.