hg slow on large repo
Matt Mackall
mpm at selenic.com
Wed May 23 18:08:09 UTC 2007
On Wed, May 23, 2007 at 09:17:31AM -0400, Benjamin LaHaise wrote:
> Hello,
>
> I've been investigating the various tools available for migrating a large
> (11GB) cvs repository into. After running cvs20hg for a rather long period
> of time, I now have in my hands a moderately (4.1GB) sized hg repository.
>
> Now I try to do a clone. It takes about 15 minutes at 100% CPU utilisation,
> which is pretty much a non-starter for usability. The disk isn't anywhere
> near being saturated.
Is this a local clone on the same partition? In other words, is it
using hardlinks? Or is this over the wire? For going over LAN or fast
WAN, you can use --uncompressed.
How much of the time is clone vs checkout (try time hg clone -U
followed by hg update)?
For the update side of things, how much time does it take to untar a
comparable tar.gz?
If local, how much time does it take to do a straight cp and cp -al of .hg?
Tricks exist, but let's figure out what the problem is first.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list