You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jakub Petr <ja...@webexo.cz> on 2016/12/22 09:28:24 UTC

svnserve poor commit performance

Hi,

 

I am suprised by poor performance of svnserve and not sure how can I improve
it.

 

Test case

I am on a Windows 10 laptop with i7 and SSD. (tested on Windows server too
with similar performance)

 

I am running both server and client on the laptop - so it doesn't go through
the network.

*	6000 binary files in one directory
*	2,5 GB

*	Smallest file: 16 kB
*	Median file: 256 kB
*	Largest file: 16 MB

*	svn 1.9 with default fsfs.conf (I tried tweaking compression level
and block size but it just got worse)
*	I tried both CollabNet and TortoiseSVN distributions.

 

Then I execute from command line:

 

svn add *

svn commit -m "test"

 

Results

Commit takes ca 10 minutes and most of the time I see Transmitting file data
...

 

I can see in Resource Monitor that disk is doing something but it's not
fully utilized. I don't see any peaks on CPU/memory.

 

Why the "transmitting phase" should take so long?

 

Thanks

Jakub


Re: svnserve poor commit performance

Posted by Daniel Shahaf <da...@apache.org>.
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?