Re: Inexplicably deteriorating performance of Git repositories on Windows
From: Robin Rosenberg <hidden>
Date: 2016-06-15 22:50:07
23 nov 2010 kl. 20:08 skrev Dun Peal:
Hey, We have a bunch of Windows users, unfortunately, and they're using the latest msysGit release (Git-1.7.3.1-preview20101002). An interesting issue we've noticed is that the Time To Complete of their common operations start deteriorating inexplicably, and severely, some time after the clone. For instance, immediately after a clone, `git status` takes about 5-6s. Which is slow compared to Linux (consistent 1-2s), but still usable (it's a BIG repo). However, after a reboot (of all things), `git status` latency skyrockets to 14-15s, making the repo unusable. Any idea what's going on? We just recently switched from SVN, and those users are getting really frustrated. BTW, the only real alternative I'm aware of, Cygwin's git, is even slower.
Is the file system badly fragmented? The worst kind is when the MFT is fragmented, which may give you very bad performance and the defrag that comes with Windows does not fix MFT fragmentation. Is NTFS compression enabled? I doubt its helpfulness with Git. -- robin