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

Re: [PATCH]: Automatic log file removal

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-02-08 00:49:41 CET

Daniel, I applied this portion of your patch, thanks for investigating
this. If you ever feel like posting all your stats on various log
buffer sizes, that would be interesting, but we needn't wait for that.
The patch isn't likely to do any harm, and you reported improvement.

> Index: ./fs.c
> ===================================================================
> --- ./fs.c
> +++ ./fs.c Mon Feb 4 11:06:08 2002
> @@ -355,7 +393,11 @@
> from those participating in the deadlock. */
> SVN_ERR (DB_WRAP (fs, "setting deadlock detection policy",
> fs->env->set_lk_detect (fs->env, DB_LOCK_RANDOM)));
> -
> + /* For our purposes, 32k is too small of a log file buffer.
> + Kick it up to 256k to increase throughput. */
> + SVN_ERR (DB_WRAP (fs, "setting log file buffer size",
> + fs->env->set_lg_bsize (fs->env, 256 * 1024)));
> +
> return SVN_NO_ERROR;
> }

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:05 2006

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.