git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: git hangs with --separate-git-dir

From
TCTim Walter (Visual Concepts) <twalter@vcentertainment.com>
Date
May 17, 2023, 16:31 UTC
Message-ID
<BY5PR14MB365494C9907D93F7C568710DA57E9@BY5PR14MB3654.namprd14.prod.outlook.com>
In-Reply-To
<CA+JQ7M8CgqKxMRrR2TTKHLbBsiUbdQs=N_bN=Uv7d9OqbTbXLw@mail.gmail.com>

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@cervined.in> 
Sent: Wednesday, May 17, 2023 12:12 AM
To: brian m. carlson <sandals@crustytoothpaste.net>; Tim Walter (Visual Concepts) <twalter@vcentertainment.com>; git@vger.kernel.org
Subject: Re: git hangs with --separate-git-dir
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://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)

Previous: Erik Cervin Edin
Message 6 of 6 in “git hangs with --separate-git-dir”
  1. Tim Walter (Visual Concepts)May 16, 2023
  2. brian m. carlsonMay 16, 2023
  3. Tim Walter (Visual Concepts)May 16, 2023
  4. brian m. carlsonMay 17, 2023
  5. Erik Cervin EdinMay 17, 2023
  6. Tim Walter (Visual Concepts)May 17, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.