this post was submitted on 21 Jan 2024
232 points (95.0% liked)

linuxmemes

20880 readers
6 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 10 months ago (2 children)

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

[–] [email protected] 8 points 10 months ago (1 children)

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.

[–] [email protected] 5 points 10 months ago

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

[–] [email protected] 5 points 10 months ago (1 children)

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] 9 points 10 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.