<!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. 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.<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>. The MS indexing and service uses it for tracking
file changes. There is <a
href="http://msdn.microsoft.com/en-us/library/aa365736%28VS.85%29.aspx">MS
code</a> 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.<br>
<br>
TSVNCache could use the USN journal and fall back on its traditional
mechanisms on FAT drives. 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 & Business</i> -- Brush
Technology<br>
<b>Ph:</b> +64 3 359 2101 <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