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

Re: Draft release notes for v1.5.3, as of -rc1

From
Brian Downing <bdowning@lavos.net>
Date
Jul 13, 2007, 13:50 UTC
Message-ID
<20070713135034.GK19073@lavos.net>
In-Reply-To
<7vlkdkq00o.fsf_-_@assigned-by-dhcp.cox.net>
On Thu, Jul 12, 2007 at 11:40:39PM -0700, Junio C Hamano wrote:
> GIT v1.5.3 Release Notes (draft)
> ========================
> 
> * New commands and options.
  - "git repack" learned a "window-memory" limit which dynamically
    reduces the window size to stay within the specified memory usage.

"git-repack -a -d -f --window=100000 --window-memory=512m" seems to be good for those overnight make-it-smaller-damn-the-torpedoes archival repackings. (You can't just set --window to BIGNUM as it still allocates an array of that size.) Thanks to Nicolas Pitre's depth bias patch a high --depth doesn't seem to be quite as critical anymore to save space; it still helps, but things much much better at a lower depth.

As a point of reference, it took around two hours to repack a repository containing 108,440 objects, around 35,000 files (most with no history), and my aforementioned troublesome 20MB RTF file (which uses about 60MB per revision when sitting in the window due to the delta index cache) with the above command. This is on a 2GHz Core 2 Duo in 64-bit mode.

-bcd
Previous: Johannes SchindelinNext: Junio C Hamano
Message 20 of 34 in “What's in git.git (stable)”
  1. Junio C HamanoMay 13, 2007
  2. Junio C HamanoMay 17, 2007
  3. Junio C HamanoMay 19, 2007
  4. Junio C HamanoMay 23, 2007
  5. Junio C HamanoMay 29, 2007
  6. Junio C HamanoJun 2, 2007
  7. Junio C HamanoJun 7, 2007
  8. Junio C HamanoJun 13, 2007
  9. Johannes SchindelinJun 13, 2007
  10. Johannes SixtJun 14, 2007
  11. Junio C HamanoJun 21, 2007
  12. Junio C HamanoJun 25, 2007
  13. Junio C HamanoJul 2, 2007
  14. What's in git.gitJunio C Hamano, Jul 13, 2007
  15. Draft release notes for v1.5.3, as of -rc1Junio C Hamano, Jul 13, 2007
  16. Sven VerdoolaegeJul 13, 2007
  17. Johannes SchindelinJul 14, 2007
  18. Junio C HamanoJul 14, 2007
  19. Johannes SchindelinJul 15, 2007
  20. Brian DowningJul 13, 2007
  21. Junio C HamanoJul 13, 2007
  22. Junio C HamanoJul 28, 2007
  23. David KastrupJul 28, 2007
  24. Junio C HamanoJul 28, 2007
  25. David KastrupJul 28, 2007
  26. Theodore TsoJul 29, 2007
  27. David KastrupJul 29, 2007
  28. Theodore TsoJul 29, 2007
  29. Johannes SchindelinJul 29, 2007
  30. [Untested! proposal] git-mergetool.sh: introduce ediff optionDavid Kastrup, Jul 29, 2007
  31. Theodore TsoJul 29, 2007
  32. David KastrupJul 29, 2007
  33. Thomas GlanzmannJul 28, 2007
  34. Junio C HamanoAug 7, 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.