Jump to content


Photo
- - - - -

installing TortoiseSVN 1.6.1 slowed windows explorer alot !


  • Please log in to reply
14 replies to this topic

#1 Antoine Châlons

Antoine Châlons

    The 500 club

  • Members
  • PipPipPipPipPip
  • 589 posts
  • Location:France
  • Version:LabVIEW 2012
  • Since:1999

Posted 25 April 2009 - 09:33 AM

Hi all,

I've just upgraded from TortoiseSVN 1.6.0 to 1.6.1, then restarted my computer and now my windows explorer will take between 5 and 10 seconds just to open a folder...
If then I open the task manager and kill the process "TSVNCache.exe" windows explorer goes back to normal speed.

I started using TortoiseSVN only a month ago so I don't have alot of experience with it and I'm a bit scared now.. Anyone has the same behaviour ?


____________________________
most boring end of the world ever!


#2 jdunham

jdunham

    Extremely Active

  • Members
  • PipPipPipPipPip
  • 628 posts
  • Location:San Francisco, CA
  • Version:LabVIEW 2011
  • Since:1994

Posted 25 April 2009 - 10:12 AM

QUOTE (Antoine Châlons @ Apr 24 2009, 01:12 AM)

I've just upgraded from TortoiseSVN 1.6.0 to 1.6.1, then restarted my computer and now my windows explorer will take between 5 and 10 seconds just to open a folder...
If then I open the task manager and kill the process "TSVNCache.exe" windows explorer goes back to normal speed.

I started using TortoiseSVN only a month ago so I don't have alot of experience with it and I'm a bit scared now.. Anyone has the same behaviour ?

I googled "tortoise 1.6.1 performance" and the mailing list archives from earlier this week show that there is some kind of problem with the latest build. You could either pitch in and help them debug it or else roll back to 1.6.0.

I have used it for a couple years without any major problems. Long ago it was really slow, but then the cache was rewritten and it got a lot better (until last week, I guess). Anyway, don't give up!



#3 TobyD

TobyD

    The 500 club

  • Premium Member
  • 648 posts
  • Location:Arlington, WA
  • Version:LabVIEW 2012
  • Since:2006

Posted 25 April 2009 - 05:04 PM

QUOTE (Antoine Châlons @ Apr 24 2009, 01:12 AM)

I started using TortoiseSVN only a month ago so I don't have alot of experience with it and I'm a bit scared now.. Anyone has the same behaviour ?


I'm still at 1.5.9, but thanks for the heads up!


Toby Dayley

#4 PaulG.

PaulG.

    The 500 club

  • Members
  • PipPipPipPipPip
  • 833 posts
  • Location:Greater Metro Detroit, MI, USA
  • Version:LabVIEW 2011
  • Since:1998

Posted 25 April 2009 - 05:48 PM

From the downloads page:

"We got reports that upgrading sometimes does not work properly. If you have problems after updating TortoiseSVN, just uninstall it, reboot, and then install it again."

No thanks. :thumbdown:


"'Value-added data'? What is that? Numbers fortified with art"? -Jon Stewart

#5 gmart

gmart

    Very Active

  • NI
  • 151 posts
  • Version:LabVIEW 8.6
  • Since:2000

Posted 25 April 2009 - 06:02 PM

Perforce has a plugin for Windows Explorer as well. It installs automatically. I now do not install it since one of the early releases had a problem hanging my computer when the server was down. Anything that integrates to Explorer that can connect to a remote server is asking for trouble in my book. Of course that's how Tortoise works (and has worked fine for many releases) but I'm still leery of Explorer plugins.



#6 PJM_labview

PJM_labview

    The 500 club

  • JKI
  • 758 posts
  • Version:LabVIEW 2009
  • Since:1998

Posted 25 April 2009 - 07:38 PM

I am still at 1.5.2.
In the past I noticed that the cache will go crazy on occasion (especially when you have a lot of code in a folder). I always keep an handy shortcut to a bat file that has the following "taskkill /f /im TSVNCache.exe".

Note: I don't believe I used this recently (for sure not in the last 6 months if not longer).



#7 crelf

crelf

    I'm a LAVA, not a fighter.

  • V I Engineering, Inc.
  • 5,742 posts
  • Version:LabVIEW 2012
  • Since:1993

Posted 25 April 2009 - 08:17 PM

QUOTE (TobyD @ Apr 24 2009, 11:43 AM)

I'm still at 1.5.9, but thanks for the heads up!

Yeah - we're still on 1.5.9 for now - we upgraded to 1.6.0 a couple of months ago and had issues, so we rolled back.


post-181-1170858537.png


#8 Yair

Yair

    Extwemely Active

  • Members
  • PipPipPipPipPipPip
  • 2,644 posts
  • Version:LabVIEW 2009
  • Since:2003

Posted 26 April 2009 - 07:19 PM

QUOTE (gmart @ Apr 24 2009, 07:41 PM)

Of course that's how Tortoise works

It doesn't as far as I know. The cache is fully local (the code is always checked out and you have a local copy to revert to or diff against) and I assume TSVN doesn't attempt any sort of connection to the server until you initiate a relevant action. I didn't check this, but it makes sense and I never had a problem when working with my disconnected laptop. This local cache is one of the reasons I like Subversion so much, as it makes working with LabVIEW code very fast, as compared to VSS, for instance, and allows you to see the modified files immediately.



#9 Antoine Châlons

Antoine Châlons

    The 500 club

  • Members
  • PipPipPipPipPip
  • 589 posts
  • Location:France
  • Version:LabVIEW 2012
  • Since:1999

Posted 28 April 2009 - 01:38 PM

I've uninstalled and re-installed TSVN 1.6.1 and it seems to be better.
Once a while, when my windows explorer starts being slow I run a batch file containing this :

@echo off
taskkill /f /im TSVNCache.exe
start TSVNCache.exe

and it's fine again.

[EDIT]
I'm just thinking now... maybe it's not really a good idea to do that.. anyone knows if it could affect the operation of TVSN and screw things around?


____________________________
most boring end of the world ever!


#10 jdunham

jdunham

    Extremely Active

  • Members
  • PipPipPipPipPip
  • 628 posts
  • Location:San Francisco, CA
  • Version:LabVIEW 2011
  • Since:1994

Posted 28 April 2009 - 06:22 PM

QUOTE (Antoine Châlons @ Apr 27 2009, 05:17 AM)

I'm just thinking now... maybe it's not really a good idea to do that.. anyone knows if it could affect the operation of TVSN and screw things around?

I suspect you are fine. AFAIK, TSVNCache is just a performance enhancement. It's job is to keep all the SVN glyphs on your icons accurate, so that if you change one file five subfolders down, then all if its parents in any open Explorer window will change their glyphs to show they've been modified. It's all about the icons and has nothing to do with your data or your working copy except for monitoring the status. I don't see how killing it could cause any problem except the icons are slower to update or fail to refresh themselves.



#11 PJM_labview

PJM_labview

    The 500 club

  • JKI
  • 758 posts
  • Version:LabVIEW 2009
  • Since:1998

Posted 28 April 2009 - 09:39 PM

I agree with Jason, there is no harm in doing this.

By the way I believe the TSVNcache restart itself automatically (at least for me it does) so I think you can drop the "start TSVNCache.exe".

PJM



#12 armin

armin

    One hit wonder!

  • Members
  • 1 posts

Posted 30 April 2009 - 02:17 PM

I experienced this exact same problem recently. I suggested some workarounds and performance fixes here. Basically you can turn the status cache off (which worked great for me as I didn't use the icon overlays very often), or include/exclude particular paths for the icon overlays to be used in. Hope that helps.



#13 Antoine Châlons

Antoine Châlons

    The 500 club

  • Members
  • PipPipPipPipPip
  • 589 posts
  • Location:France
  • Version:LabVIEW 2012
  • Since:1999

Posted 14 May 2009 - 09:38 AM

Version 1.6.2 is out and the change log says :

[...]
- BUG: Segfault in TSVNCache. (Stefan)
[...]
- BUG: Deadlock in the TSVNCache.exe process. (Stefan)

So hopefully this issue has been solved.. will let you know.


____________________________
most boring end of the world ever!


#14 TobyD

TobyD

    The 500 club

  • Premium Member
  • 648 posts
  • Location:Arlington, WA
  • Version:LabVIEW 2012
  • Since:2006

Posted 14 May 2009 - 05:01 PM

QUOTE (Antoine Châlons @ May 13 2009, 01:17 AM)

Version 1.6.2 is out and the change log says :

[...]
- BUG: Segfault in TSVNCache. (Stefan)
[...]
- BUG: Deadlock in the TSVNCache.exe process. (Stefan)

So hopefully this issue has been solved.. will let you know.


I upgraded from 1.5.9 to 1.6.2 yesterday. So far I haven't had any issues.


Toby Dayley

#15 Antoine Châlons

Antoine Châlons

    The 500 club

  • Members
  • PipPipPipPipPip
  • 589 posts
  • Location:France
  • Version:LabVIEW 2012
  • Since:1999

Posted 14 May 2009 - 10:57 PM

QUOTE (TobyD @ May 13 2009, 05:40 PM)

I upgraded from 1.5.9 to 1.6.2 yesterday. So far I haven't had any issues.


yep, been running 1.6.2 for a whole day and everything seems to be fine.


____________________________
most boring end of the world ever!