You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Viktor Linder <vi...@grin.se> on 2007/04/03 14:05:36 UTC

Performance of file:// vs svn://

Hi!
My company is currently using svn using the file:// protocol on a 
Windows network share. The reason this was chosen was because of the 
simple authentication setup.
We are experiencing some performance issues, which has caused me to 
investigate if perhaps we should switch to using svnserve or Apache.

Has anyone seen any performance gains using svn:// over file://?
Our usage scenario is changes to many large binary files for 50+ users.

Thankful for any answer!

/Viktor Linder

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Performance of file:// vs svn://

Posted by Viktor Linder <vi...@grin.se>.
There has been no other issues than performance, but reading some of the 
other posts in this thread I realize that this may just be down to luck.
I will definitely switch to using svn://.

Thanks for your input.

/Viktor Linder

Brian Erickson wrote:
> I was told, back in January, that the file:// protocol was not suited
> for a multi-user enviroment.  Have you had any issues other than
> performance?
>
> Brian 
>
>   
>> -----Original Message-----
>> From: Erik Huelsmann [mailto:ehuels@gmail.com] 
>> Sent: Tuesday, April 03, 2007 11:14 AM
>> To: Viktor Linder
>> Cc: users@subversion.tigris.org
>> Subject: Re: Performance of file:// vs svn://
>>
>> On 4/3/07, Viktor Linder <vi...@grin.se> wrote:
>>     
>>> Hi!
>>> My company is currently using svn using the file:// protocol on a 
>>> Windows network share. The reason this was chosen was 
>>>       
>> because of the 
>>     
>>> simple authentication setup.
>>> We are experiencing some performance issues, which has caused me to 
>>> investigate if perhaps we should switch to using svnserve or Apache.
>>>
>>> Has anyone seen any performance gains using svn:// over file://?
>>>       
>> Did you? Did you try it at all? It's easy to test yourself: 
>> the svnserve program is the easiest server to set up...
>>
>>     
>>> Our usage scenario is changes to many large binary files 
>>>       
>> for 50+ users.
>>     
>>> Thankful for any answer!
>>>       
>> Your own use is the best test-case you'll ever find to answer 
>> these questions.
>>
>> bye, Erik.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>>     
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Re: Performance of file:// vs svn://

Posted by Brian Erickson <er...@BAUERCONTROLS.com>.
I was told, back in January, that the file:// protocol was not suited
for a multi-user enviroment.  Have you had any issues other than
performance?

Brian 

> -----Original Message-----
> From: Erik Huelsmann [mailto:ehuels@gmail.com] 
> Sent: Tuesday, April 03, 2007 11:14 AM
> To: Viktor Linder
> Cc: users@subversion.tigris.org
> Subject: Re: Performance of file:// vs svn://
> 
> On 4/3/07, Viktor Linder <vi...@grin.se> wrote:
> > Hi!
> > My company is currently using svn using the file:// protocol on a 
> > Windows network share. The reason this was chosen was 
> because of the 
> > simple authentication setup.
> > We are experiencing some performance issues, which has caused me to 
> > investigate if perhaps we should switch to using svnserve or Apache.
> >
> > Has anyone seen any performance gains using svn:// over file://?
> 
> Did you? Did you try it at all? It's easy to test yourself: 
> the svnserve program is the easiest server to set up...
> 
> > Our usage scenario is changes to many large binary files 
> for 50+ users.
> >
> > Thankful for any answer!
> 
> Your own use is the best test-case you'll ever find to answer 
> these questions.
> 
> bye, Erik.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Performance of file:// vs svn://

Posted by Erik Huelsmann <eh...@gmail.com>.
On 4/3/07, Viktor Linder <vi...@grin.se> wrote:
> Hi!
> My company is currently using svn using the file:// protocol on a
> Windows network share. The reason this was chosen was because of the
> simple authentication setup.
> We are experiencing some performance issues, which has caused me to
> investigate if perhaps we should switch to using svnserve or Apache.
>
> Has anyone seen any performance gains using svn:// over file://?

Did you? Did you try it at all? It's easy to test yourself: the
svnserve program is the easiest server to set up...

> Our usage scenario is changes to many large binary files for 50+ users.
>
> Thankful for any answer!

Your own use is the best test-case you'll ever find to answer these questions.

bye, Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Performance of file:// vs svn://

Posted by David James <ja...@cs.toronto.edu>.
On 4/3/07, Viktor Linder <vi...@grin.se> wrote:
> Hi!
> My company is currently using svn using the file:// protocol on a
> Windows network share. The reason this was chosen was because of the
> simple authentication setup.
> We are experiencing some performance issues, which has caused me to
> investigate if perhaps we should switch to using svnserve or Apache.
>
> Has anyone seen any performance gains using svn:// over file://?
> Our usage scenario is changes to many large binary files for 50+ users.

Hi Viktor,

Based on what I've read on this list, I expect that you will see
substantial performance and reliability improvements if you switch
from file:// access over a Windows network share to svn:// protocol.
The svnserve network server is very easy to setup, and is highly
optimized for remote access.

Unfortunately, I don't think it is ever safe to access Subversion
repositories over a Windows network share. Many users have reported
reliability problems in this scenario. The FSFS backend for Subversion
is designed to be accessed safely over NFS; this same guarantee does
not apply to Windows network shares which have very different
semantics, and have never been officially tested with Subversion.

See http://svn.haxx.se/users/archive-2007-03/0628.shtml for an example
of a Subversion repository which experienced reliability problems due
to being accessed over a Windows network share.

Cheers,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Performance of file:// vs svn://

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 3, 2007, at 17:54, Ed Hillmann wrote:

> On 4/4/07, Viktor Linder wrote:
>
>> My company is currently using svn using the file:// protocol on a
>> Windows network share. The reason this was chosen was because of the
>> simple authentication setup.
>> We are experiencing some performance issues, which has caused me to
>> investigate if perhaps we should switch to using svnserve or Apache.
>>
>> Has anyone seen any performance gains using svn:// over file://?
>> Our usage scenario is changes to many large binary files for 50+  
>> users.
>
> I was doing an investigation for work about moving from CVS to SVN.
> Long story short, we have some Perl apps that were using a cvs
> repository to make releases of files, and I was looking at the
> performance impact of moving to SVN.  So, this is Perl on a Unix
> environment.
>
> As part of this, I compared the same code working against a local
> repository (using the file:// url) with a remote repository (using the
> svn:// url).  Note, that the "remote" repository was on the same
> server, just going through the svnserve process.  I think (it was some
> time ago).
>
> The app used svn list, revprop_get, propget and cat commands, and I
> found that the performance was much faster when working against a
> local repository.

I can well imagine that in your scenario, Ed, file-protocol access  
will be faster than svn-protocol access, when the repository server  
is the same machine as the client. The file access is local to the  
machine, while the svn protocol introduces network overhead.

However, that is not Viktor's scenario. He was using the file  
protocol to access repositories on a remote server over a Windows  
network share, which is not optimized for Subversion communications,  
and there may be reliability issues as well when using a network  
share for a repository. Using the svn protocol here will likely help  
Viktor, since it will be replacing a bad general-purpose network  
protocol with a good special-purpose one.

> It may pay to give it a try and see if your mileage varies.

I agree Viktor should test it himself and reach his own conclusions.


-- 

To reply to the mailing list, please use your mailer's Reply To All  
function


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Performance of file:// vs svn://

Posted by Ed Hillmann <ed...@gmail.com>.
On 4/4/07, Viktor Linder <vi...@grin.se> wrote:
> Hi!
> My company is currently using svn using the file:// protocol on a
> Windows network share. The reason this was chosen was because of the
> simple authentication setup.
> We are experiencing some performance issues, which has caused me to
> investigate if perhaps we should switch to using svnserve or Apache.
>
> Has anyone seen any performance gains using svn:// over file://?
> Our usage scenario is changes to many large binary files for 50+ users.
>
> Thankful for any answer!
>
> /Viktor Linder

I was doing an investigation for work about moving from CVS to SVN.
Long story short, we have some Perl apps that were using a cvs
repository to make releases of files, and I was looking at the
performance impact of moving to SVN.  So, this is Perl on a Unix
environment.

As part of this, I compared the same code working against a local
repository (using the file:// url) with a remote repository (using the
svn:// url).  Note, that the "remote" repository was on the same
server, just going through the svnserve process.  I think (it was some
time ago).

The app used svn list, revprop_get, propget and cat commands, and I
found that the performance was much faster when working against a
local repository.

To give an idea of the difference, when our software cut a major
release (lots and lots of files), using a remote CVS repository took
95 minutes, a remote SVN repository took 25 minnutes, and a local SVN
repository took 10 minutes.

It may pay to give it a try and see if your mileage varies.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org