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
DHDana How <danahow@gmail.com>
Date
May 2, 2007, 18:55 UTC
Message-ID
<56b7f5510705021155k40b576d6ke286e65494fc8b05@mail.gmail.com>
In-Reply-To
<7vk5vr3w8n.fsf@assigned-by-dhcp.cox.net>
On 5/2/07, Junio C Hamano <junkio@cox.net> wrote:
Show 18 quoted lines
> Dana How <danahow@gmail.com> writes:
> > 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.
OK, but this patch doesn't mandate any particular setting.
Its motivation in my work environment is for pack.compression
to be what core.compression currently is,  and to set
core.compression to 0 to speed up large commits
(the resulting space-inefficient loose objects will be scrubbed away
 by a later off-line repack).
Thus,  my config settings (almost) change the gzip's behind a git-add to cp's.
Do you want me to submit timings for a git-add/git-commit -a
on a typical 50-file commit I would be interested in,
with the (new) settings that I would use?
Thanks,
-- 
Dana L. How  danahow@gmail.com  +1 650 804 5991 cell
Previous: Junio C HamanoNext: Dana How
Message 3 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.