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

Re: Problem performance TortoiseSVN

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Wed, 15 Sep 2010 11:04:13 +0200

On Wednesday 15 September 2010, BAILLIET Sebastien wrote:
> We use TortoiseSVN and SVN since 4 years and for some time we meet problems
> of performance on the developers computers when update copy. During the
> first update of working directory of developers it takes several minutes to
> make the operation of update, then during the day and following updates
> there is no more this deadline.
>
> Have you an idea on the origin of the problem

I see the effect here, too, and I guess this is an effect of caching. You can
assume that after startup of your workstation, the content of your WC isn't
cached by your OS. Similarly, on the server side, the content of the
repository isn't cached either in the morning as it was probably thrown out
during the night when it wasn't used for some time and memory was used for
different things like backups.

All in all, this means that a lot of disk access has to take place, first on
the client side, to read the current the state of the WC and lock it, then on
the server side, to actually retrieve the changes from the database.

I'd do two things:
1. Use small working copies, in particular don't check out the whole
repository into one working copy.
2. Wait for SVN 1.7, where the working copy handling is supposed to be
improved in many aspects. Since the metadata is only stored in a single
location there, SVN doesn't have to recursively crawl through the directories
of a working copy in order to collect its current state, which should perform
better.

Further, you could try to prime the cache. On the server, you could run a
cronjob that accesses the repository in order to keep its data cached. On the
client, you could run a similar script on startup that just checks the state,
similar to TSVN's checking for modifications.

Uli

-- 
ML: http://tortoisesvn.tigris.org/list_etiquette.html
FAQ: http://tortoisesvn.net/faq
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2659988
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-15 11:04:27 CEST

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

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