With autorevision set to 'on' and curl:

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

paul@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@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@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

Reply via email to