[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: Mark <mark_at_mitsein.net>
Date: 2006-12-15 16:50:34 CET

On 12/15/06, Erik Huelsmann <ehuels@gmail.com> wrote:
> 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.
>

I use authz, so "SVNPathAuthz Off" is not an option.
I never noticed the compression option. If I set it in the client
config, do I need the deflate filter in the httpd config? Also,
looking at mod_deflate docs, it looks like the directive is
"SetOutputFilter DEFLATE"

I'll try this out.

-- 
Mark
"Blessed is he who finds happiness in his own foolishness, for he will
always be happy."
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 15 16:51:21 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.