Ok Thanks Erik, I don't think I'll be able to get our security team to let me uninstall the anti-virus software. I'm going to just create the repo without --separate-git-dir and then move it after Which does work. As you said, git is not a system level driver etc, so it must be in some other driver. Could be anything. -----Original Message----- From: Erik Cervin Edin <erik@xxxxxxxxxxx> Sent: Wednesday, May 17, 2023 12:12 AM To: brian m. carlson <sandals@xxxxxxxxxxxxxxxxxxxx>; Tim Walter (Visual Concepts) <twalter@xxxxxxxxxxxxxxxxxxx>; git@xxxxxxxxxxxxxxx Subject: Re: git hangs with --separate-git-dir On Wed, May 17, 2023 at 12:24 AM Tim Walter (Visual Concepts) <twalter@xxxxxxxxxxxxxxxxxxx> wrote: > > 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://urldefense.proofpoint.com/v2/url?u=https-3A__learn.microsoft.com_en-2Dus_sysinternals_downloads_procmon&d=DwIFaQ&c=RKDswobrOGdp5vDCbl5XjxW8HqrsRSr80dGTvu3rE9Q&r=lgWugODVl_2jeaOcjK2bD5oXKuwC73DWE5o6RZdQlHI&m=AwjvVhBZKWaxRU7lXn3bc6W20k2WAhdJarbxIl2bm-tOoU9Ygcd137hEqlAcCcBz&s=a0fvR1gPsaxSHO_LLXUxWCuMNPlrqSuhpZNExpr9q7A&e= I've used that successfully in the past to figure out the source of unexplained performance problems (spoiler: it was privilege management)