diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-04-15 17:36:14 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-16 13:52:29 +0900 |
commit | ae4e89e549b76b561a1c384dd7314c9b671c22bc (patch) | |
tree | 60df0a8ae7e4eaa21e2f9c815bc7fd96cb1d6efa /Documentation/RelNotes/1.5.4.1.txt | |
parent | repack: add --keep-pack option (diff) | |
download | tgif-ae4e89e549b76b561a1c384dd7314c9b671c22bc.tar.xz |
gc: add --keep-largest-pack option
This adds a new repack mode that combines everything into a secondary
pack, leaving the largest pack alone.
This could help reduce memory pressure. On linux-2.6.git, valgrind
massif reports 1.6GB heap in "pack all" case, and 535MB in "pack
all except the base pack" case. We save roughly 1GB memory by
excluding the base pack.
This should also lower I/O because we don't have to rewrite a giant
pack every time (e.g. for linux-2.6.git that's a 1.4GB pack file)..
PS. The use of string_list here seems overkill, but we'll need it in
the next patch...
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.5.4.1.txt')
0 files changed, 0 insertions, 0 deletions