Discussion:
"svn log" is too slow
Falls Huang
2005-05-25 03:36:02 UTC
Permalink
Hello!
I am running subversion(1.1.4) with the DAV module under apache2 and
my subversion server is P4 2.4G/512M sdram. The normal operations like
check in/out etc are fine, but I found that
"svn log http://xx.xx.xx.xx/repos" is very slow --- it almost took me
15 seconds ( the subversion repos has 5000 files ).

I have searched this mailling-list and set "SVNPathAuthz Off" in the
<Location> of dav_svn.conf , but the "svn log" is still slow . How
can I solve this problem ?

thanks and regards,
Falls Huang

PS. if possible please CC me as I am not on the list(but do check it
from time to time).
--
Regards
Falls Huang
Ben Collins-Sussman
2005-05-25 12:06:27 UTC
Permalink
Post by Falls Huang
Hello!
I am running subversion(1.1.4) with the DAV module under
apache2 and
my subversion server is P4 2.4G/512M sdram. The normal operations like
check in/out etc are fine, but I found that
"svn log http://xx.xx.xx.xx/repos" is very slow --- it almost took me
15 seconds ( the subversion repos has 5000 files ).
I have searched this mailling-list and set "SVNPathAuthz Off" in the
<Location> of dav_svn.conf , but the "svn log" is still slow . How
can I solve this problem ?
How long does it take to run 'svn log file:///.../repos' directly on
the repository?
Falls Huang
2005-05-25 13:18:58 UTC
Permalink
Post by Ben Collins-Sussman
Post by Falls Huang
Hello!
I am running subversion(1.1.4) with the DAV module under apache2 and
my subversion server is P4 2.4G/512M sdram. The normal operations like
check in/out etc are fine, but I found that
"svn log http://xx.xx.xx.xx/repos" is very slow --- it almost took me
15 seconds ( the subversion repos has 5000 files ).
I have searched this mailling-list and set "SVNPathAuthz Off" in the
<Location> of dav_svn.conf , but the "svn log" is still slow . How
can I solve this problem ?
How long does it take to run 'svn log file:///.../repos' directly on
the repository?
"svn log file:///.../repos" is very faster than "svn log
http://.../repos" , it only took 1-2 seconds.

And during the "svn log http://..." , the CPU usage shoots up to 100%
with 97% used by Apache2.

Btw:
My subversion server is Debian Sarge.
--
Regards
Falls Huang
Kevin Puetz
2005-05-27 13:39:52 UTC
Permalink
Post by Falls Huang
Hello!
I am running subversion(1.1.4) with the DAV module under apache2 and
my subversion server is P4 2.4G/512M sdram. The normal operations like
check in/out etc are fine, but I found that
"svn log http://xx.xx.xx.xx/repos" is very slow --- it almost took me
15 seconds ( the subversion repos has 5000 files ).
I have searched this mailling-list and set "SVNPathAuthz Off" in the
<Location> of dav_svn.conf , but the "svn log" is still slow . How
can I solve this problem ?
thanks and regards,
Falls Huang
PS. if possible please CC me as I am not on the list(but do check it
from time to time).
I use svn log --xml to gather data that I build into some statistics/summary
reports, and have also observed that running it against http:// is
immensely slower than running it against svn+ssh:// or file:// (which are
actually almost comparable). I assume there must be some extra network
turnarounds or similar that drag the process down via DAV. So if that's an
option for you, you might try it...

Continue reading on narkive:
Search results for '"svn log" is too slow' (Questions and Answers)
3
replies
runescape help making money?
started 2009-05-17 12:31:21 UTC
video & online games
Loading...