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

Svn perf curiosity

From: Paul Hammant <paul_at_hammant.org>
Date: Mon, 31 Oct 2016 08:27:29 -0400

I'm curious as to what could make a checkin of a single 10MB file take 3 mins on a Linux machine, when it is 2 seconds on a Mac.
 
I'm able to reproduce it easily:
 
  svnadmin create --fs-type fsx fsxRoot
  svn checkout file://$(pwd)/fsxRoot testLocalCheckout
  cd testLocalCheckout
  openssl rand 10000000 | base64 > banana
  svn add banana
  time svn ci -m "test banana"
 
The same (physical not virtual) Linux machine isn't generally slow - the creation of the file and the copying of it around, takes a couple seconds on that machine, and there's no load on the box at any time. The drive is SSD, but the same poor perf happens if you run the same test on USB3 drive attached.
 
The results are the same for FSFS and FSX, by the way.

Svn is at v1.9.3 on that Ubuntu 16.04 box - but I couldn't see anything in the changelog that noted it as slow that was fixed in v1.9.4.
 
- Paul
Received on 2016-10-31 13:27:36 CET

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