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

Re: r1397773 - rep sharing in a txn - /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Sun, 14 Oct 2012 00:06:33 +0100 (BST)

Stefan Fuhrmann wrote:

> Julian Foad wrote:
>>> The idea is simple. When writing a noderev to the txn folder,
>>> write another file named by the rep's SHA1 and store the rep
>>> struct in there. Lookup is then straight-forward.
>>
>> Hi Stefan.  What's the scalability?  I'm wondering about the
>> big-O performance of storing 10000 or 100000 files in the dir.
>
> Yes, I don't like putting that many files into a single folder either.
> However, we do that already today by creating a file for each
> noderev. I.e. my change at worst doubled the number of files in
> the txn folder.

OK; in that case I'm satisfied that if there is a scalability problem then it was already a problem before this change.

- Julian
Received on 2012-10-14 01:07:09 CEST

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