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

Re: Performance regression in connectivity check during receive-pack (git 2.54)

From
Jeff King <peff@peff.net>
Date
Jul 23, 2026, 10:49 UTC
Message-ID
<20260723104943.GC604358@coredump.intra.peff.net>
In-Reply-To
<xmqqh5lrrplt.fsf@gitster.g>
On Wed, Jul 22, 2026 at 08:49:50AM -0700, Junio C Hamano wrote:
Show 10 quoted lines
> I suspect several of those 'transactions' are actually misspelt
> 'temporary directories', but I catch your drift.  That said, a
> redesign like that feels more or less independent of the fix for our
> immediate performance regression.
> 
> After all, didn't Peff show us a case where no odb sources were
> being flipped in the middle?  Simply setting up one object store to
> borrow from another via the alternates mechanism demonstrated that
> checking packs across all object stores before hunting for loose
> objects in any of them makes a world of difference.

Yeah, exactly. This is really a regression in alternates performance, but it just so happens that the quarantine system is built on top of alternates so we noticed it there.

I'd expect "clone -s / --reference" to have similar problems, and also for sites like GitHub and GitLab that make heavy use of alternates for object sharing between forks. And those would pay the penalty on just about every operation (because we'd expect the alternate to be holding most of the objects in those cases).

-Peff
Previous: Junio C HamanoNext: Patrick Steinhardt
Message 7 of 13 in “Performance regression in connectivity check during receive-pack (git 2.54)”
  1. Wolfgang KritzingerJul 21, 2026
  2. Jeff KingJul 21, 2026
  3. Taylor BlauJul 21, 2026
  4. Junio C HamanoJul 21, 2026
  5. Patrick SteinhardtJul 22, 2026
  6. Junio C HamanoJul 22, 2026
  7. Jeff KingJul 23, 2026
  8. Patrick SteinhardtJul 24, 2026
  9. Jeff KingJul 26, 2026
  10. Justin ToblerJul 27, 2026
  11. Patrick SteinhardtAug 4, 2026
  12. Jeff KingJul 23, 2026
  13. Jeff KingJul 23, 2026

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.