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

Re: svn cleanup performance

From: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-03-25 14:49:45 CET

Alex Kiesel wrote:
> Hi all,
>
> (I've searched the archives but was unable to find an answer or
> discussion on this)
>
> we've got an svn repository with ~70000 files and directories.
> Updating it on a daily basis takes a long time (so I've put that into
> a cron). However, occasionally, errors occur and I have to svn
> cleanup.

7000 files is one thing. How big is the repository in disk size? And are
most of the files in one directory? Linux ext2 or ext3 filesystems before
the 2.6 kernel would take quite some time to deal with many thousands of
files in one directory, for example.

> I noticed that `svn cleanup` at the root of the repository takes
> _really_ long time (more than 30 minutes) and eats up up to 200 MB of
> RAM.
>
> Is there any way to tweak this, to make it faster and/or slimmer
> (apart from making sure only to work on smaller sub-trees of the
> repo)? I assume this is server-independent; my box is a FreeBSD box,
> but it also occurs on various Linux boxes.

Are you using bdb or fshs for the repository on the server? And which
particular version of subversion, with which particular FreeBSD release and
filesystem?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 25 14:50:15 2006

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