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

TSVNCache: a solution

From: Berwyn Hoyt <berwyn_at_brush.co.nz>
Date: Fri, 05 Feb 2010 14:03:12 +1300

(Re-posted in plain-text as requested. If you want the links, use the
html version).
--------------------
Hi folks,

TSVNCache is fraught. I may have a way to solve it.

*The problems *with TSVNCache:

   1. it has generated an enormous number of issues on the forums
      because hogs the CPU.
   2. it slows down explorer when it places the icons. The first time I
      view my "projects" folder, it takes windows 12 long seconds to
      display all the icons, and that explorer window is hung in the
      meantime. If I browse something else for a while and come back,
      it takes 12 seconds again. Even when put in the minimal "shell"
      mode, it takes 12 seconds. I don't really understand why it locks
      up explorer. It would be bearable if it still let me browse while
      it grabs the icons. This delay happens each sub-folder I browse
      into, so it takes a very long time to delve into the tree.

*A solution:*

Instead of scanning the drive all the time, use the the NTFS USN Change
Journal <http://www.microsoft.com/msj/0999/journal/journal.aspx>. The
MS indexing and service uses it for tracking file changes. There is MS
code <http://msdn.microsoft.com/en-us/library/aa365736%28VS.85%29.aspx>
to walk the journal. For your interest, the fsutil command line tool
(installed at least on my XP pro) manages and tests the Journal to some
degree.

TSVNCache could use the USN journal and fall back on its traditional
mechanisms on FAT drives. Developers, would this solve the speed problems?

Cheers,
Berwyn

-- 
Check out our *winning design* in this Bronchoscope Simulator 
<http://www.nzfocusonhealth.com/finalists.html#2> for AirwaySkills (TV 
coverage 
<http://tvnz.co.nz/business-news/health-sector-gets-help-cracking-us-market-3286407/video>).
Berwyn Hoyt, /Electronic Solutions & Business/  --  Brush Technology
*Ph:* +64 3 359 2101 *Mobile:* +64 21 045 7830
*Web:* brush.co.nz <http://brush.co.nz/>
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2445033
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-05 02:08:54 CET

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.