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

Re: general server performance (was Re: apache svn server memory usage?)

From: Mukund <mukund_at_tessna.com>
Date: 2003-07-02 19:42:37 CEST

On Wed, Jul 02, 2003 at 06:10:12PM +0200, Branko Čibej wrote:
| Let's just make one thing clear here -- the fsync that happens at every
| BDB transaction commit has nothing to do with how many times you open
| the database. Keeping the DB open will help, yes, but it won't
| significantly decrease the number of fsyncs.

Hi Branko

Perhaps you have not understood what I had meant. You can disable the
fsync which happens at every transaction commit, using the DB_TXN_NOSYNC
option. But however, when you close the DB, the fsync still happens.

When the DB is opened and closed at every request, the whole point of
DB_TXN_NOSYNC is defeated, as you are literally syncing every small bunch of
transactions per request as they happen. In an active repository, this
keeps the disk constantly busy. Keeping an open connection pool
helps in this case.

I wonder if the sync at DB close can be disabled.

Mukund

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 2 19:44:20 2003

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.