For a Linux or Windows system, what tricks do you do to optimize your Subversion server?

The following are my current tricks for a Linux system serving over Apache with HTTPS and backed by Active Directory using LDAP authentication.

  • thanks for the reminder about KeepAlive! It is indeed very helpful: I am presently doing svnsync between europe and Asia, and 'KeepAlive On' doubled the performance!
    – phil_w
    Apr 3, 2012 at 13:20

3 Answers 3


I can't say much about the performance difference between BDB and FSFS, but I can definitely say that FSFS is far more stable. I'd suggest using it over BDB simply to preserve your sanity. When we had a largish repos running on BDB, we had to run recovery on it at least once a week, often several times. It was irritating. Now that we use FSFS, it's been rock solid.

  • 2
    +1 I wish I could give you more votes. If you're using BDB, you're doing it wrong. Had so many problems when using BDB. Since using fsfs, we've had none. Oct 31, 2009 at 4:47
  • Thanks for the input, I've been running FSFS for the past 3 years, when ever it switched over to the default, so haven't hit such an situation (thankfully). Good to know I shouldn't bother. :D Oct 31, 2009 at 18:35
  • One of the primary reasons for me using SVN was that it had FSFS repos. I use to build the bleeding edge just for this feature.
    – d-_-b
    Jul 10, 2011 at 2:04

"svnadmin pack" is a neglected documentation command, but ran it often may be helpful especially if your commits are small.


I measured significant performance improvements when using svnserve instead of mod_dav_svn and Apache.

I performed some measurements in order to analyse repository performance in a project I'm working in, and the result was to setup an svnserve server in addition to the previously used Apache server. See http://www.ohrner.net/software/tipps_en.php, Section "Subversion Performance" for reference and measurement results.

I realise that using svnserve is not always an option, but often it is, at least if used in addition to WebDAV / DeltaV access, and if it is, it may be rewarding.

Gunter Ohrner

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.