Improving TortoiseSVN Performance

by Nate on April 15, 2008

I’ve been having some serious TortoiseSVN performance issues lately, including 30-45 second system freezes when using Windows Explorer to navigate through my system directories, so I decided to try and dig in a bit to figure out what was going on. Here’s what I found:

A lot of TortoiseSVN’s overhead comes from the TSVNCache process. This process is responsible for tracking changes in versioned files and displaying status information back to the user through the Windows Shell. Unfortunately, it seems that the TSVNCache process is a bit of a resource hog and doesn’t work as efficiently as one would hope.

Here are some tips to help alleviate the issues. After implementing these two “fixes”, my performance issues went away:

Set the TSVNCache.exe process to a lower priority:

  • Open up the Windows Task Manager (Ctrl-Alt-Del then press “Task Manager” button).
  • Under the “Processes” tab, sort by “Image Name” and then right-click on “TSVNCache.exe”.
  • Hover over “Set Priority” and select “Low”.

Turn off Icon Overlays, other than where they are explicitly needed (e.g. the directory where your repositories are located):

  • Open up the TortoiseSVN settings dialog (on XP, Start > All Programs > TortoiseSVN > Settings (32 and/or 64 bit)).
  • Click on “Icon Overlays” in the settings tree on the left-hand side of the dialog.
  • Check the “Show overlays and context menu only in explorer” box.

tortoisePerformance2

Narrow the icon overlays down to only your Subversion directories using the “Exclude paths:” and “Include paths:” dialogs at the bottom. Here are my settings:

tortoisePerformance1

Here’s where I found most of the information: http://www.nabble.com/Disable-TSVNCache.exe-to-minimize-disk-IO–to2385446.html.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post:

Next post: