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

TSVNCache Status Thread Has Priority Over Crawling Thread?

From: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2006-01-09 17:32:29 CET

Hi,

I just did a command-line 'svn up' in a sizable working copy (21,000
files, 2,000 dirs, 1,500 files actually updated) and observed that while
this update was going on (a period of 5+ minutes) and for a minute or so
after 'svn up' finished, TSVNCache.exe was using 20-50% CPU and any
browsing in explorer was quite slow to respond. (E.g. click a folder in
the tree view and it takes several seconds before any files are drawn in
the right pane). After TSVNCache calmed down to its normal 0-5% CPU then
explorer immediately was back to normal and the same directories that
took 5-10 seconds to display before were displayed instantly again.

So my question: Does TSVNCache have separate threads handling status
requests from Explorer, and crawling the file system? (I presume it
must.) If so is there any mechanism handling the priority of these
threads? My ignorant-of-the-code observation is it would be ideal if
status requests would not be bogged down by crawling. (If my
interpretation of the cause has been correct?)

-Nathan

Using TortoiseSVN 1.3.0, Build 5301 - 32 Bit -RC1
System: Win2003, 2.4Ghz, 1GB

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jan 9 18:17:48 2006

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.