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

Very long time to set or retrieve a revision property

From: Emmanuel Blot <manu.blot_at_gmail.com>
Date: 2005-12-06 18:07:49 CET

Hi,

I'm facing an issue with the svn propset/propget command:

I've just created a new repository, which handles less than 100MB of
source files.

There are 3 revisions in this repository:
  * 1st contains the base structure (/trunk, /branches, /tags)
  * 2nd contains the imported files from a local directory (85MB of
mostly C++ files) into /trunk
  * 3rd is a copy of /trunk into a new branch (/branches/test)

There is no issue checking out files from this repository, nor updated
a local copy

I then tagged a revision property onto the 2nd revision of the repository:

svn propset revision:import -r 2 --revprop MYPROP http://server/svn/project

It took about 1 minute to complete this operation, which seems far
longer than expected

Server is on the LAN, and is powered by a PIII/1GHz machine, 368MB
SDRAM, running Debian Linux, Apache 2.0.54 along with Subversion 1.2.3
tools.
Client is either a PIV/3GHz Windows XP SP2 machine with TortoiseSVN,
and the same trouble also occurs from the svn command line on the
server itself.

The problem is that it takes the same time (~ 1 minute) to retrieve
the property, using the command

svn propget revision:import -r 2 --revprop http://server/svn/project

Checking the CPU time on the server, it appears that Apache eats all
the available CPU power
(99.8%) until the command returns (when no svn command is run, the CPU
is hardly used, there is no time-eating background task running on the
server)

I've tried to convert the repository from FSFS to BDB to see if there
is any improvement (using svnadmin dump, svnadmin create --fs-type
bdb, svnadmin load), but the required time to perform either command
(propget, propset or even proplist) is pretty much equivalent.

Something other (useful ?) info:

svn log -r 2 http://server/svn/project # takes 14 seconds
svn propget svn:log --revprop -r 2 http://server/svn/project # takes ~ 1 minute

svn list -R is also very slow.

However, browsing the SVN repository from Apache is really fast, no
issues with this point.

What could go wrong ?

Thanks,
Manu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 6 18:15:41 2005

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.