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

Re: skels in string table

From: Blair Zajac <blair_at_orcaware.com>
Date: Wed, 11 Jun 2008 15:54:23 -0700

Mark Phippard wrote:
> On Wed, Jun 11, 2008 at 5:57 PM, Blair Zajac <blair_at_orcaware.com> wrote:
>> Yes, if you have 20,000 entries in a single directory, then in an fsfs
>> backend, a single modification to one of these entries or a child ends up
>> creating a 700 kByte revision. Ouch!
>>
>> In our svn backend, we're now md5 hashing entries into a one directory deep
>> hash buckets, using 30 buckets per directory.
>
> This is a custom Subversion filesystem?

No, just a normal Subversion filesystem. I wrote an RPC layer using Ice to
expose svn_fs.h over the network. The RPC layer splits input paths on /'s, for
each path element prepends one new directory with a name based on the md5 of the
path element and then joins all of them back together before using any functions
in svn_fs.h.

Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-12 00:54:50 CEST

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.