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

Re: Why is subversion so slow?

From: Christian Daudt <csd_ob_at_daudt.org>
Date: 2003-04-09 01:34:46 CEST

On Tuesday 08 April 2003 15:25, Greg Stein wrote:
> On Tue, Apr 08, 2003 at 02:37:43PM -0700, Christian Daudt wrote:
> > Look at your memory consumption if you're using it via http - swapping
> > might explain the difference. httpd still grows to many hundreds of
> > megabytes regularly when I'm using it (my simple solution was: install
> > more memory ;-)
>
> Hunh? It shouldn't do that at all. What version are you using?
>

httpd 2.0.44
svn 5393

 Using this setup I just sized a linux-kernel checkout and httpd grew to
~200MB (between 3 procs), svn grew to ~120MB (ran it twice restarting httpd
in between to be sure).

 The original poster mentions a server with 600MB and a client with 512MB. If
there is anything else running on them the above sizes can cause heavy
swapping (I speak from experience).

> No... the speed is simply due to a *lot* of I/O on the client. We also make
> quite a few roundtrip requests to the server, and also some needless
> requests. These things add up.
>

 IMHO this by itself is hard to explain a 2 second vs 2 minute difference.

> We'll get to each of these things in time. CVS has had years to optimize,
> but we're only just beginning.

 I think that this simply a matter of plugging some memory leaks (in httpd and
svn). I would like to help and track them down but my current project load
doesn't allow for that so I took the cheap way out - a few bucks for a 512MB
DIMM and the problem largely went away.
 The fact that I'm already using subversion is testament to me believing that
these issues will be resolved in time - I must say I've been quite impressed
with the responsiveness of the subversion team and that's what got me to
start introducing it into a production environment.

 cheers,
  csd

>
> Cheers,
> -g

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 9 01:35:48 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.