Applies to: VisualSVN Server 3.6
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.
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:
- Start VisualSVN Server Manager console.
- Click Action | Properties.
- Click Performance tab.
- Adjust the required settings.
- 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