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

ra_dav Performance ??

From: Max Bernhardt - extern TAGP - Tel. 3749 <Max.Bernhardt_at_vodafone.com>
Date: 2005-03-29 16:18:15 CEST

Hi,

we are using subversion for almost a year now and are generally very
happy with it.

But there is one problem that is nagging ...

In our setup the performance of checkouts and updates over ra_dav for
files larger than
about 10MB is abysmal. A checkout of a 20 MB library over ra_dav using
https takes
more than 30 minutes! The time for a checkout or update seems to
increase exponentially
with the size of the affected file.

After I found a mail by Karl Fogel on the users list stating this
behaviour could come
from using /dev/random in the Apache Runtime I rebuilt the whole
SCM-Backend.

I built Apache with the following configure statement:

configure --prefix=/export/free/svn/apache-2.0.53 --with-gdbm=no
--with-berkeley-db=/localdisk/config3/sw/bdb-4.2.52 --with-dbm=db4
--enable-so
--enable-dav=shared --enable-deflate=shared --enable-auth-digest=shared
--enable-ssl --enable-ldap --enable-auth-ldap --enable-rewrite --with-ldap
--with-ldap-lib=/localdisk/config3/sw/openldap-2.2.13-shared/lib
--with-ldap-include=/localdisk/config3/sw/openldap-2.2.13-shared/include/
--with-ssl=/localdisk/config3/sw/openssl-0.9.7d-shared
--with-devrandom=/dev/urandom
--enable-dav-fs=shared

After that I rebuilt subversion (trunk; revision 13737) with the
following configure statement:

configure --prefix=/localdisk/config3/sw/svn-1.1.4-r13737 --enable-dso
--enable-javahl
--with-apr=/export/free/svn/apache-2.0.53/bin/apr-config
--with-apr-util=/export/free/svn/apache-2.0.53/bin/apu-config
--with-apxs=/export/free/svn/apache-2.0.53/bin/apxs
--with-neon=/localdisk/config3/sw/neon-0.24.7-shared
--with-berkeley-db=/localdisk/config3/sw/bdb-4.2.52
--with-zlib --with-jdk=/localdisk/config3/java/jdk1.5.0
--with-swig=/localdisk/config3/swig-1.3.21

To explain: /export/free is a local disk on the server where the httpd
daemon is running,
/localdisk/config3 is a nfs-mounted disk. The repositories are situated
on /export/free.

Both rebuilds worked just fine, but the performance problem remains the
same. Do I miss
something?

BTW: checkout and updates over the svn Protocol for large files are
fast! The same 20MB
library that takes more than 30 minutes over ra_dav takes less than 2
minutes over the svn
protocol.

CU
Max

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 29 16:21:21 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.