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

Re: Expected speed of commit over HTTP?

From: Paul Hammant <paul_at_hammant.org>
Date: Thu, 6 Jul 2017 19:10:05 -0400

With autorevision set to 'on' and curl:

Reverence speed for boot drive to USB3 spinning platter 4TB thing:

paul_at_paul-HiBox:~$ time cp /home/paul/clientDir/seven
/media/paul/sg4t/sevenb
real 0m1.539s

Create a new 501MB file on Svn Server:

paul@paul-HiBox:~$ time curl -u paul:myPassword http://192.168.1.178/svn/
svnRepo1/twoB --upload-file /home/paul/clientDir/seven
<title>201 Created</title>
real 0m49.442s

*I ran that a couple more times and it was up there at 50s*

Needlessly overwrite 501MB file (file is unchanged) on Svn Server:

paul@paul-HiBox:~$ time curl -u paul:myPassword http://192.168.1.178/svn/
svnRepo1/twoB --upload-file /home/paul/clientDir/seven
real 0m13.426s

Change the compression-level=0

paul_at_paul-HiBox:~$ sudo nano /media/paul/sg4t/svnParent/
svnRepo1/db/fsfs.conf

Create a new 501MB file on Svn Server:

paul@paul-HiBox:~$ time curl -u paul:myPassword http://192.168.1.178/svn/
svnRepo1/twoC --upload-file /home/paul/clientDir/seven
<title>201 Created</title>
real 0m15.312s

Yay - a modest speed boost!!!

Restart Apache - which I didn't do before:

paul_at_paul-HiBox:~$ systemctl restart apache2

Create a new 501MB file on Svn Server:

paul@paul-HiBox:~$ time curl -u paul:myPassword http://192.168.1.178/svn/
svnRepo1/twoD --upload-file /home/paul/clientDir/seven
<title>201 Created</title>
real 0m14.925s

Conclusion:

With compression-level=5 (default), there's is a 1:33 cp to curl-PUT ratio.
With compression-level=0, there's is a 1:10 cp to curl-PUT ratio.

Is there there are other alluring settings, such as...

enable-rep-sharing = false
enable-dir-deltification = false

... but they didn't yield an improvement.

Thanks for all the replies, gang.

- Paul
Received on 2017-07-07 01:10:18 CEST

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

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