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

Re: Seeing very slow performance with svnadmin verify

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 1 Nov 2016 12:01:16 +0100

On Tue, Nov 01, 2016 at 12:14:32AM -0700, Eric Johnson wrote:
> Using: svnadmin --version
> svnadmin, version 1.9.4 (r1740329)
>
> The first time I ran into this, I simply added the -M option. Since the
> default is reported just "16", I added "-M 384", and noticed a significant
> speed bump. However, I've got a repository where even this big jump didn't
> fix the performance problems. Current behavior is to appear to pause
> significantly, then report two versions verified. The pause lasts on the
> order of thirty seconds.
>
> Since I have on the order of 230,000 additional commits to check, I'm
> looking at 39 days before my repository finishes verifying. That's not
> really acceptable.

I doubt this extrapolation makes sense, because the effort to verify a
revision depends on the nature of the changes made in the revision.
Perhaps some earlier revisions contain huge imports and are thus expensive
to verify?

> Any suggestions? Am I doing something wrong?

Please provide more information about this repository, in particular
the output of 'svnadmin info', and the number of directory entries,
average file sizes, etc. ('svnfsfs stats' will show these numbers).

There are a lot of variables involved so it's hard to give you good
advice without more detailed information. See here for more context:
http://subversion.apache.org/docs/release-notes/1.9.html#fsfs-improvements

There is now a --metadata-only option for 'svnadmin verify' but it's hard
to tell if this would help your particular case since it's unclear which
repository format you are using.
http://subversion.apache.org/docs/release-notes/1.9.html#svnadmin-verify
Received on 2016-11-01 12:01:28 CET

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

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