3 ms·
I've never had a problem with msysGit [1] [1] https://msysgit.github.io/ https://msysgit.github.io/
by ianlevesque 11y ago
I've never had a problem with msysGit [1]
[1] https://msysgit.github.io/ https://msysgit.github.io/
- greggman 11y agoCompare it to linux git, it's about 10-20x slower on same hardware
- wumbernang 11y agoThat'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.