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

Re: [RFD/PATCH] Implement pack.compression and pack-objects --compression=N

From
Junio C Hamano <junkio@cox.net>
Date
May 2, 2007, 18:40 UTC
Message-ID
<7vk5vr3w8n.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<463802ED.1080200@gmail.com>
Dana How <danahow@gmail.com> writes:
Show 10 quoted lines
> Consequently,  for such a usage pattern it is useful
> to specify different compression levels for loose
> objects and packs.  This patch implements a config
> variable pack.compression in addition to the existing
> core.compression,  meant to be used for repacking.
> It also adds --compression=N to pack-objects,
> meant for push/pull/fetch,  if different,  or if different
> on a per-repository basis.
>
> ** THIS PATCH IS UNTESTED AND MEANT FOR DISCUSSION. **

I think we tweaked this area in the past, but I do not think the current setting was determined to be the best tradeoff for all workloads. To be able to discuss the patch, I think it needs to come with benchmark numbers using publicly available repositories as guinea pigs and set of typical git operations, so people can reproduce and compare notes.

Previous: Dana HowNext: Dana How
Message 2 of 11 in “Implement pack.compression and pack-objects --compression=N”
  1. Implement pack.compression and pack-objects --compression=NDana How, May 2, 2007
  2. Junio C HamanoMay 2, 2007
  3. Dana HowMay 2, 2007
  4. Dana HowMay 2, 2007
  5. Junio C HamanoMay 4, 2007
  6. Dana HowMay 4, 2007
  7. Nicolas PitreMay 4, 2007
  8. Dana HowMay 4, 2007
  9. Nicolas PitreMay 4, 2007
  10. Dana HowMay 4, 2007
  11. Nicolas PitreMay 4, 2007

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.