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

very slow response from log and diff on one repository using apache 2.0.50, https/dav svn 1.3 server, svn 1.2.1 client

From: Michael Sokolov <sokolov_at_ifactory.com>
Date: 2006-01-20 15:51:20 CET

When I do a "svn log" or "svn diff" command in one of my repositories
(but not others) using the same software configuration, the response
time is very much slower (1 minute vs. 1 second). While waiting for the
slow responses, I notice httpd using ~100% of cpu.

Based on some other posts on this list, I believe the significant
difference is the size of the repositories. The slow one is large, of
course: 150,000 files, 3.5 GB most of which was loaded in rev. 1.

I understand from these other discussions that some operations require
examining all files in some way or other? I can't understand why
getting the log of a single file would require a global operation of
some sort. If it does, that would indicate to me svn is not designed to
handle large repositories like this and I would have to rethink my
version control strategy. However I hope I am incorrect in this
supposition!

Can anyone enlighten me as to the reason for the slowness? Even better
can you help me fix it?

-Mike Sokolov

PS - a side issue is that the machine from which the working revisions
were checked in had its clock set incorrectly (off by 1 hour) at the
tmie most of the files were checked in. This doesn't seem relevant, but
I note it just in case.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 20 16:51:18 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.