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

Re: Inexplicably deteriorating performance of Git repositories on Windows

From
Dun Peal <dunpealer@gmail.com>
Date
Nov 24, 2010, 20:10 UTC
Message-ID
<AANLkTim9hvekD0VmYdM2YfyGCqPe71yHv9PxsvnbNnR0@mail.gmail.com>
In-Reply-To
<4CECF837.1080404@op5.se>
On Wed, Nov 24, 2010 at 11:34 AM, Andreas Ericsson <ae@op5.se> wrote:
> How many refs (tags and branches) do you have?

We have about 15 branches, but thousands of tags (we tag each release, and we make those often). However, I'm not sure how that could make `git status` slow, since it shouldn't care about tags at all?

> Are the refs packed or loose?
Packed.
> If they are loose, does packing them resolve the issue?
> Are you using network-mounted or local storage?

Local storage on all workstations. One machine with those performance issues actually utilizes an incredibly fast, cutting edge SSD. It's twice as fast as the other slow machine, but 8s for `git status` is still slow.

> What does the .git/config file look like for a user where git status
> is excruciatingly slow?

It's the normal .git/config you get by default on Git 1.7.x when cloning from a remote. I can paste it if you want, but doubt it will interest anyone: we didn't modify it.

> Does copying the config file from a windows user to a linux user make
> timings somewhat consistent between various systems?
No.
> Do older version of git perform as poorly?
Yes.
> How is the repository laid out (ie, are there any directories with
> a ton of files in, or are they spread across multiple directories)?
Generally spread across multiple directories.
> How many .gitignore files are you using, and what do they look like?
We're using 25 of those,
>> However, after a reboot (of all things), `git status` latency
>> skyrockets to 14-15s, making the repo unusable.
> That's just plain weird, and is almost certainly a system issue.

Yes, it's weird. I'm not sure it's a "system" issue since we're seeing it across a diverse set of Windows systems: Vista, Windows 7, pretty sure I saw XP as well, different hardware and software setups (different programs installed and running).

.D
Previous: Andreas EricssonNext: Nguyen Thai Ngoc Duy
Message 18 of 21 in “Inexplicably deteriorating performance of Git repositories on Windows”
  1. Dun PealNov 23, 2010
  2. Wilbert van DolleweerdNov 23, 2010
  3. Dun PealNov 23, 2010
  4. Wilbert van DolleweerdNov 23, 2010
  5. Stephen BashNov 23, 2010
  6. Dun PealNov 23, 2010
  7. Tay Ray ChuanNov 24, 2010
  8. Joshua JensenNov 24, 2010
  9. Dun PealNov 24, 2010
  10. A Large Angry SCMNov 24, 2010
  11. Johannes SixtNov 24, 2010
  12. Dun PealNov 24, 2010
  13. Martin LanghoffNov 23, 2010
  14. Dun PealNov 23, 2010
  15. Ferry HubertsNov 23, 2010
  16. Dun PealNov 23, 2010
  17. Andreas EricssonNov 24, 2010
  18. Dun PealNov 24, 2010
  19. Nguyen Thai Ngoc DuyNov 24, 2010
  20. Dun PealNov 24, 2010
  21. Robin RosenbergNov 28, 2010

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.