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

Reporting reused packfile objects

From
JRJames Ramsay <james@jramsay.com.au>
Date
Jul 26, 2019, 18:10 UTC
Message-ID
<3E56B0FD-EBE8-4057-A93A-16EBB09FBCE0@jramsay.com.au>

While investigating improvements to clone performance at GitLab we've been looking at how to trigger packfile reuse during clones. A challenge of the investigation and a future challenge of rolling out changes to encourage more frequent packfile reuse is knowing when packfile reuse kicks in and the extent of the reuse.

I notice that GitHub outputs 'pack-reused' statistics when fetching. I assume this is for similar reasons.

Would there be interest in including a reused packfile objects statistic in the output of upload-pack?

I'm happy to contribute a patch (it is quite a small change), but it might be more efficient to upstream the patch that GitHub appears to already be running in production. Peff, what do you think?

Thanks, James

Next: Jeff King
Message 1 of 2 in “Reporting reused packfile objects”
  1. James RamsayJul 26, 2019
  2. Jeff KingJul 28, 2019

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.