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

Re: BDB vs FSFS - OMG!

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 18 Feb 2013 11:25:50 +0000

Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com> writes:

> On Mon, Feb 18, 2013 at 11:04 AM, Philip Martin
> <philip.martin_at_wandisco.com>wrote:
>
>> Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com> writes:
>>
>> > Apache configuration (~1GB cache, mpm-worker):
>> >
>> > SVNInMemoryCacheSize 1000000
>> > SVNCacheFullTexts On
>> > SVNCacheTextDeltas On
>> > SVNCacheRevProps On
>> > SVNCompressionLevel 0
>>
>> I see no mention of tuning the BDB repository.
>
>
> Just scroll up by 3 lines ;)
>
> I set the BDB cache to 1GB as well but that did not have
> a measurable effect. Also tried 10MB in case that merely
> initializing a large cache comes at an extra cost (results
> did not change, though).

oops, sorry!

>> There are several things
>> you can tweak in db/DB_CONFIG including cache size, log size, number of
>> locks, etc? Cache size in particular needs to be set:
>>
>>
>> http://docs.oracle.com/cd/E17076_02/html/programmer_reference/general_am_conf.html#am_conf_cachesize
>>
> I did not change log & lock settings because I ran r/o
> operations only.

Subversion read operations on BDB repositories use BDB transactions.

My guess would be that Subversion's default locking limits are OK
because I'm assuming your test accesses the repository with one client
at a time.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-02-18 12:26:38 CET

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.