Re: git clone: very long "resolving deltas" phase
- From
- Vitaly Berov <vitaly.berov@gmail.com>
- Date
- Apr 6, 2010, 15:56 UTC
- Message-ID
- <v2qecffb261004060856qcb769a06vf40ad2a75a3aa4fd@mail.gmail.com>
- In-Reply-To
- <q2mec874dac1004060850r5eaa41fak2ba9889d07794651@mail.gmail.com>
Why does git compute checksums on the client side? Isn't it already calculated on the "server" side?
2010/4/6 Shawn Pearce <spearce@spearce.org>:
Show 32 quoted lines
> Nope, the resolving deltas phase is about computing the checksums of each > object on the client side of the connection. Repacking the server might > have little impact on this phase, other than maybe to reduce the size and > thus the disk io required to scan the entire pack. > > On Apr 6, 2010 9:32 AM, "Andreas Ericsson" <ae@op5.se> wrote: >> On 04/06/2010 05:29 PM, Vitaly wrote: >>> I didn't try this, but I'll give it a try, thanks. >>> >>> And what does this stage mean? >>> >> >> It means the server is busy creating a packfile to send >> over the wire. If you pack the repository before cloning >> from it, deltas from the packfile will simply be copied >> into the new pack. This will provide a huge speedboost, >> so make sure to repack the repository on the server every >> once in a while. >> >> -- >> Andreas Ericsson andreas.ericsson@op5.se >> OP5 AB www.op5.se >> Tel: +46 8-230225 Fax: +46 8-230231 >> >> Considering the successes of the wars on alcohol, poverty, drugs and >> terror, I think we should give some serious thought to declaring war >> on peace. >> -- >> To unsubscribe from this list: send the line "unsubscribe git" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >