Server load while cloning

Matt Mackall mpm at selenic.com
Wed May 6 11:56:53 CDT 2009


On Wed, May 06, 2009 at 12:42:45PM -0400, Greg Ward wrote:
> I'm still playing around with cloning my large Hg repo converted from
> a large CVS repo.  The stats: ~100k changesets, ~26k files, ~850 MB.
> The problem: cloning over HTTP imposes heavy CPU load on the server
> for several minutes.  Specifically, using my desktop PC (3 GHz Pentium
> 4, 2 GB RAM, 1 SATA disk) as the server and a different machine on the
> LAN as client, cloning over HTTP takes ~7-9 minutes, during which the
> server-side Mercurial process is above 80% CPU usage for most of the
> time.  (It consumed about 6 min of CPU time during one clone.)

The default behavior is targeted at broadband and below. Have you
tried --uncompressed? You'll need to add server.uncompressed = True to
your hgrc.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list