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

Subversion is slow in big wc's (locking)

From: Nicolás Lichtmaier <jnl_at_synapsis-sa.com.ar>
Date: 2004-03-26 20:47:26 CET

If I have a big wc, with a Makefile in the top level directory, and I do
a "svn up Makefile", subversion will lock every directory in this huge
project. This takes a lot of time, using strace I have measured it:
17.916558 seconds. It takes 18 seconds to lock the whole repository.

I see several approaches to this issue:
1) A way to disable locking from the config area (bad solution).
2) To simplify it. It currently accesses 3 archives per .svn directory.
This can be optimized. Instead of a "format" file, an XML attribute in
the <wc-entries/> tag of the "entries" file could be used. Why does it
need to parse the "entries" file just to lock the directory?.
3) To allow the user to enable a faster locking by using fcntl.
4) Locking just the top level directory. Each operation would traverse
upwards in order to find if one of the (grand)parent directories is locked.

Anyway, Subversion here is behaving veery slow. This is surely not the
only issue, there are slowlyness in the server too I think.

Thanks!

-- 
Nicolás Lichtmaier.-
Synapsis Argentina
+54(11)4314-3000 (int. 231)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 26 20:51:37 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.