Re: cloning the kernel - why long time in "Resolving 313037 deltas"

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

 




On Mon, 18 Dec 2006, Randal L. Schwartz wrote:
> 
> In preparation for my git-talk tonight, I thought having a *big*
> archive would be nice, so I entered:
> 
>   git-clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> 
> The network traffic took about five minutes, resulting in:

No. That's just the preparatory work, not "the network traffic".

> 
>   % git-clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git           
>   Initialized empty Git repository in /Volumes/UFS/MIRROR/linus-GIT/linux-2.6/.git/
>   remote: Generating pack...
>   remote: Done counting 393554 objects.
>   remote: Deltifying 393554 objects.
>   remote:  100% (393554/393554) done
>   Indexing 393554 objects.
>   remote: Total 393554, written 393554 (delta 313037), reused 393392 (delta 312908)
>    100% (393554/393554) done

This is the REMOTE telling you that it has indexed the objects in the 
pack, but it hasn't actually _created_ the pack yet, it's just ready to 
start feeding it to you. It's just created the list of objects and their 
relationships.

But the result is about 160MB, I don't think you downloaded it in a couple 
of minutes. 

> But then it took nearly an *hour* at the next phase:
> 
>   Resolving 313037 deltas.
>    100% (313037/313037) done

And _this_ is the phase where it will actually create all the deltas, and 
write them out, and you're receiving them.

How fast is your network connection? An hour for 160MB sounds slow, but it 
could actually be the server side that is chugging along slowly too..

> And then just a few minutes for:
> 
>   Checking files out...
>    100% (21275/21275) done

And this part only happens once you've gotten the whole pack, and 
everything looks good.

			Linus
-
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]