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

mod_dav_svn memory usage

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-05-04 17:16:12 CEST

Hi,

I was doing some tests with ra_dav and many directory entries. Using
trunk, mod_dav_svn over fsfs will use 295MB memory per apache instance
for a directory with 3200 empty directories in it when running svn ls
-v, and this information seems to be cached in some global pool,
because memory usage doesn't go down when the request is over. So,
running a few ls commands, each of which were scheduled on a new
Apache process, gae me some nice thrashing experience:-)

I wonder if this has something to do with the direntry cache in fsfs.
(I'll try over bdb to see if that makes any difference). While it is
true that we will always require memory proportional to the directory
size, 90 kB per directory entry seems a little absurd to me. Anyone
has any ideas?

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 4 17:17:05 2006

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.