3 ms·
That's probably the NTFS MFT rather than the actual runtime. Git plops lots of small files on the disk which end up in the MFT. The MFT is really slow. We have
by wumbernang 11y ago
That's probably the NTFS MFT rather than the actual runtime. Git plops lots of small files on the disk which end up in the MFT. The MFT is really slow. We have the same trouble with SVN.
You can tune this a bit with fsutil and turn off last access time, 8dot3 filenames and change mftzone size and it'll be significantly faster.
ReFS is a little better in this respect. I suspect this was a hang-back from early NT versions which were tuned to larger binary blobs as a normal file statistic rather than lots of small text files.
- beagle3 11y agoVery interesting. Do you have a pointer to some deeper info about the required NTFS tuning? e.g. specific MFT size recommendations, and possibly other changes?
- wumbernang 11y agohttp://www.ntfs.com/ntfs_optimization.htm http://www.ntfs.com/ntfs_optimization.htm Old but good. fsutil wraps all the registry poking for reference.
- nanny 11y agoThanks so much for this, I was always curious why git's so slow on Windows.