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

Fwd: Does Subversion enable compression automatically under Apache

From: Ryan Bloom <rbloom_at_gmail.com>
Date: 2005-03-09 01:13:05 CET

I meant to send this to the list.

---------- Forwarded message ----------
From: Ryan Bloom <rbloom@gmail.com>
Date: Tue, 8 Mar 2005 19:12:44 -0500
Subject: Re: Does Subversion enable compression automatically under Apache
To: Moisei <moisei@gmail.com>

You need to remember that the compression is generally not a big help
for HTTP. There are a number of reasons for this, but basically
compression is only helping with the amount of data being transferred
over the network. For a local network, the network is generally not
the bottleneck, especially not for individual files.

Now, I will not pretend to be knowledgable at all about how SVN uses
HTTP, but if you have a lot of small files, HTTP is sending one file
at a time, so each file is compressed individually, and both client
and server take a hit to do that work.

Basically, I've never been a big fan of gzip compression for HTTP,
unless the content is already compressed, because for most
applications, the network isn't really the bottleneck unless you are
using a very slow connection, which generally isn't the case these
days. Especially not for revision control.

Just how much data is in your repository? How many files, and
megabytes. Also, I don't know how many threads the SVN client creates
when retreiving files, but parallelizing that work is likely to give a
better net effect than compression does.

Ryan

On Wed, 9 Mar 2005 00:10:16 +0200, Moisei <moisei@gmail.com> wrote:
> Thank you all for you replies, unfortunately, it does not help.
> This is probably my fault, I did not explain myself well, so I try again:
> I run checkout from scratch (empty directory) with and without mod_deflate,
> the time it takes is exactly same (about 40 min.).
> Neither client side configuration nor "deltas" are not the issues here,
> because I have to receive ALL the files FROM the server to my working copy.
>
> If somebody tried or using mod_deflate with subversion, I would
> appreciate any feeback.
>
> Thanks again,
> Moisei.
>
>
> On Tue, 8 Mar 2005 22:53:33 +0100, Erik Huelsmann <ehuels@gmail.com> wrote:
> > On Tue, 8 Mar 2005 23:40:27 +0200, Moisei <moisei@gmail.com> wrote:
> > > Thank you, Mark.
> > > I do my homework before I post to the list, so indeed I enabled and configured
> > > the mod_deflate with large memory buffer size and high compression level.
> > > Surprisingly, it takes the exactly same time to checkout quite large code-base.
> > > This is why I've asked whether it is already compressed, I just cannot find any
> > > another explanation.
> >
> > Also see the ~/.subversion/servers file to enable the http-compression
> > option in the client.
> >
> > HTH,
> >
> >
> > Erik.
> >
>
> --
> Best Regards,
> Moisei
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

--
Ryan Bloom
rbb@apache.org
rbb@rkbloom.net
rbloom@gmail.com
-- 
Ryan Bloom
rbb@apache.org
rbb@rkbloom.net
rbloom@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 9 01:22:34 2005

This is an archived mail posted to the Subversion Users mailing list.