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

Re: [PATCH v2] Bump core.deltaBaseCacheLimit to 128MiB

From
David Kastrup <dak@gnu.org>
Date
Mar 21, 2014, 06:04 UTC
Message-ID
<87y504ccke.fsf@fencepost.gnu.org>
In-Reply-To
<xmqqob10wlac.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 17 quoted lines
> David Kastrup <dak@gnu.org> writes:
>
>> Junio C Hamano <gitster@pobox.com> writes:
>>
>>> Duy Nguyen <pclouds@gmail.com> writes:
>>>
>>>> The only
>>>> downside I see is large blobs will be packed  undeltified, which could
>>>> increase pack size if you have lots of them.
>>>
>>> I think that is something that can be tweaked, unless the user tells
>>> us otherwise via command line override, when running the improved
>>> "gc --aggressive" ;-)
>>
>> deltaBaseCacheLimit is used for unpacking, not for packing.
>
> Hmm, doesn't packing need to read existing data?

Judging from the frequent out-of-memory conditions of git gc --aggressive, packing is not restrained by deltaBaseCacheLimit.

-- 
David Kastrup
Previous: Junio C HamanoNext: Duy Nguyen
Message 9 of 14 in “Bump core.deltaBaseCacheLimit to 128MiB”
  1. Bump core.deltaBaseCacheLimit to 128MiBDavid Kastrup, Mar 19, 2014
  2. Junio C HamanoMar 19, 2014
  3. David KastrupMar 19, 2014
  4. Junio C HamanoMar 19, 2014
  5. Duy NguyenMar 20, 2014
  6. Junio C HamanoMar 20, 2014
  7. David KastrupMar 20, 2014
  8. Junio C HamanoMar 20, 2014
  9. David KastrupMar 21, 2014
  10. Duy NguyenMar 21, 2014
  11. David KastrupMar 21, 2014
  12. Jeff KingMar 20, 2014
  13. David KastrupMar 21, 2014
  14. David KastrupMar 21, 2014

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.