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

Re: performance: http[s] vs svn+ssh

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-12-15 12:39:14 CET

On 12/15/06, Mark <mark@mitsein.net> wrote:
> Some of my users have done some testing on my installation and have
> found that checkouts with svn+ssh are at least 4x faster than with
> http[s]. They used a pretty big repository (around 1 GB, dunno how
> big the working copy turns out to be). Have others using both http
> and svn+ssh found this performance difference to be the case? Am I
> missing some settings to make svn over http (webdav) faster?

Do you use authz access? If not, try adding "SVNPathAuthz Off" to your
location block. That should matter a lot.

Did you enable the output compression filter (AddFilter DEFLATE) for
*all* output in the location block? Although mod_dav_svn sends deltas,
they are embedded in one giant XML REPORT response body. To make the
binary data XML safe, mod_dav_svn needs to encode the content (which
it does by base64 encoding it).

Did you enable compression in the clients' configuration files? (~/.subversion/)

If you did all that, you'll still see a (big) difference between the
http: and the svn: protocols: http is stateless and therefore needs
more and bigger requests than the statefull svn protocol.

HTH!

Bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 15 12:39:56 2006

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.