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 Mon, 21 Nov 2016 01:09:05 GMT
OK, two things:

1. I was using UsbMount for the USB mounted hard drive, and it is slow by
default - writes are double-checked as they're written. Ref 'sync' in
https://github.com/hfuchs/usbmount/blob/master/usbmount.conf - so much time
lost :-(

MoreUtils' sponge (via pipe) made it faster to the same USB hard drive -
different low-level libc calls to openssl?

2. I made a mistake about the built in SSD - it was fast regardless,
despite previous advice.

- Paul


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