You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jonas Rosqvist <jo...@gmail.com> on 2009/09/21 15:52:13 UTC

Slow performance SVN Update

When doing SVN update on some of our repositories we get very bad
response times. First no network traffic to the server for a few
minutes then the files are transfered and then a new long pause before
the update is done.

Tried using Tortoise and the command line tool and the same problem. A
bit repository size related, small is fast, but they don't have to get
really big to get slow. Also this is not the case for all our project
members. Som have decent response times. One m,eber has clocked the
update time to 10 minutes even though no files were updated.

Removed all antivirus software to be safe but no change.
versions 1.4.5

Can the repository be structured badly? Why don't we get the same bad
performance on all our computers?
CPU very low during svn update, but the computers still seems a bit
sluggish.

Any suggestions are welcome, we need to solve this as soon as possible.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Slow performance SVN Update

Posted by "Bolstridge, Andrew" <an...@intergraph.com>.
> -----Original Message-----
> From: Johan Corveleyn [mailto:johan.corveleyn@uz.kuleuven.ac.be]
> Sent: Friday, September 25, 2009 12:18 PM
> To: 'Jonas Rosqvist'; users@subversion.tigris.org
> Subject: RE: Slow performance SVN Update
> 
> working copy, defrag regularly, get a high speed disk, ... mmmm, a
> solid state disk even maybe?)
> 

A SSD would reduce your performance dramatically, as svn's update
creates a lot of little lock files, and SSDs are slow to write,
performance on a SSD would not be recommended. A 20k rpm SCSI disc with
a large write cache is more like what you want.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Slow performance SVN Update

Posted by Johan Corveleyn <jo...@uz.kuleuven.ac.be>.
> Van: Jonas Rosqvist [mailto:jonas.rosqvist@gmail.com]
> 
> Thank you for your suggestions, unfortunately,I haven't been able to
> find the issue in trac
> 
> Disk activity is very high during the pauses but when measuring
> diskspeed the is no pattern between fast disk and fast svn updates.
> We tried switching off the icon overlays and that takes TSVNCAche out
> of the equation but still no significant performance gain.
> 
> Is there something else we could try?

I think the issue that's been referred to is (not trac but svn's bug database, i.e. bugzilla):
http://subversion.tigris.org/issues/show_bug.cgi?id=3369 - Locking strategy inadequate for decent Windows Performance

The problem is that SVN client-side does a lot of IO on thousands of small files, just to lock the working copy, before the update is even started. There's not much you can do about that right now, but we all hope that this will be very much improved in SVN's next major release, 1.7 (being developed as we speak). That version includes a rewrite of the working copy system (called wc-ng), which should have centralized meta-data instead of meta-data scattered throughout the working copy. Hopefully that will drastically reduce the amount of IO that SVN has to do for things like this.

So, apart from waiting for 1.7 (or contributing to get it finished faster - http://subversion.tigris.org/development.html), the only thing you can do is to make your working copies as small as you can. And try to optimize your system for disk IO (avoid virus scanning of the working copy, defrag regularly, get a high speed disk, ... mmmm, a solid state disk even maybe?)

Regards,
Johan

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Slow performance SVN Update

Posted by Jonas Rosqvist <jo...@gmail.com>.
Thank you for your suggestions, unfortunately,I haven't been able to
find the issue in trac

Disk activity is very high during the pauses but when measuring
diskspeed the is no pattern between fast disk and fast svn updates.
We tried switching off the icon overlays and that takes TSVNCAche out
of the equation but still no significant performance gain.

Is there something else we could try?


On Sep 21, 6:58 pm, "parashkev.pe...@mimoon.de"
<pa...@mimoon.de> wrote:
> Hi,
>
> There is already a trac issue for something similar to your situation. The cause
> is probably file locking in Windows.
>
> Some other helpful remarks. Please, check what the disk activity is. I have
> generally seen pretty poor performance on laptops, because of their slow
> hard-drives. You can also turn off the icon overlays in TortoiseSVN, so that it
> is not regenerating its cache, while you are updating.
>
> Br
>
> Paro
>
> Jonas Rosqvist <jo...@gmail.com> hat am 21. September 2009 um 17:52
> geschrieben:
>
>
>
>
>
> > When doing SVN update on some of our repositories we get very bad
> > response times. First no network traffic to the server for a few
> > minutes then the files are transfered and then a new long pause before
> > the update is done.
>
> > Tried using Tortoise and the command line tool and the same problem. A
> > bit repository size related, small is fast, but they don't have to get
> > really big to get slow. Also this is not the case for all our project
> > members. Som have decent response times. One m,eber has clocked the
> > update time to 10 minutes even though no files were updated.
>
> > Removed all antivirus software to be safe but no change.
> > versions 1.4.5
>
> > Can the repository be structured badly? Why don't we get the same bad
> > performance on all our computers?
> > CPU very low during svn update, but the computers still seems a bit
> > sluggish.
>
> > Any suggestions are welcome, we need to solve this as soon as possible.
>
> > ------------------------------------------------------
> >http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessa...
>
> > To unsubscribe from this discussion, e-mail:
> > [users-unsubscr...@subversion.tigris.org].
>
> ------------------------------------------------------http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessa...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr...@subversion.tigris.org].- Hide quoted text -
>
> - Show quoted text -

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Slow performance SVN Update

Posted by "parashkev.penev@mimoon.de" <pa...@mimoon.de>.
Hi,

There is already a trac issue for something similar to your situation. The cause
is probably file locking in Windows. 

Some other helpful remarks. Please, check what the disk activity is. I have
generally seen pretty poor performance on laptops, because of their slow
hard-drives. You can also turn off the icon overlays in TortoiseSVN, so that it
is not regenerating its cache, while you are updating.

Br

Paro


Jonas Rosqvist <jo...@gmail.com> hat am 21. September 2009 um 17:52
geschrieben:

> When doing SVN update on some of our repositories we get very bad
> response times. First no network traffic to the server for a few
> minutes then the files are transfered and then a new long pause before
> the update is done.
> 
> Tried using Tortoise and the command line tool and the same problem. A
> bit repository size related, small is fast, but they don't have to get
> really big to get slow. Also this is not the case for all our project
> members. Som have decent response times. One m,eber has clocked the
> update time to 10 minutes even though no files were updated.
> 
> Removed all antivirus software to be safe but no change.
> versions 1.4.5
> 
> Can the repository be structured badly? Why don't we get the same bad
> performance on all our computers?
> CPU very low during svn update, but the computers still seems a bit
> sluggish.
> 
> Any suggestions are welcome, we need to solve this as soon as possible.
> 
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397513
> 
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe@subversion.tigris.org].

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].