News for hackers. Stuff that matters.
Re:A Look into CBL-Mariner, Microsoft’s Internal Linux Distr... by josephg on Sunday July 11, 2021 @10:26PM (#27806292)
I understand a lot of the benefits of ZFS and Powershell. But whats wrong with NTFS? Can you talk a little about the relative strengths of NTFS vs EXT4?
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.

Re:A Look into CBL-Mariner, Microsoft’s Internal Linux Distr... by mdaniel on Monday July 12, 2021 @01:49PM (#27813027)
NTFS also has a 260 character path limit [0], which as the sibling comment says can really jam up node_modules and the current HEAD of the intellij-community repo which currently has some giant filename in a subdirectory of its repo

I'm aware of their claim about using Group Policy to remove the limit but I've never used GP in order to know its sharp edges for my gaming computer

0: https://docs.microsoft.com/en-us/windows/win32/fileio/naming...

Re:A Look into CBL-Mariner, Microsoft’s Internal Linux Distr... by trevorishere on Wednesday July 14, 2021 @07:00AM (#27831719)
NTFS has never had a limit of other than 32K. MAX_PATH limited 260 characters for the Win32 API (among others). It has always been possible to bypass the 260 character limit, though obviously most applications wouldn't work with a file that exceeded the system-defined MAX_PATH value.

Office does its own thing and doesn't leverage MAX_PATH. No idea why.