[issue2545] Very slow push on network share on Windows

cgencer bugs at mercurial.selenic.com
Sun Dec 12 20:43:23 UTC 2010


New submission from cgencer <can at cryptzone.com>:

I am using Mercurial 1.7.2, and have a central repository on a network 
share (on the same network, 100mbit).

I create an empty repository in the share, and push my local to there:

E:\hg\Repo>hg push --time --new-branch \\devserver\hg\Repo
pushing to \\devserver\hg\Repo
searching for changes
adding changesets
adding manifests
adding file changes
added 25 changesets with 5508 changes to 3840 files (+2 heads)
Time: real 688.875 secs (user 11.700+0.000 sys 102.352+0.000)

As you can see it takes 700 secs!

To do the same in local:

E:\hg\Repo>hg push --time --new-branch ..\Repo2
pushing to ..\Repo2
searching for changes
adding changesets
adding manifests
adding file changes
added 25 changesets with 5508 changes to 3840 files (+2 heads)
Time: real 18.389 secs (user 6.677+0.000 sys 9.454+0.000)

And to do the same over hg serve, on the same remote machine:

E:\hg\Repo>hg push --time --new-branch http://devserver:8000
pushing to http://devserver:8000
searching for changes
Time: real 41.882 secs (user 4.976+0.000 sys 1.217+0.000)

What could be the reason for the extremely slow push over the share?!

----------
messages: 14619
nosy: cgencer
priority: bug
status: unread
title: Very slow push on network share on Windows

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2545>
____________________________________________________


More information about the Mercurial-devel mailing list