[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: merge very slow

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 14 Jun 2008 20:12:15 +0200

On Sat, Jun 14, 2008 at 19:27, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> Mark Phippard wrote:
>> On Sat, Jun 14, 2008 at 12:51 PM, Mark Phippard <markphip_at_gmail.com>
>> wrote:
>> So I ran the same merge commands from boxes in the CollabNet network,
>> using the same working copy (which is stored in my HOME folder on
>> Samba server). Here are the times:
>> Linux: 10 seconds
>> Windows CSVN: 72 - 97 seconds
>> Windows TSVN: 97 - 101 seconds
>> I do not think the information really helps, but thought I would share
>> it nonetheless.
>> Since the time between Linux and Windows is so astonishing, I thought
>> I would throw in the times for svn status --ignore-externals on this
>> working copy:
>> Linux: 0.3 seconds
>> Windows CSVN: 80 seconds
>> Windows TSVN: 85 seconds
> Yikes!
> And I was wondering why nobody mentioned the slow merges before :)
> I stepped through the svn code for mergin a little bit. Most commands only
> connect once and then use that connection. However, the merge command does
> multiple 'connect()' calls, which I think is one reason why merging is so
> slow.
> I'm now doing some tests with svn:// - it seems that having IPv6 enabled
> *has* some impact on speed. Currently rebuilding without IPv6 support for
> more tests with svn://

Disabling IPv6 improved the merge time to the same as with the RC9
build from open.collab.net.
But it had no effect on a merge via http:// :(

Oh, and even using serf instead of neon doesn't help: my build takes
double the time for a merge.

What I've noticed while stepping through the code:
the ra_svn library exchanges the capabilities with the server only
once, but ra_neon does this for *every* connection made - and for a
merge, there are many connections done. So that is also an important
speed factor (svn vs http), but of course has nothing to do with my
problem here.


 oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
 \ \_/_\_/> The coolest Interface to (Sub)Version Control
 /_/ \_\ http://tortoisesvn.net
Received on 2008-06-14 20:12:31 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.