From: Jeff King <peff@peff.net>
To: Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
Cc: Junio C Hamano <gitster@pobox.com>,
Shawn Pearce <spearce@spearce.org>,
Git Mailing List <git@vger.kernel.org>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: pack-object poor performance (with large number of objects?)
Date: Tue, 4 Oct 2011 07:07:02 -0400 [thread overview]
Message-ID: <20111004110702.GA18599@sigill.intra.peff.net> (raw)
In-Reply-To: <CAA01CsoSTsBLNcbv5o6Jx6YrjG4g8T=yodX811ymBLXg7sjDJQ@mail.gmail.com>
On Tue, Oct 04, 2011 at 09:59:08AM +0200, Piotr Krukowiecki wrote:
> I've run the command and it took about 20 minutes in "Counting
> objects" to count up to 500000 on idle machine and there's still 700MB
> RAM free.
> [...]
> So it looks it's not a problem with git but rather with my disk/file
> system/linux...
You mentioned that git was in the 'D' state earlier. And it sounds like
you have 1.7 million objects, _completely_ unpacked.
So my guess is that it is simply taking an enormous amount of disk
space, and git is mostly waiting on the disk to read in files. What does
"du -sh .git/objects" say?
-Peff
next prev parent reply other threads:[~2011-10-04 11:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-03 14:43 pack-object poor performance (with large number of objects?) Piotr Krukowiecki
2011-10-03 16:05 ` Shawn Pearce
2011-10-03 17:17 ` Piotr Krukowiecki
2011-10-03 19:34 ` Junio C Hamano
2011-10-04 7:59 ` Piotr Krukowiecki
2011-10-04 11:07 ` Jeff King [this message]
2011-10-04 12:22 ` Piotr Krukowiecki
2011-10-04 12:45 ` Jeff King
2011-10-04 13:21 ` Piotr Krukowiecki
2011-10-04 18:08 ` Jeff King
2011-10-05 8:48 ` Piotr Krukowiecki
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=20111004110702.GA18599@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=mingo@elte.hu \
--cc=piotr.krukowiecki@gmail.com \
--cc=spearce@spearce.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).