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

Re: Too long crawling of TSVNCache with 1.6.3, not happened with 1.6.2

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 05 Aug 2009 10:40:25 +0200

On 04.08.2009 21:26, Kazutoshi Satoda wrote:
> Hi,
>
> Some of my colleague reported notable slowdown happening after upgrading
> TortoiseSVN to 1.6.3 from 1.6.2.
>
> Looking at their Task Manager, I found that TSVNCache.exe was taking
> hours of CPU time. For example, 5 hours for a day (about 8 hours * 2
> cores). And actually, I could see that TSVNCache is often running in
> 100% CPU usage for some minutes after some browsing in their WC.
>
> The WC is very large (over 10000 files and over 1000 directory), but
> strangely, some others who has the same WC has also upgraded to 1.6.3
> without notable slowdown (CPU time is less than a hour for a day).
>
> After some testing, I found the following:
> - Using CacheTrayIcon, the window repeatedly shows paths for a same
> part of the large WC. Sometimes it seems crawling same paths without
> any idle time.
> - Replacing TSVNCache.exe with it in 1.6.2 can be a workaround.
>
> With these criteria, I suspect that the following change (r16421), which
> was merged between 1.6.2 and 1.6.3, is causing this problem.
>> # Merge r16420 from trunk:
>> * Check whether we have changed conditions due to releasing the lock, and if we have, restart the watching loop.

That change is highly unlikely the reason for this: that change is for
the *watcher*, not the crawler (the watcher only monitors directories
for changes).

> Could you please take another care for this change, or other changes for
> TSVNCache between 1.6.2 and 1.6.3, to avoid this problem?
>
> I hope this problem can be fixed in upcoming 1.6.4. Please let me know
> if more information required.

Can you please try a nightly build and see if the issue persists?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2380350
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-05 10:40:51 CEST

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.