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

Re: [TSVN] Technical questions on status caching

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2004-12-21 17:44:00 CET

At 17:27 21/12/2004 +0100, you wrote:

>About putting cache in a file, I asked this to deal with big folders.
>I have folders in my repository with 3000 objects to 5000 objects.
>It takes 2 minutes for 5000 files to display the files in Explorer to be
>able to do something.
>When changin of directory and getting back to the big ones, it takes
>arround 25% less to display the files.

There is a problem with updates which take as long as 2 minutes in that the
TSVN cache life-time is much shorter than that, so it's basically
completely non-functional on those big directories. The 25% reduction you
see probably comes from OS filesystem caching, rather than TSVN caching.

>I exported the same folders without .svn folder, I directly have it files.
>My users don't want to use Explorer anymore, it's too slow for them.

You know you can inhibit TSVN in specific folders, if you want.

>I have developed a SCC for SVN and I have implemented a similar solution
>you have implemented, but I added save/load the cache. The first time a
>user open a folder with SCC on his computer, it takes 2 minutes to open,
>but the next times, it takes only 1 or 2 seconds to open (the time to read
>the cache file).

How do you invalidate this cache if someone uses a different application to
change the SVN status? That would be our concern.

>I'm using the lastest version of svn from 1.1 branch (r12477) and the
>lastest version of TortoiseSVN from trunk (r2183). I get them from
>repositories this afternoon (French time)

OK. I might look at the cache life-time policy - there is already a cludge
in there to extend the life-time when doing recursive updates, because of
the same problem you're seeing. It might be possible to do something better.

The SVN client library is terribly inefficient IMHO - I dread to think how
many times it's reading the entries files in your WC...


To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Dec 21 17:45:47 2004

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

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