[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 13:23:35 +1300

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi folks,<br>
<br>
TSVNCache is fraught. I may have a way to solve it.<br>
<br>
<b>The problems </b>with TSVNCache:<br>
<ol>
  <li>it has generated an enormous number of issues on the forums
because hogs the CPU.</li>
  <li>it slows down explorer when it places the icons.&nbsp; 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.&nbsp;
If I browse something else for a while and come back, it takes 12 seconds
again.&nbsp; Even when put in the minimal "shell" mode, it takes 12
seconds.&nbsp; I don't really understand why it locks up explorer.&nbsp; It would
be bearable if it still let me browse while it grabs the icons.&nbsp; This
delay happens each sub-folder I browse into, so it takes a very long
time to delve into the tree.<br>
  </li>
</ol>
<b>A solution:</b><br>
<br>
Instead of scanning the drive all the time, use the the NTFS <a
 href="http://www.microsoft.com/msj/0999/journal/journal.aspx">USN
Change Journal</a>.&nbsp; The MS indexing and service uses it for tracking
file changes.&nbsp; There is <a
 href="http://msdn.microsoft.com/en-us/library/aa365736%28VS.85%29.aspx">MS
code</a> to walk the journal.&nbsp; For your interest, the fsutil command
line tool (installed at least on my XP pro) manages and tests the
Journal to some degree.<br>
<br>
TSVNCache could use the USN journal and fall back on its traditional
mechanisms on FAT drives.&nbsp; Developers, would this solve the speed
problems?<br>
<br>
Cheers,<br>
Berwyn<br>
<br>
<div class="moz-signature">-- <br>
Check out our <b>winning design</b> in this <a
 href="http://www.nzfocusonhealth.com/finalists.html#2">Bronchoscope
Simulator</a>
for AirwaySkills (<a
 href="http://tvnz.co.nz/business-news/health-sector-gets-help-cracking-us-market-3286407/video">TV
coverage</a>).<br>
<br>
Berwyn Hoyt, <i>Electronic Solutions &amp; Business</i>&nbsp;&nbsp;--&nbsp;&nbsp;Brush
Technology<br>
<b>Ph:</b> +64 3 359 2101&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Mobile:</b> +64 21 045 7830<br>
<b>Web:</b> brush.co.nz<br>
<br>
</div>
<br>
</body>
</html>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2445024

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-05 01:58:21 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.