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

Re: Subversion Windows Performance compared to Linux

From: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 25 Apr 2014 22:26:08 +0200

On 25.04.2014 19:09, Roman Naumenko wrote:
>> That was a known consequence of moving to SQLite for storage of the
>> metadata. SVN 1.8 offers a solution for those that can use it:
>> http://subversion.apache.org/docs/release-notes/1.8.html#exclusivelocking
> Mark, thank for the link. There is indeed a nice performance boost to the client with exclusive access.

Anyone who insists on using Subversion on NFS, whether as client or
server, should be aware of two things:

  * File locking is, at best, flaky on NFS (even NFSv4+); and it's
    always slow. This will affect the working copy.
  * NFS does not guarantee that all clients see renames as atomic
    operations, which affects both working copy and repository, and in
    the worst case, can cause corruption. This is more likely if you
    allow both local and remote access to the same files.

In short, no-one should ever assume that NFS behaves as a local file
system; and even less complain when it doesn't. To be fair, CIFS isn't
much better. Furthermore, these limitations and caveats are not specific
to Subversion.

If you absolutely must put your working copies or repositories on
non-local storage, you should use a SAN with a real, multi-homed
distributed filesystem. Anything else is half-baked, at least as far as
data integrity is concerned.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-04-25 22:27:09 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.