News for hackers. Stuff that matters.
Re:A Look into CBL-Mariner, Microsoft’s Internal Linux Distr... by dboreham on Sunday July 11, 2021 @10:42PM (#27806382)
NTFS is a more sophisticated files filesystem but it has a worse performance under certain workloads, specifically the workload underneath `yarn install`
Re:A Look into CBL-Mariner, Microsoft’s Internal Linux Distr... by trevorishere on Monday July 12, 2021 @12:41AM (#27807110)
That'll be due to the file system filter driver[s] (i.e. antivirus). This should impact most/all file systems where the file system filter driver supports said file system.

Disable/remove the file system filter drivers and the performance issues largely disappear.

Re:A Look into CBL-Mariner, Microsoft’s Internal Linux Distr... by marmaduke on Monday July 12, 2021 @01:32AM (#27807357)
On current pro versions, you can’t really disable the live protection constantly, but you can add a permanent exclusion for your home folder or the whole drive. This should greatly speed up operations like that. Still a lot faster to do them inside a Docker container/volume on the same Windows host.
Re:A Look into CBL-Mariner, Microsoft’s Internal Linux Distr... by munchbunny on Monday July 12, 2021 @09:00AM (#27809784)
Also Docker and installing applications that have lots of small files.

In general NTFS doesn’t do well with lots of small files because opening files is expensive compared to ext4 (dramatic oversimplification). This shows up in random places where very little actual file reading/writing is happening for each file, like yarn, docker, installing video games, etc.