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

Re: svn+ssh <-> svnserve <= speed concerns

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Mon, 28 Jul 2008 13:28:38 -0400

Marko Käning wrote:
> I just wondered whether using svnserve might be slower than svn+ssh...

I would be *extremely* surprised if svnserve were not /significantly/
faster because for every transaction under svn+ssh, you have to:

1) open up an ssh connection
2) spawn a one-time svnserve connection on the remote box
3) shutdown the ssh connection (actually kill it to be precise)

It's worse than that, though, since certain svn actions require multiple
connections, which multiplies those three steps rapidly.

In addition, it is a known bug that svn doesn't reuse existing ssh
sessions (which ssh2 supports through multiple channels), so even that
minor improvement is unavailable...

> (Unfortunately I can't test this myself yet, since I am still unable to
> get svnserve up and running as expected, see thread "SVN+SSH tunneling
> problem".)

Did you put all of the authorized_keys stuff on a *single line* as you
were told to? I use this feature all the time and have no problems
whatsoever...

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-28 19:29:12 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.