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

Re: [RFC] Deprecate Berkelety DB filesystem backend

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 07 Jan 2013 10:40:28 +0000

Branko Čibej <brane_at_wandisco.com> writes:

> Interesting that i's that much slower on the Mac. But considering my
> numbers:
>
> * FSFS: real 7m33.213s, user 19m8.075s, sys 10m54.739s
> * BDB: real 35m17.766s, user 15m28.395s, sys 11m58.824s
>
> Notice that the sys and user times are comparable, yet real-time is an
> order of magnitude higher with BDB. Also, in the FSFS case, real time is
> actually lower than user or sys time, which makes sense for parallel
> tests. I interpret that as meaning that FSFS parallelizes (across
> different processes) better than BDB, and that BDB spends most of its
> time twiddling its thumbs waiting for I/O.

Given the Linux numbers the problem is OSX specific and not inherent to
BDB. Repository access in the testsuite is all single-thread and
single-process so any BDB locking should be trivial. If we don't drop
BDB then we shoud attempt to find out why BDB is slow on OSX.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-01-07 11:41:13 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.