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

Re: Performance comparison of svnrdump and svnsync

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 22 Aug 2011 17:52:50 +0100

Mark Phippard <markphip_at_gmail.com> writes:

> I thought I recalled when svnrdump was first created that there were some
> timing comparisons made with svnsync that showed it to be faster at doing a
> full dump/sync of a remote repository. When I test via HTTP:
>
> svnrdump dump http://server/repos | svnadmin load repos
>
> And compare this to an equivalent svnsync, I find that the times it takes to
> do this is essentially the same. I then compared the HTTP access logs of
> the server and see that the two commands produce identical logs, so
> obviously there are not going to be big performance differences.

svnrdump is going to be essentially the same as svnsync as far as
pulling from the source repository is concerned, where svnrdump wins is
pushing to a local repository. In your example above "svnadmin load" is
generally faster than svnsync writing to a file:// URL because load is
one transaction per-revision committed while svnsync is a transaction
and 3 rev-prop changes per-revision. It's an even bigger win for things
like git import as no local Subversion repository need be created.

If you are limited by the speed of the source server, or the speed of
the network between the server and the local machine, then svnrdump may
not offer any significant gain.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2011-08-22 18:53:24 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.