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

Re: Question about performance and space

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Thu, 11 Nov 2010 16:19:23 +0100

On Thursday 11 November 2010, Thorsten Schöning wrote:
> am Donnerstag, 11. November 2010 um 14:37 schrieben Sie:
> > Doesn't the client understand the file history if you 'svn switch' to the
> > tag path in a working copy and just get the differences, if any?

If you use switch, it will only transfer the differences. Tagging a WC and
switching to that directory is fast.

> OK, maybe I'm wrong, because I don't use svn switch but always use
> complete working copies with all tags, branches etc. checked out and
> just work in different folders at the same time, if neccessary. In
> this case every other developer would have large updates with each new
> tag.

I sometimes need multiple working copies of the same URL, so I couldn't do
that. Further, and that's IMHO more important in the context of performance,
I don't think that SVN performs commits and updates in linear complexity,
i.e. doubling the size more than doubles the required time. This means that
having all tags (even those of long obsolete alpha releases) and all branches
(even of features I don't work on or which are finished and reintegrated) of
every project (even those I neither work on nor use) causes lots of overhead.
What helps, apart from completely separate checkouts, is "svn switch"ing
unused parts to an empty directory, which are then also skipped on updates.
Generally, two separate WCs perform better than one large one.

I'm curious what the upcoming changes to the WC handling libraries in SVN 1.7
will do though, it's worth keeping an eye on!

Cheers!

Uli

-- 
ML: http://subversion.apache.org/docs/community-guide/mailing-lists.html
FAQ: http://subversion.apache.org/faq.html
Docs: http://svnbook.red-bean.com/
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.
**************************************************************************************
Received on 2010-11-11 16:20:03 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.