4 ms·
I have a Zen 2 Threadripper box that I dual boot (it's a workstation for coding that I sometimes play games on), and I can confirm. I don't know what the exact
by codeflo 3y ago
I have a Zen 2 Threadripper box that I dual boot (it's a workstation for coding that I sometimes play games on), and I can confirm. I don't know what the exact technical reason is or why nobody in Redmond is embarrassed. But anything relating to the filesystem is simply dog-slow on Windows, and the more high-end your system is, the more this becomes the major bottleneck.
- juujian 3y agoThe day I realized I could find files by file extension just like that in less than seconds from the terminal or nautilus changed my life.
- dboreham 3y agoIt's because the NT filesystem is optimized for a different workload. This is why WSL2 (which you should be using) uses ext4 (that's the default with an Ubuntu distro, at least).
- whalesalad 3y ago> the NT filesystem is optimized for a different workload a different workload than browsing files in explorer?
- formerly_proven 3y agoTWUP (Transactional Windows Update Processing)
- whalesalad 3y agoLOL had me fooled for a minute there. oh wait maybe this isn't a joke? https://en.wikipedia.org/wiki/Transactional_NTFS https://en.wikipedia.org/wiki/Transactional_NTFS
- deleted 3y ago[deleted]
- hu3 3y agoI blame Windows Defender (anti-virus). It's the first thing I disable whenever I want to do some serious disk I/O. Also Windows still uses NTFS which dates back to 2000. For compatibility reasons, fair enough. But surely NTFS wasn't designed with SSDs in mind, let alone NVMEs.
- thomastjeffery 3y agoNTFS has had several updates over the years, and supports trim just fine. Of course, that doesn't make it comparable to ext4 or zfs or whatever, but I wouldn't expect it to be the worst bottleneck in the system.
- hu3 3y agoSome updates, but it's still old. There is only so much you can do while still maintaining Microsoft's legendary backwards compatibility. For example I'm running Windows 11 Pro on this machine with a brand new NVME. "fsutil.exe fsinfo ntfsinfo c:" tells me [0] I'm running NTFS v3.1 which was released 22 years ago [1]. [0] https://i.imgur.com/VcXNO4P.png https://i.imgur.com/VcXNO4P.png [1] https://en.wikipedia.org/wiki/NTFS https://en.wikipedia.org/wiki/NTFS
- thomastjeffery 3y ago> There is only so much you can do while still maintaining Microsoft's legendary backwards compatibility. ...like adding support for more filesystems. I'm curious about what (and when) other parts of the IO stack have been updated. Something has to have changed to add trim support: I'm guessing the scheduler.
- hu3 3y agoIndeed. It's impressive how they managed to extend it. Wikipedia provides some hints: > Although subsequent versions of Windows added new file system-related features, they did not change NTFS itself. For example, Windows Vista implemented NTFS symbolic links, Transactional NTFS, partition shrinking, and self-healing.[21] NTFS symbolic links are a new feature in the file system; all the others are new operating system features that make use of NTFS features already in place. If I had to guess, most of these new functionalities leverage NTFS metadata: https://ntfs.com/ntfs-system-files.htm https://ntfs.com/ntfs-system-files.htm
- neurostimulant 3y agoIIRC there is a filesystem filter on windows where various apps like antivirus hook themselves, which was why filesystem access under WSL1 actually faster than windows.
- whalesalad 3y agoIsn’t this hilarious? In order to achieve high performance on windows you need to access your file system via a virtual machine. Typically it’s the other way around.