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

Re: Any FSFS rep-sharing experts out there?

From: Paul Querna <chip_at_force-elite.com>
Date: Tue, 6 Oct 2009 19:10:34 -0700

On Mon, Oct 5, 2009 at 4:31 PM, David Glasser <glasser_at_davidglasser.net> wrote:
> On Mon, Oct 5, 2009 at 9:52 AM, Branko Čibej <brane_at_xbc.nu> wrote:
>> Daniel Shahaf wrote:
>>> Branko Cibej wrote on Mon, 5 Oct 2009 at 18:08 +0200:
>>> IIUC, the size of the DB is proportional to the number of (unique)
>>> representations.  This doesn't tell anything about the amount of space
>>> saved (by reusing representations).
>>>
>>
>> Oh, yes, you're right. Silly me.
>>
>> But anyway the question is irrelevant. If we manage to lock up the
>> server for tens of seconds because of a slightly larger-than-usual
>> commit, we need to fix it. This is pretty much on my plate right now,
>> but I'll ask around for help on understanding FSFS details.
>
> The relevance of the question is that if you're not actually getting a
> benefit from rep caching (a feature whose cost/benefit ratios I
> personally felt were not strong enough to warrant it being turned on
> by default), you could just avoid all the contention by not using it.

With help from Branko last night from IRC, pulled out the follow stats
from the ASF repository:
15,612,528 representations total [1]
4,254,361 unique representations in the sqlitedb [2]
(3.7x ratio)

other misc stats:
2352 average size of a compressed rep [3]
16043 average size of expanded rep [4]

[1] grep -a -r '^text:' $repos/db/revs | wc -l
[2] select count(*) from rep_cache;
[3] select AVG(size) from rep_cache;
[4] select AVG(expanded_size) from rep_cache;

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2404354
Received on 2009-10-07 04:10:52 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.