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

Subversion 1.2.1 + Apache 2 slowed down on checkouts and imports

From: Lal, Anagh <Anagh_Lal_at_mudnebr.com>
Date: 2005-08-30 23:54:22 CEST

First of all, thanks for the nice product.
The renaming and directory moving features are really good. The WebDav
module really helps in configuring directory access.

We are implementing a version control repository in our department and
have been comparing CVS and Subversion.
I have sold Subversion to my manager by virtue of its better features.
We have the Subversion installed on RedHat Linux and are using Apache

However, there is a problem that I've ran into.
The performance of Subversion+Apache was good initially.
To use ViewCVS we tried getting the python bindings to work and had to
re-install subversion a few times.
We quit on ViewCVS and have WebSVN running very well.

However when using TortoiseSVN or SVN from the command prompt on Windows
XP the checkouts and imports are terribly slow.
I could not check the same from another (as in not the server)
Linux/Unix box, but if you think those results will help I will work on
10 files with a total size of 9 MB is taking 5 minutes.
The same process on the server using the "svn checkout http://web.... "
method takes two seconds or so.
(i.e, the files is checked out on the machine where Subversion and
Apache are running)

What should I try next?

This is how I am re-installing:

/usr/local/http/apache2cvs/bin/apachectl stop
rm /usr/local/lib/libsvn*
cd /usr/local/source/subversion-1.2.1
make clean
./configure --with-editor=/usr/bin/vim
make install
/usr/local/http/apache2cvs/bin/apachectl start

The number of files
ls -l /usr/local/lib/libsvn* | wc

is 65 before and after.

The 10 files I am importing and exporting include one large BMP (6MB)
and a 2 word documents (1 MB each). Rest are text files.

CVS and TortoiseCVS are doing the same much faster, in 4 seconds from
the windows clients.

I am sure I saw such a performance before too.
The change came after I tried ./configure with

--with-iconv=/usr/local/apr/bin/iconv --enable-swig-bindings=all

I also did a ./autogen.sh once during the re-installs.

For the python bindings
We did make swig-py which used to fail.

Please help in getting Subversion adopted over CVS.

Anagh Lal
Senior Programmer Analyst,
Information Technology, Metropolitan Utilities District
Phone: 402 504 7178, 402 449 8013
Fax: 402 504 5178
Email: Anagh_Lal@mudnebr.com
Received on Tue Aug 30 23:56:18 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.