Re: pack-object poor performance (with large number of objects?)
- From
Jeff King <peff@peff.net>
- Date
- Oct 4, 2011, 12:45 UTC
- Message-ID
- <20111004124502.GB30162@sigill.intra.peff.net>
- In-Reply-To
- <CAA01CsodyUQJOnj5vV0LdVEWpkvwSW2TAONzyY9J82o9VwC6Ag@mail.gmail.com>
On Tue, Oct 04, 2011 at 02:22:55PM +0200, Piotr Krukowiecki wrote:
Show 6 quoted lines
> > 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? > > It isn't that big - it's 11G. > .git/objects/pack/ is 666MB currently.
But you have 4G of RAM, no? So depending on the access patterns, you are thrashing your disk cache and always pulling each object straight from disk.
-Peff