Re: [PATCH] RFC: git lazy clone proof-of-concept

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 14 Feb 2008, Jakub Narebski wrote:

> Do you perchance know why OOo needs so large pack?

No.

> Perhaps you could try running contrib/stats/packinfo.pl on this pack to 
> examine it to get to know what takes most space.

$ ~/git/contrib/stats/packinfo.pl < \
objects/pack/pack-e4dc6da0a10888ec4345490575efc587b7523b45.pack 2>&1 | \
tee packinfo.txt
Illegal division by zero at /home/imaging/git/contrib/stats/packinfo.pl 
line 141, <STDIN> line 6330855.

> What is the size of checkout, by the way?

I work on a bare repository, but:

$ git archive origin/master | wc -c
2010060800

Or more precisely:

$ echo $(($(git ls-tree -l -r origin/master | sed -n 's/^[^ ]* [^ ]* [^ ]*  
*\([0-9]*\).*$/\1/p' | tr '\012' +)0))
1947839459

So yes, we still have the crown of the _whole_ repository being _smaller_ 
than a single checkout.

Yeah!

> Hmmm... I wonder if packv4 would help...

I could imagine that it does, what with it being so much better with 
strings.  But it would come at a price of performance, I guess, as the 
string table should be well over 64k.

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux