• Opisek@lemmy.world
    link
    fedilink
    arrow-up
    25
    ·
    11 months ago

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

    • gornius@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      11 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.

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      11 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
        arrow-up
        9
        ·
        11 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.