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

Re: Sloooow BDB tests

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Mon, 14 Apr 2008 09:50:51 -0400

Mark Phippard wrote:
> On Sun, Apr 13, 2008 at 11:59 AM, Ben Collins-Sussman
> <sussman_at_red-bean.com> wrote:
>> Isn't there a 'txn-nosync' option you can put in the bdb repository
>> db/settings file?
>
> I think the tests already pass these parameters when creating the
> repository. I recall seeing something like that in the logs.
>
> MacPorts says that it installs the AES version. Maybe the library
> initializes some ciphers or something when it loads?
>
> I am assuming you do not see timings like this when you do something with BDB?

I test with BDB all the time, and never see figures like this.

$ for fstype in fsfs bdb; do for i in 1 2 3; do rm -rf repos;
   echo "*** ${fstype} ***"; time svnadmin create --fs-type ${fstype} repos;
   done; done
*** fsfs ***

real 0m0.055s
user 0m0.016s
sys 0m0.004s
*** fsfs ***

real 0m0.018s
user 0m0.000s
sys 0m0.004s
*** fsfs ***

real 0m0.016s
user 0m0.004s
sys 0m0.008s
*** bdb ***

real 0m0.199s
user 0m0.012s
sys 0m0.004s
*** bdb ***

real 0m0.124s
user 0m0.020s
sys 0m0.008s
*** bdb ***

real 0m0.199s
user 0m0.016s
sys 0m0.008s
$

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2008-04-14 15:51:15 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.