You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Phippard <ma...@gmail.com> on 2008/04/13 14:57:28 UTC
Sloooow BDB tests
When I run the test suite, I can run all four sets of the fsfs tests
in about an hour. But when I run them for BDB it takes 3 hours just
to run through one set. I am assuming others are not seeing this.
Any idea what I can look for to speed it up? I am using BDB from
MacPorts. I glanced through the tests.log file and things look mostly
normal. I did notice it is pretty slow to create a BDB repository.
For example, I get this when doing it myself:
$ time svnadmin create timing --fs-type=bdb
real 0m5.599s
user 0m0.018s
sys 0m0.104s
The test suite seemed to take about 4-5 seconds as well when doing
this. On the same system, this is what I get when creating an fsfs
repos.
$ time svnadmin create timing2 --fs-type=fsfs
real 0m0.042s
user 0m0.009s
sys 0m0.013s
I have not looked closely at my Windows setup, but I would say it
takes 2-3 times as long to run the BDB tests as the fsfs.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Sloooow BDB tests
Posted by "C. Michael Pilato" <cm...@collab.net>.
Mark Phippard wrote:
> On Sun, Apr 13, 2008 at 11:59 AM, Ben Collins-Sussman
> <su...@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 <cm...@collab.net>
CollabNet <> www.collab.net <> Distributed Development On Demand
Re: Sloooow BDB tests
Posted by Mark Phippard <ma...@gmail.com>.
On Sun, Apr 13, 2008 at 11:59 AM, Ben Collins-Sussman
<su...@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?
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Sloooow BDB tests
Posted by Ben Collins-Sussman <su...@red-bean.com>.
Isn't there a 'txn-nosync' option you can put in the bdb repository
db/settings file?
On Sun, Apr 13, 2008 at 9:57 AM, Mark Phippard <ma...@gmail.com> wrote:
> When I run the test suite, I can run all four sets of the fsfs tests
> in about an hour. But when I run them for BDB it takes 3 hours just
> to run through one set. I am assuming others are not seeing this.
> Any idea what I can look for to speed it up? I am using BDB from
> MacPorts. I glanced through the tests.log file and things look mostly
> normal. I did notice it is pretty slow to create a BDB repository.
> For example, I get this when doing it myself:
>
> $ time svnadmin create timing --fs-type=bdb
>
> real 0m5.599s
> user 0m0.018s
> sys 0m0.104s
>
> The test suite seemed to take about 4-5 seconds as well when doing
> this. On the same system, this is what I get when creating an fsfs
> repos.
>
> $ time svnadmin create timing2 --fs-type=fsfs
>
> real 0m0.042s
> user 0m0.009s
> sys 0m0.013s
>
> I have not looked closely at my Windows setup, but I would say it
> takes 2-3 times as long to run the BDB tests as the fsfs.
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org