[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: Jeff Shanab <jshanab_at_jfs-tech.com>
Date: Mon, 3 Nov 2014 15:26:32 -0500

It shows in the task manager as thread prioriy normal. Just curious if it
changes it's priority dynamically or if task manager does not bother to
display that finer grained priority level .

I can see where you would not want to impact compile but when you are not
compiling the OS should speed up and use the I/O capacity that it has to
get the work done. I certainly do not see that. I/O utilization stays low
and the cache is slow. (Maybe I need a more mature OS)

(it has 50% to do with CPU ;-) I am saying my machine has CPU to spare,
memory to spare, and I/O speed to spare and it still is slow)

On Mon, Nov 3, 2014 at 3:03 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:

> 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].
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-11-03 21:26:37 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.