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

RE: Speeding up workspace

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Wed, 4 Feb 2009 18:49:58 +0100

> -----Original Message-----
> From: Ruslan Sivak [mailto:russ_at_vshift.com]
> Sent: Wednesday, February 04, 2009 6:35 PM
> To: users_at_subversion.tigris.org
> Subject: Speeding up workspace
>
> We have a fairly large repository (8.4GB, 11k revisions). The
> workspace
> for one of the projects is 100k files, 50k folders, 8.7GB (14.2GB on
> disk) including .svn folders. The workspace is on Vista, the server is
> CentOS 5.2.
>
> It currently takes between 5-10 minutes to do an update. Sometimes the
> commits can take several minutes as well (even when committing just a
> single file, using Subversive Eclipse plugin).
>
> I'm wondering if there's any way to speed this up. I would like the
> updates to be near instantaneous. I have tried moving the workspace to
> an SSD, but did not see a huge improvement.
>
> Does anyone have any ideas on how to speed things up a little?

You should really look at what programs are monitoring your disk.
E.g.:
* Is a virusscanner reading every file that is read and written. And
especially if it locks the file when it is scanning. (I would recommend just
scanning on write in your workingcopies)
* Is TortoiseSVN's status cache monitoring this directory? (If it detects a
change it scans for status updates.. slowing down other clients by using
your harddisk when you need it yourself).

Just performing a 'svn update' that doesn't touch much files shouldn't take
more than a few seconds on that number of files/folders.

An average of 2 files per folder is not high... Subversion 1.0-1.6 performs
better with a bit more files/folder.. The new workingcopy format that is
expected in 1.7 should resolve these differences and should be /a lot/
faster for this low file-directory ratio.

        Bert

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1103149

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-04 18:52:15 CET

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.