Applies to: VisualSVN Server 3.6 and later

VisualSVN Server allows tuning several performance-related settings. You can find the settings on the Performance tab in VisualSVN Server Properties dialog. The available settings are briefly described below.

Memory for shared object cache (MB)

Shared object cache contains various metadata such as repository tree entries. Metadata caching helps reduce disk I/O and improve performance. On server operating systems, the cache size is 128 MB, by default. This shared object cache size is optimal in most cases.

Note When VisualSVN Server is installed on a client operating systems such as Windows 10, the default size of shared object cache is 32 MB.

When to adjust the size of the shared object cache

It is recommended to increase the size of the shared object cache in the following cases:

  • The repositories contain subtrees with 10,000 or more direct descendants (for example, more than 10,000 entries in the tags/ folder).
  • VisualSVN Server hosts many active projects.

The size of shared object cache should not be greater than half of the server's physical RAM. With VisualSVN Server 3.6 it is also generally impractical to increase the size of shared object cache to be more than 1024 MB (1 GB).

Adjusting performance settings via VisualSVN Server Manager

Follow these steps to change the performance settings through the management console:

  1. Start VisualSVN Server Manager console.
  2. Click Action | Properties.
  3. Click Performance tab.
  4. Adjust the required settings.
  5. Click Apply.

Adjusting performance settings via VisualSVN Server PowerShell

The performance settings can be changed by running Set-SvnServerConfiguration VisualSVN Server PowerShell cmdlet. For example, run the following PowerShell command to configure VisualSVN Server with 256 MB shared memory object cache:

PS C:\> Set-SvnServerConfiguration -SvnInMemoryCacheSize 256

Learn more about Set-SvnServerConfiguration cmdlet in the dedicated section of the article KB88: VisualSVN Server PowerShell Cmdlet Reference

Last Modified: