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

Re: Give TSVNCache more CPU

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 03 Nov 2014 21:03:56 +0100

On 01.11.2014 16:53, Jeff Shanab wrote:
> Everything I see is about reducing TSVNCache processes impact. Using
> "lowest possible priority", etc.
>
> I have 8 3.6ghz cores and 12G of ram and a solid state drive for the OS.
> I really need to increase TSVNCache process priority or otherwise give
> it a boost.
>
> I have a lot of repos each with a lot of files. and it is often taking
> 1-30 minutes (Yes I said minutes) for the icon overlays to update. The
> CPU's are practically idle during this time. Sometimes it is 10-20
> seconds, but this is a bit ridiculous.
>
> If i check the process priority it is set for normal.
>
> Windows 7 ultimate 64bit runing 64bit TortoiseSVN. 1.8.8

Since the cache does access the disk intensively, it is set to a
background priority.
See the docs for SetThreadPriority here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms686277%28v=vs.85%29.aspx

The priority we use in the cache is the MODE_BACKGROUND_BEGIN and
MODE_BACKGROUND_END while accessing the disk.

So it has nothing to do with CPU but with disk/resource access. If your
harddrive is already used intensively (e.g., if you compile a big
project), then the status cache is of course forced to wait. But you
wouldn't want the cache to interfere with your build and slow that down,
do you?

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest interface to (Sub)version control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3090762
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-11-03 21:03:16 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.