subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hammant <p...@hammant.org>
Subject Re: Svn perf curiosity
Date Sun, 13 Nov 2016 11:05:23 GMT
I created a Gist for this -
https://gist.github.com/paul-hammant/0581dd8062afbe1b6d19a42bba9a72dd

I wasn't hard for people to run the above, but it is a little easier now.

On Mon, Oct 31, 2016 at 8:27 AM, Paul Hammant <paul@hammant.org> wrote:

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

Mime
View raw message