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