Re: git hangs with --separate-git-dir
- From
- Erik Cervin Edin <erik@cervined.in>
- Date
- May 17, 2023, 07:11 UTC
- Message-ID
- <CA+JQ7M8CgqKxMRrR2TTKHLbBsiUbdQs=N_bN=Uv7d9OqbTbXLw@mail.gmail.com>
- In-Reply-To
- <ZGQr03G/9swNcHt0@tapette.crustytoothpaste.net>
On Wed, May 17, 2023 at 12:24 AM Tim Walter (Visual Concepts) <twalter@vcentertainment.com> wrote:
Show 7 quoted lines
> > it's SSD, actually NVme, and the PC is 128GB ram 64 core very fast. > Both drives are local SSD drives, the working directory on D: and the repo on F:. > the 3 hour thing is not a problem as such (it's a little frustrating that git is single threaded, but regardless, this is not the issue I am concerned with) > it's only 3 hours once, on the very first git add when I create the repo > I can live with that, I was just giving context. >
I've worked on large repos (100k+ files) and 3 hours sounds unreasonable to me. That's what, 27.7 mb/s? My guess would probably also be anti-virus or some privilege management type software.
Maybe try using procmon while you init and monitor all the processes to get a better understanding of what could be the problem https://learn.microsoft.com/en-us/sysinternals/downloads/procmon I've used that successfully in the past to figure out the source of unexplained performance problems (spoiler: it was privilege management)