Re: Efficiency of initial clone from server

From: Shawn O. Pearce <spearce@spearce.org>
Date: 2007-02-13 04:06:47
Jon Smirl <jonsmirl@gmail.com> wrote:
> Why doesn't clone copy the existing packs down first with sendfile,
> then build a small pack for what is left and avoid the initial step of
> making a giant pack. Isn't clone going to break when the repo exceeds
> 2GB?

Because the network format allows an unlimited packfile size,
at least until you reach the 2^32-1 object count barrier anyway.
It also allows only one packfile to be sent.

The problem is the local system.  We are unable to build an index
file locally on a packfile that is larger than 4 GiB, as the offsets
to positions within the packfile are 32 bit unsigned big-endian
integers.  The index gets built on the client as it receives the
packfile from the server.

-- 
Shawn.
-
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
Received on Tue Feb 13 13:37:57 2007

This archive was generated by hypermail 2.1.8 : 2007-02-13 14:23:51 EST