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

Re: [TSVN] TSVNCache too resource intensive on large working copies

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2005-05-26 23:09:36 CEST

SteveKing wrote:
> Well, it will slow down the system a little when you start up. Depending
> on your working copy, I guess this could take about ten minutes. After
> that, the cache knows the status of all the files in the working copy
> and will stop crawling. It will start crawling again as soon as you
> browse the working copy with the explorer, but 're-crawling' is a lot
> faster and you won't really notice that.

So if you happen to have a IO subsystem that outperforms your CPU,
your system will come to a complete halt on the initial crawl, is that
right?

I see a couple of ways to counter that, from "easiest" to "hardest":
 1. Lower the process priority of TSVNCache (it should be lower than
normal prio since it's basically a background process)

 2. Halt a few microseconds between every 5 IO operations.

 3. Watch the Windows NT Performance counter "Physical Disk / _Total /
Avg. Disk Queue Length. Whenever it's value reaches 1:
 - sleep for 1 second
 - check the counter again
 - if it's still 1 or above, sleep some more
 - etc.

My idea about the IO subsystem outperforming the CPU may be wrong.....
We'll need some performance specs on the systems affected - not sure
which program could do that. The Sandra benchmark suite perhaps.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu May 26 23:09:51 2005

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.