[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnserve poor commit performance

From: Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de>
Date: Sat, 24 Dec 2016 11:15:25 +0100

On 2016-12-23 13:07 (+0100), Daniel Shahaf <danielsh_at_apache.org> wrote:
> Jakub Petr wrote on Thu, Dec 22, 2016 at 10:28:24 +0100:
> > Why the "transmitting phase" should take so long?
>
> Usually it's because of virus scanners intercepting the disk operations
> (opening/writing files).
>
> What makes you think the slowness is svnserve's fault? Is the commit
> faster over file:// than over svn://localhost?

There is more that can be tried to reduce I/O and to check
whether there it results in improved performance:

* use 'svn import' instead of add/commit (no pristine store update)
* in fsfs.conf, disable rep-sharing (no temp. sha1 files)
* 'svnadmin create --compatible-version 1.8' (no index file updates)
* add '-c 0' to svnserve's command line (may save ~1 minute)
* add '-M 100' to svnserve's command line (make sure large flat
   directories are cached properly)
* distribute the files over multiple directories - in case they are
   currently in one "flat" directory

-- Stefan^2.
Received on 2016-12-24 11:16:25 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.