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

Re: samba performance with svn?

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 24 Sep 2013 18:55:47 +0200

On Tue, Sep 24, 2013 at 11:43:35AM -0500, Les Mikesell wrote:
> I think this has been discussed here previously but I don't remember
> any definitive conclusions so I'll ask again. We now have some
> Windows users with samba-mounted disk space and large svn checkouts
> and commits are very slow compared to local disk access. Are there
> any samba server settings that would be likely to help with the speed?

The new-in-1.8 exclusive-locking option in ~/.subversion/config
can help performance on network filesystems (see below).

I would recommend against using samba for working copy storage though,
see http://sqlite.org/faq.html#q5 which calls out some issues with
Windows network filesystems. I don't know if these apply equally to
samba but I wouldn't rule that out.

[[[
### Section for configuring working copies.
[working-copy]
### Set to a list of the names of specific clients that should use
### exclusive SQLite locking of working copies. This increases the
### performance of the client but prevents concurrent access by
### other clients. Third-party clients may also support this
### option.
### Possible values:
### svn (the command line client)
# exclusive-locking-clients =
### Set to true to enable exclusive SQLite locking of working
### copies by all clients using the 1.8 APIs. Enabling this may
### cause some clients to fail to work properly. This does not have
### to be set for exclusive-locking-clients to work.
# exclusive-locking = false
]]]
Received on 2013-09-24 18:56:33 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.