[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: Jacek Materna <jacek_at_assembla.com>
Date: Fri, 7 Jul 2017 08:54:21 +0200

Paul,

Got back from Ops. We don't have anything "special" setup other than what already been mentioned. Overall the defining metrics for commit performance are: ssh vs https, rtt on the network path and "randomness" of the blobs going up.

No magic params on our end. We have it tuned the max via the metrics above.

Most of the real world use cases require the default settings so curl, etc isn't seen a lot in the wild.

Overall Dav and http is a poor transport in general for SVN.

Hope it helps.

--
Jacek Materna
Assembla
CTO
+1 210 410 7661
+48 578 296 708
Sent from my Mobile Device
> On Jul 7, 2017, at 1:10 AM, Paul Hammant <paul_at_hammant.org> wrote:
> 
> 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 08:54:31 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.