Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC7F6FC7B for ; Fri, 25 Apr 2014 20:27:04 +0000 (UTC) Received: (qmail 41610 invoked by uid 500); 25 Apr 2014 20:26:43 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 41545 invoked by uid 500); 25 Apr 2014 20:26:38 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 41536 invoked by uid 99); 25 Apr 2014 20:26:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 20:26:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of brane@wandisco.com designates 74.125.83.45 as permitted sender) Received: from [74.125.83.45] (HELO mail-ee0-f45.google.com) (74.125.83.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 20:26:33 +0000 Received: by mail-ee0-f45.google.com with SMTP id d17so3107043eek.32 for ; Fri, 25 Apr 2014 13:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wandisco.com; s=gapps; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=Mcw5QLjiAWEcrG4IA1lgZfVf/gCq0tDcwZ1h1U0SBUM=; b=luOAcwPvCtB7/5+oADDpD4LSvzWh4nAbvppC1F+qnANwXihDl+yYYuiZ3mLrkHztUg GpcNPgw1L8PEbFcoLG9UmAoKGbUOgkl8H0vo867FIyYwgJJeA3EIXgJTnVAZigxx6+0B V1T3mTq6d0LqkHRa9v/RGwU4zC6WduZXR2dl0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type; bh=Mcw5QLjiAWEcrG4IA1lgZfVf/gCq0tDcwZ1h1U0SBUM=; b=TIQ8WP5LjFo7FjM9rbDdZuecSmvVcf/SVdhEgUdorzbPCRei6Dwxqljp20bE4Hl0BT pSEE0Mjt+W2OrWbAdKuj/HAxHcb4ImR0Km4w7l1cNKel1Id4QpY1rf5IJ4j+zUOQYU0h lYPS5allCYTeLsr2VsPXg8ZhLZlO64gAMLukgL/p8cP2uhQpWuiKbHLDSNuLd+FUJRYY O/A5wjVoRvHQTMBt8QN8tWdbkrcsH+AjzCWL8ujfLiwOBXm4ax7dNB3BeuW94MEibK7a sFouUQIL5+oeKqQs15aBU7XzTaWz14Li/v9vNMJgiWFfKxDhpJoNThu3PJpSO2+4vBFg huiw== X-Gm-Message-State: ALoCoQkXcfkB9W2rpW4IAeBavPC0iCPW4FMm0pt6ZG6Z55/PbN+r0Fld8YK8MeJBjn9y/eY3vgNy X-Received: by 10.14.6.195 with SMTP id 43mr2582165een.101.1398457570450; Fri, 25 Apr 2014 13:26:10 -0700 (PDT) Received: from zulu.local ([77.234.149.122]) by mx.google.com with ESMTPSA id h47sm27511910eey.13.2014.04.25.13.26.09 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 25 Apr 2014 13:26:09 -0700 (PDT) Received: from zulu.local (localhost [IPv6:::1]) by zulu.local (Postfix) with ESMTP id B908AAF3D628 for ; Fri, 25 Apr 2014 22:26:08 +0200 (CEST) Message-ID: <535AC4E0.6050709@wandisco.com> Date: Fri, 25 Apr 2014 22:26:08 +0200 From: =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= Organization: WANdisco User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: users@subversion.apache.org Subject: Re: Subversion Windows Performance compared to Linux References: <24735253.225072.1398445768181.JavaMail.root@naumenko.ca> In-Reply-To: <24735253.225072.1398445768181.JavaMail.root@naumenko.ca> Content-Type: multipart/alternative; boundary="------------030201020407010202030203" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------030201020407010202030203 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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@wandisco.com --------------030201020407010202030203 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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@wandisco.com
--------------030201020407010202030203--