All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Fick <mfick@codeaurora.org>
To: git@vger.kernel.org
Subject: Garbage collection creates many unpacked objects.
Date: Mon, 10 Oct 2011 17:30:42 -0600	[thread overview]
Message-ID: <201110101730.43302.mfick@codeaurora.org> (raw)

If I clone linus' kernel, delete all the tags, and then run 
git gc, it ends up expanding into about 5K of unpacked 
objects.  The .git size goes from 473M to 511M.  This seems 
a bit strange no?  Shouldn't gcing yield a smaller repo an 
fewer unpacked refs?

If I do this on our internal kernel repo (which has 2Ktags), 
it gets much more pathological, it expands to about 1M 
objects and grows to about 7G!!!

This seems to happen with all versions which I tested, 
1.6.0, 1.7.6 and 1.7.7

Any thoughts?

-Martin

-- 
Employee of Qualcomm Innovation Center, Inc. which is a 
member of Code Aurora Forum

             reply	other threads:[~2011-10-10 23:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 23:30 Martin Fick [this message]
2011-10-10 23:49 ` Garbage collection creates many unpacked objects Shawn Pearce

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201110101730.43302.mfick@codeaurora.org \
    --to=mfick@codeaurora.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.