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

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

From
Jeff King <peff@peff.net>
Date
Mar 20, 2014, 23:48 UTC
Message-ID
<20140320234859.GD7774@sigill.intra.peff.net>
In-Reply-To
<1395232712-6412-1-git-send-email-dak@gnu.org>
On Wed, Mar 19, 2014 at 01:38:32PM +0100, David Kastrup wrote:
> The default of 16MiB causes serious thrashing for large delta chains
> combined with large files.

Does it make much sense to bump this without also bumping MAX_DELTA_CACHE in sha1_file.c? In my measurements of linux.git, bumping the memory limit did not help much without also bumping the number of slots.

I guess that just bumping the memory limit would help with repos which have deltas on large-ish files (whereas the kernel just has a lot of deltas on a lot of little directories), but I'd be curious how much.

If you have before-and-after numbers for just this patch on some repository, that would be an interesting thing to put in the commit message.

-Peff
Previous: David KastrupNext: David Kastrup
Message 12 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.