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

Re: svn info takes a (relatively) long time to complete

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-08-02 18:17:06 CEST

On 8/2/06, asdf <fia_wrc_fanatic@yahoo.com> wrote:
> When I first ran the "svn info" command on the root URL of a
> repository,
> it appeared to hang esp. since it wouldn't respond to a Ctrl+C and the
> only way to stop it was to stop the process by Ctrl+Z and then send it
> the KILL signal. That's when I noticed that it just takes a (long) time
> to run to completion.
>
> I am running two svnserve'd repositories on a Linux host:
> repo1 (20 revisions, on disk size = 221 Mb)
> repo2 (22 revisions, on disk size = 123 Mb)
>
> Running "svn info" on the repository root URL takes a long time (longer
> than I expected):
>
> (from the same Linux host where the repositories are hosted)
> svn info svn://hostname/repo1
> real 2m7.570s
> svn info svn://hostname/repo2
> real 0m49.197s
>
> (from a Windows 2000 system using the official 1.3.2 windows binaries
> running under the Cygwin bash shell)
> svn info svn://hostname/repo1
> real 3m24.047s
> svn info svn://hostname/repo2
> real 3m8.643s
>
> (from a Sun Solaris 9 system running 1.3.2 binaries built from source)
> svn info svn://hostname/repo1
> real 8m7.362s
> svn info svn://hostname/repo2
> real 8m55.268s
>
> (from a Debian Linux system using prepackaged 1.3.2 binaries)
> svn info svn://hostname/repo1
> real 6m29.555s
> svn info svn://hostname/repo2
> real 7m7.509s
>
>
> I am curious as to:
> (a) what happens on the client and server ends when this command
> is run that causes the command to complete in so much time?
> (b) whether this time taken is normal considering that
> "svn -v -R ls" and "svn -v log" don't take too much more time to
> run to completion?
> (c) whether this is a known/documented issue or even an issue at
> all?
>
> The repositories are hosted on a Debian Linux system using subversion
> 1.3.2 built from source, and are being served using svnserve (launched
> from inetd via "-i -r /svn"), with authz access control enabled.

That's odd. It shouldn't be taking so long... Any chance you could
run the client in gdb and see where it's taking so much time? Just
get the command started, then hit control-c part way through and see
where it is.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 2 18:19:29 2006

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.