[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: SteveKing <stefankueng_at_gmail.com>
Date: 2005-05-27 08:31:56 CEST

2005/5/26, Molle Bestefich <molle.bestefich@gmail.com>:
> 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)

It already has 'idle' priority. There's no lower priority than that.

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

We can't do that *inside* the svn_client_status() function (without
changing the Subversion sourcecode). But we already do after each
folder.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri May 27 08:32:15 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.